package js.html
extended by CSSCharsetRule, CSSFontFaceRule, CSSImportRule, CSSMediaRule, CSSPageRule, CSSStyleRule, CSSUnknownRule
Available on jsThe
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:
cssText:String
read only parentRule:CSSRule
read only parentStyleSheet:CSSStyleSheet
read only type:Int
static inline read only CHARSET_RULE:Int = 2
static inline read only FONT_FACE_RULE:Int = 5
static inline read only IMPORT_RULE:Int = 3
static inline read only MEDIA_RULE:Int = 4
static inline read only PAGE_RULE:Int = 6
static inline read only STYLE_RULE:Int = 1
static inline read only UNKNOWN_RULE:Int = 0
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CSSRule.html