CSSMediaRule (open)
Syntax
LOADLIB "wh::filetypes/css.whlib";
OBJECTTYPE CSSMediaRule
Constructor
Variables
- RECORD ARRAY pvt_prelude (inherited from CSSRule)
List of the prelude tokens
Properties
- PROPERTY CHARSET_RULE (inherited from CSSRule)
- 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
The media attribute must return a MediaList object for the list of media queries specified with the @media rule.
- 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
- 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)