Visit Mozilla.org

DOM:stylesheet.ownerRule

From MDC

« Gecko DOM Reference

Contents

[edit] Summary

If this style sheet comes from an @import rule, the ownerRule property will contain the CSSImportRule.

[edit] Syntax

rule = stylesheet.ownerRule 

[edit] Parameters

  • rule is a string containing the importing rule in the HTML or XML document.

[edit] Notes

Note that if the value of the ownerNode property on the current STYLE element is NULL, then then ownerRule returns the rule that !!TODO!!. And vice versa.

[edit] Specification

ownerRule