- All Superinterfaces:
CSSImportRule
,CSSRule
,CSSRule
Import rule. @see
The
CSSImportRule
Interface.-
Field Summary
Fields inherited from interface org.w3c.css.om.CSSRule
COUNTER_STYLE_RULE, CUSTOM_MEDIA_RULE, DOCUMENT_RULE, FONT_FACE_RULE, FONT_FEATURE_VALUES_RULE, IMPORT_RULE, KEYFRAME_RULE, KEYFRAMES_RULE, MARGIN_RULE, MEDIA_RULE, NAMESPACE_RULE, NESTED_DECLARATIONS, PAGE_RULE, PROPERTY_RULE, REGION_STYLE_RULE, STYLE_RULE, SUPPORTS_RULE, UNKNOWN_RULE, VIEWPORT_RULE
Fields inherited from interface org.w3c.dom.css.CSSRule
CHARSET_RULE, FONT_FACE_RULE, IMPORT_RULE, MEDIA_RULE, PAGE_RULE, STYLE_RULE, UNKNOWN_RULE
-
Method Summary
Modifier and TypeMethodDescriptionThe layer name declared in the @-rule.The serialization of the<supports-condition>
declared in the @-rule.Methods inherited from interface org.w3c.dom.css.CSSImportRule
getHref, getMedia, getStyleSheet
Methods inherited from interface org.w3c.css.om.CSSRule
getParentRule, getParentStyleSheet
Methods inherited from interface org.w3c.dom.css.CSSRule
getCssText, getType, setCssText
-
Method Details
-
getLayerName
String getLayerName()The layer name declared in the @-rule.- Returns:
- the layer name, or the empty string if the layer is anonymous, or
null
if the at-rule does not declare a layer.
-
getSupportsText
String getSupportsText()The serialization of the<supports-condition>
declared in the @-rule.- Returns:
- the supports condition declared in the rule, or
null
if the rule does not declare a supports condition.
-