cssText property

String get cssText

The cssText property of the CSSRule interface returns the actual text of a CSSStyleSheet style-rule.

Note: Do not confuse this property with element-style CSSStyleDeclaration.cssText.

Be aware that this property can no longer be set directly, as it is now specified to be functionally modify-only, and silently so. In other words, attempting to set it does absolutely nothing, and doesn't even omit a warning or error. Furthermore, it has no settable sub-properties. Therefore, to modify it, use the stylesheet's CSSRuleList[index] properties CSSStyleRule.selectorText and CSSStyleRule.style (or its sub-properties). See Using dynamic styling information for details.

Implementation

external String get cssText;
set cssText (String value)

Implementation

external set cssText(String value);