CSSStyleRule (open)
The CSSStyleRule interface represents a style rule. Spec: https://www.w3.org/TR/cssom/#the-cssstylerule-interface
Syntax
LOADLIB "wh::filetypes/css.whlib";
OBJECTTYPE CSSStyleRule
Constructor
Variables
- RECORD ARRAY pvt_prelude (inherited from CSSRule)
List of the prelude tokens
Properties
- PROPERTY CHARSET_RULE (inherited from CSSRule)
- PROPERTY csstext (inherited from CSSRule)
- PROPERTY FONT_FACE_RULE (inherited from CSSRule)
- PROPERTY IMPORT_RULE (inherited from CSSRule)
- PROPERTY MARGIN_RULE (inherited from CSSRule)
- PROPERTY MEDIA_RULE (inherited from CSSRule)
- PROPERTY NAMESPACE_RULE (inherited from CSSRule)
- PROPERTY PAGE_RULE (inherited from CSSRule)
- PROPERTY selectorText
The selectorText attribute, on getting, must return the result of serializing the associated group of selectors. Upon setting, parse the selector
- PROPERTY selectorTextWithComments
- PROPERTY style
The style attribute returns a CSSStyleDeclaration object for the style rule
- PROPERTY STYLE_RULE (inherited from CSSRule)
- PROPERTY type
Type: 1 (STYLE_RULE)
- PROPERTY UNKNOWN_RULE (inherited from CSSRule)