ICSSStyleSheet.OwnerRule
ICSSStyleSheet.OwnerRule property
The read-only CSSStyleSheet property ownerRule returns the CSSImportRule
corresponding to the @import 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.
public ICSSRule OwnerRule { get; }
Property Value
A CSSImportRule corresponding to the @import rule which imported the stylesheet into the document. If the stylesheet wasn’t imported into the document using @import, the returned value is null.
Remarks
CSSOM defines APIs (including generic parsing and serialization rules) for Media Queries, Selectors, and of course CSS itself.
Reference
CSS Working Group - The CSS Working Group is the W3C working group chartered to develop Cascading Style Sheets (CSS).CSS Object Model (CSSOM) - CSSOM defines APIs (including generic parsing and serialization rules) for Media Queries, Selectors, and of course CSS itself.CSS Object Model (CSSOM) # dom-cssstylesheet-ownerrule – The CSSOM definition.
See Also
- interface ICSSRule
- interface ICSSStyleSheet
- package com.aspose.html.Dom.Css
- package Aspose.HTML