protocol/css library
Classes
- CSSApi
-
This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles)
have an associated
id
used in subsequent operations on the related object. Each object type has a specificid
structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using theget*ForNode()
calls (which accept a DOM node id). A client can also keep track of stylesheets via thestyleSheetAdded
/styleSheetRemoved
events and subsequently load the required stylesheet contents using thegetStyleSheet[Text]()
methods. - CSSComputedStyleProperty
- CSSContainerQuery
- CSS container query rule descriptor.
- CSSKeyframeRule
- CSS keyframe rule representation.
- CSSKeyframesRule
- CSS keyframes rule representation.
- CSSLayer
- CSS Layer at-rule descriptor.
- CSSLayerData
- CSS Layer data.
- CSSMedia
- CSS media rule descriptor.
- CSSProperty
- CSS property declaration data.
- CSSRule
- CSS rule representation.
- CSSScope
- CSS Scope at-rule descriptor.
- CSSStyle
- CSS style representation.
- CSSStyleSheetHeader
- CSS stylesheet metainformation.
- CSSSupports
- CSS Supports at-rule descriptor.
- FontFace
- Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions and additional information such as platformFontFamily and fontVariationAxes.
- FontVariationAxis
- Information about font variation axes for variable fonts
- GetBackgroundColorsResult
- GetInlineStylesForNodeResult
- GetMatchedStylesForNodeResult
- InheritedPseudoElementMatches
- Inherited pseudo element matches from pseudos of an ancestor node.
- InheritedStyleEntry
- Inherited CSS rule collection from ancestor node.
- MediaQuery
- Media query descriptor.
- MediaQueryExpression
- Media query expression descriptor.
- PlatformFontUsage
- Information about amount of glyphs that were rendered with given font.
- PseudoElementMatches
- CSS rule collection for a single pseudo style.
- RuleMatch
- Match data for a CSS rule.
- RuleUsage
- CSS coverage information.
- SelectorList
- Selector list data.
- ShorthandEntry
- SourceRange
- Text range within a resource. All numbers are zero-based.
- StyleDeclarationEdit
- A descriptor of operation to mutate style declaration text.
- StyleSheetId
- TakeCoverageDeltaResult
- Value
- Data for a simple selector (these are delimited by commas in a selector list).
Enums
- CSSMediaSource
- StyleSheetOrigin
- Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via inspector" rules), "regular" for regular stylesheets.