CSSConditionRule (open)
CSSConditionRule: abstract class. See: https://drafts.csswg.org/css-conditional-3/#cssconditionrule
Syntax
LOADLIB "wh::filetypes/css.whlib";
OBJECTTYPE CSSConditionRule
Constructor
- MACRO NEW() (inherited from CSSGroupingRule)
Variables
- RECORD ARRAY pvt_prelude (inherited from CSSRule)
List of the prelude tokens
Properties
- PROPERTY CHARSET_RULE (inherited from CSSRule)
- PROPERTY conditionText
The conditionText attribute represents the condition of the rule. Since what this condition does varies between the derived interfaces of CSSConditionRule, those derived interfaces may specify different behavior for this attribute (see, for example, CSSMediaRule below).
- PROPERTY cssRules (inherited from CSSGroupingRule)
- 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 STYLE_RULE (inherited from CSSRule)
- PROPERTY type (inherited from CSSRule)
- PROPERTY UNKNOWN_RULE (inherited from CSSRule)
Functions
- MACRO DeleteRule(INTEGER idx) (inherited from CSSGroupingRule)
Delete a rule at the specified index
- STRING ARRAY FUNCTION ExtractURLs() (inherited from CSSGroupingRule)
- MACRO InsertRule(OBJECT rule, INTEGER idx) (inherited from CSSGroupingRule)
Insert a rule at the specified index
- MACRO RewriteToScope(STRING scope, STRING htmlclass, STRING bodyclass) (inherited from CSSGroupingRule)
- MACRO RewriteURLs(FUNCTION PTR rewriter, RECORD options) (inherited from CSSGroupingRule)