cssom_1 library Null safety

CSS Object Model (CSSOM)

https://drafts.csswg.org/cssom/

Classes

Css
The interface holds useful CSS-related methods. No objects with this interface are implemented: it contains only static methods and is therefore a utilitarian interface.
CSSGroupingRule
The interface of the CSS Object Model represents any CSS at-rule that contains other rules nested within it.
CSSImportRule
The interface represents an @import at-rule.
CSSMarginRule
CSSNamespaceRule
The interface describes an object representing a single CSS @namespace at-rule.
CSSPageRule
represents a single CSS @page rule.
CSSRule
The interface represents a single CSS rule. There are several types of rules which inherit properties from .
CSSRuleList
A represents an ordered collection of read-only CSSRule objects. While the object is read-only, and cannot be directly modified, it is considered a live object, as the content can change over time. To edit the underlying rules returned by CSSRule objects, use CSSStyleSheet.insertRule() and CSSStyleSheet.deleteRule(), which are methods of CSSStyleSheet. The interface has no constructor. An instance of is returned by CSSStyleSheet.cssRules and CSSKeyframesRule.cssRules.
CSSStyleDeclaration
The interface represents an object that is a CSS declaration block, and exposes style information and various style-related methods and properties. A object can be exposed using three different APIs:
CSSStyleRule
The interface represents a single CSS style rule.
CSSStyleSheet
The interface represents a single CSS stylesheet, and lets you inspect and modify the list of rules contained in the stylesheet. It inherits properties and methods from its parent, StyleSheet.
CSSStyleSheetInit
ElementCSSInlineStyle
LinkStyle
MediaList
The interface represents the media queries of a stylesheet, e.g. those set using a <link> element's media attribute.
StyleSheet
An object implementing the interface represents a single style sheet. CSS style sheets will further implement the more specialized CSSStyleSheet interface.
StyleSheetList
The interface represents a list of CSSStyleSheet objects. An instance of this object can be returned by Document.styleSheets. It is an array-like object but can't be iterated over using Array methods. However it can be iterated over in a standard for loop over its indices, or converted to an Array.

Extensions

PropsCss
PropsCSSGroupingRule
PropsCSSImportRule
PropsCSSMarginRule
PropsCSSNamespaceRule
PropsCSSPageRule
PropsCSSRule
PropsCSSRuleList
PropsCSSStyleDeclaration
PropsCSSStyleRule
PropsCSSStyleSheet
PropsCSSStyleSheetInit
PropsElementCSSInlineStyle
PropsLinkStyle
PropsMediaList
PropsStyleSheet
PropsStyleSheetList