ownerRule property

CSSRule? get ownerRule

The read-only CSSStyleSheet property ownerRule returns the CSSImportRule corresponding to the at-rule which imported the stylesheet into the document. If the stylesheet wasn't imported into the document using @import, the returned value is null.

Implementation

external CSSRule? get ownerRule;