TOC PREV NEXT INDEX

Put your logo here!


parentStyleSheet


Returns the stylesheet that is including this one, if any.

Syntax

parent = stylesheet.parentStyleSheet 

Parameters

parent is an object reference

Example

// find the top level stylesheet 
if (stylesheet.parentStyleSheet) { 
  sheet = stylesheet.parentStyleSheet; 
} else { sheet = stylesheet; } 

Notes

This property returns NULL is the current stylesheet is a top-level stylesheet or if stylesheeet inclusion is not supported.

Specification

stylesheets


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX