W3cubDocs

/Haxe JavaScript

CSSRule

package js.html

extended by CSSCounterStyleRule, CSSFontFaceRule, CSSFontFeatureValuesRule, CSSGroupingRule, CSSImportRule, CSSKeyframeRule, CSSKeyframesRule, CSSNamespaceRule, CSSPageRule, CSSStyleRule

Available on js

The CSSRule interface represents a single CSS rule. There are several types of rules, listed in the Type constants section below.

Documentation CSSRule by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Static variables

staticinlineread onlyCHARSET_RULE:Int = 2

staticinlineread onlyCOUNTER_STYLE_RULE:Int = 11

staticinlineread onlyFONT_FACE_RULE:Int = 5

staticinlineread onlyFONT_FEATURE_VALUES_RULE:Int = 14

staticinlineread onlyIMPORT_RULE:Int = 3

staticinlineread onlyKEYFRAMES_RULE:Int = 7

staticinlineread onlyKEYFRAME_RULE:Int = 8

staticinlineread onlyMEDIA_RULE:Int = 4

staticinlineread onlyNAMESPACE_RULE:Int = 10

staticinlineread onlyPAGE_RULE:Int = 6

staticinlineread onlySTYLE_RULE:Int = 1

staticinlineread onlySUPPORTS_RULE:Int = 12

Variables

cssText:String

read onlyparentRule:CSSRule

read onlyparentStyleSheet:CSSStyleSheet

read onlytype:Int

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CSSRule.html