# Functions
NewAddRuleArgs initializes AddRuleArgs with the required arguments.
NewClient returns a client for the CSS domain with the connection set to conn.
NewCollectClassNamesArgs initializes CollectClassNamesArgs with the required arguments.
NewCreateStyleSheetArgs initializes CreateStyleSheetArgs with the required arguments.
NewForcePseudoStateArgs initializes ForcePseudoStateArgs with the required arguments.
NewGetBackgroundColorsArgs initializes GetBackgroundColorsArgs with the required arguments.
NewGetComputedStyleForNodeArgs initializes GetComputedStyleForNodeArgs with the required arguments.
NewGetInlineStylesForNodeArgs initializes GetInlineStylesForNodeArgs with the required arguments.
NewGetLayersForNodeArgs initializes GetLayersForNodeArgs with the required arguments.
NewGetLocationForSelectorArgs initializes GetLocationForSelectorArgs with the required arguments.
NewGetMatchedStylesForNodeArgs initializes GetMatchedStylesForNodeArgs with the required arguments.
NewGetPlatformFontsForNodeArgs initializes GetPlatformFontsForNodeArgs with the required arguments.
NewGetStyleSheetTextArgs initializes GetStyleSheetTextArgs with the required arguments.
NewSetContainerQueryTextArgs initializes SetContainerQueryTextArgs with the required arguments.
NewSetEffectivePropertyValueForNodeArgs initializes SetEffectivePropertyValueForNodeArgs with the required arguments.
NewSetKeyframeKeyArgs initializes SetKeyframeKeyArgs with the required arguments.
NewSetLocalFontsEnabledArgs initializes SetLocalFontsEnabledArgs with the required arguments.
NewSetMediaTextArgs initializes SetMediaTextArgs with the required arguments.
NewSetPropertyRulePropertyNameArgs initializes SetPropertyRulePropertyNameArgs with the required arguments.
NewSetRuleSelectorArgs initializes SetRuleSelectorArgs with the required arguments.
NewSetScopeTextArgs initializes SetScopeTextArgs with the required arguments.
NewSetStyleSheetTextArgs initializes SetStyleSheetTextArgs with the required arguments.
NewSetStyleTextsArgs initializes SetStyleTextsArgs with the required arguments.
NewSetSupportsTextArgs initializes SetSupportsTextArgs with the required arguments.
NewTrackComputedStyleUpdatesArgs initializes TrackComputedStyleUpdatesArgs with the required arguments.
# Constants
RuleType as enums.
RuleType as enums.
RuleType as enums.
RuleType as enums.
RuleType as enums.
RuleType as enums.
RuleType as enums.
StyleSheetOrigin as enums.
StyleSheetOrigin as enums.
StyleSheetOrigin as enums.
StyleSheetOrigin as enums.
StyleSheetOrigin as enums.
# Structs
AddRuleArgs represents the arguments for AddRule in the CSS domain.
AddRuleReply represents the return values for AddRule in the CSS domain.
CollectClassNamesArgs represents the arguments for CollectClassNames in the CSS domain.
CollectClassNamesReply represents the return values for CollectClassNames in the CSS domain.
ComputedStyleProperty.
ContainerQuery CSS container query rule descriptor.
CreateStyleSheetArgs represents the arguments for CreateStyleSheet in the CSS domain.
CreateStyleSheetReply represents the return values for CreateStyleSheet in the CSS domain.
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.
FontPaletteValuesRule CSS font-palette-values rule representation.
FontsUpdatedReply is the reply for FontsUpdated events.
FontVariationAxis Information about font variation axes for variable fonts.
ForcePseudoStateArgs represents the arguments for ForcePseudoState in the CSS domain.
GetBackgroundColorsArgs represents the arguments for GetBackgroundColors in the CSS domain.
GetBackgroundColorsReply represents the return values for GetBackgroundColors in the CSS domain.
GetComputedStyleForNodeArgs represents the arguments for GetComputedStyleForNode in the CSS domain.
GetComputedStyleForNodeReply represents the return values for GetComputedStyleForNode in the CSS domain.
GetInlineStylesForNodeArgs represents the arguments for GetInlineStylesForNode in the CSS domain.
GetInlineStylesForNodeReply represents the return values for GetInlineStylesForNode in the CSS domain.
GetLayersForNodeArgs represents the arguments for GetLayersForNode in the CSS domain.
GetLayersForNodeReply represents the return values for GetLayersForNode in the CSS domain.
GetLocationForSelectorArgs represents the arguments for GetLocationForSelector in the CSS domain.
GetLocationForSelectorReply represents the return values for GetLocationForSelector in the CSS domain.
GetMatchedStylesForNodeArgs represents the arguments for GetMatchedStylesForNode in the CSS domain.
GetMatchedStylesForNodeReply represents the return values for GetMatchedStylesForNode in the CSS domain.
GetMediaQueriesReply represents the return values for GetMediaQueries in the CSS domain.
GetPlatformFontsForNodeArgs represents the arguments for GetPlatformFontsForNode in the CSS domain.
GetPlatformFontsForNodeReply represents the return values for GetPlatformFontsForNode in the CSS domain.
GetStyleSheetTextArgs represents the arguments for GetStyleSheetText in the CSS domain.
GetStyleSheetTextReply represents the return values for GetStyleSheetText in the CSS domain.
InheritedPseudoElementMatches Inherited pseudo element matches from pseudos of an ancestor node.
InheritedStyleEntry Inherited CSS rule collection from ancestor node.
KeyframeRule CSS keyframe rule representation.
KeyframesRule CSS keyframes rule representation.
Layer CSS Layer at-rule descriptor.
LayerData CSS Layer data.
Media CSS media rule descriptor.
MediaQuery Media query descriptor.
MediaQueryExpression Media query expression descriptor.
MediaQueryResultChangedReply is the reply for MediaQueryResultChanged events.
PlatformFontUsage Information about amount of glyphs that were rendered with given font.
PositionTryRule CSS @position-try rule representation.
Property CSS property declaration data.
PropertyRegistration Representation of a custom property registration through CSS.registerProperty.
PropertyRule CSS property at-rule representation.
PseudoElementMatches CSS rule collection for a single pseudo style.
Rule CSS rule representation.
RuleMatch Match data for a CSS rule.
RuleUsage CSS coverage information.
Scope CSS Scope at-rule descriptor.
SelectorList Selector list data.
SetContainerQueryTextArgs represents the arguments for SetContainerQueryText in the CSS domain.
SetContainerQueryTextReply represents the return values for SetContainerQueryText in the CSS domain.
SetEffectivePropertyValueForNodeArgs represents the arguments for SetEffectivePropertyValueForNode in the CSS domain.
SetKeyframeKeyArgs represents the arguments for SetKeyframeKey in the CSS domain.
SetKeyframeKeyReply represents the return values for SetKeyframeKey in the CSS domain.
SetLocalFontsEnabledArgs represents the arguments for SetLocalFontsEnabled in the CSS domain.
SetMediaTextArgs represents the arguments for SetMediaText in the CSS domain.
SetMediaTextReply represents the return values for SetMediaText in the CSS domain.
SetPropertyRulePropertyNameArgs represents the arguments for SetPropertyRulePropertyName in the CSS domain.
SetPropertyRulePropertyNameReply represents the return values for SetPropertyRulePropertyName in the CSS domain.
SetRuleSelectorArgs represents the arguments for SetRuleSelector in the CSS domain.
SetRuleSelectorReply represents the return values for SetRuleSelector in the CSS domain.
SetScopeTextArgs represents the arguments for SetScopeText in the CSS domain.
SetScopeTextReply represents the return values for SetScopeText in the CSS domain.
SetStyleSheetTextArgs represents the arguments for SetStyleSheetText in the CSS domain.
SetStyleSheetTextReply represents the return values for SetStyleSheetText in the CSS domain.
SetStyleTextsArgs represents the arguments for SetStyleTexts in the CSS domain.
SetStyleTextsReply represents the return values for SetStyleTexts in the CSS domain.
SetSupportsTextArgs represents the arguments for SetSupportsText in the CSS domain.
SetSupportsTextReply represents the return values for SetSupportsText in the CSS domain.
ShorthandEntry.
SourceRange Text range within a resource.
Specificity Specificity: https://drafts.csswg.org/selectors/#specificity-rules
Note: This type is experimental.
StopRuleUsageTrackingReply represents the return values for StopRuleUsageTracking in the CSS domain.
Style CSS style representation.
StyleDeclarationEdit A descriptor of operation to mutate style declaration text.
StyleSheetAddedReply is the reply for StyleSheetAdded events.
StyleSheetChangedReply is the reply for StyleSheetChanged events.
StyleSheetHeader CSS stylesheet metainformation.
StyleSheetRemovedReply is the reply for StyleSheetRemoved events.
Supports CSS Supports at-rule descriptor.
TakeComputedStyleUpdatesReply represents the return values for TakeComputedStyleUpdates in the CSS domain.
TakeCoverageDeltaReply represents the return values for TakeCoverageDelta in the CSS domain.
TrackComputedStyleUpdatesArgs represents the arguments for TrackComputedStyleUpdates in the CSS domain.
TryRule CSS try rule representation.
Value Data for a simple selector (these are delimited by commas in a selector list).
# Interfaces
FontsUpdatedClient is a client for FontsUpdated events.
MediaQueryResultChangedClient is a client for MediaQueryResultChanged events.
StyleSheetAddedClient is a client for StyleSheetAdded events.
StyleSheetChangedClient is a client for StyleSheetChanged events.
StyleSheetRemovedClient is a client for StyleSheetRemoved events.
# Type aliases
RuleType Enum indicating the type of a CSS rule, used to represent the order of a style rule's ancestors.
StyleSheetID.
StyleSheetOrigin Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent stylesheets, "inspector" for stylesheets created by the inspector (i.e.