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.
- CSSFontPaletteValuesRule
- CSS font-palette-values rule representation.
- 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.
- CSSPositionTryRule
- CSS @position-try rule representation.
- CSSProperty
- CSS property declaration data.
- CSSPropertyRegistration
- Representation of a custom property registration through CSS.registerProperty
- CSSPropertyRule
- CSS property at-rule representation.
- CSSRule
- CSS rule representation.
- CSSScope
- CSS Scope at-rule descriptor.
- CSSStyle
- CSS style representation.
- CSSStyleSheetHeader
- CSS stylesheet metainformation.
- CSSSupports
- CSS Supports at-rule descriptor.
- CSSTryRule
- CSS try rule representation.
- 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.
- Specificity
- Specificity: https://drafts.csswg.org/selectors/#specificity-rules
- StyleDeclarationEdit
- A descriptor of operation to mutate style declaration text.
- TakeCoverageDeltaResult
- Value
- Data for a simple selector (these are delimited by commas in a selector list).
Enums
- CSSMediaSource
- CSSRuleType
- Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors. This list only contains rule types that are collected during the ancestor rule collection.
- 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.