cssom_1 library Null safety

CSS Object Model (CSSOM)

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

Classes

CSS
The CSS 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 is an (indirect-modify only) array-like object containing an ordered collection of CSSRule objects.
CSSStyleDeclaration
The interface represents an object that is a CSS declaration block, and exposes style information and various style-related methods and properties. [...]
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. [...]
MediaList
The MediaList interface represents the media queries of a stylesheet, e.g. those set using a <link> element's media attribute. Note: is a live list; updating the list using properties or methods listed below will immediately update the behavior of the document.
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 StyleSheet. [...]

Mixins

ElementCSSInlineStyle
The mixin describes CSSOM-specific features common to the HTMLElement, SVGElement and MathMLElement interfaces. Each of these interfaces can, of course, add more features in addition to the ones listed below. Note: is a mixin and not an interface; you can't actually create an object of type .
LinkStyle
The LinkStyle interface provides access to the associated CSS style sheet of a node. [...]