chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.css

Package org.hildan.chrome.devtools.domains.css

Types

AddRuleRequest

Request object containing input parameters for the CSSDomain.addRule command.

data class AddRuleRequest

AddRuleResponse

Response type for the CSSDomain.addRule command.

data class AddRuleResponse

CollectClassNamesRequest

Request object containing input parameters for the CSSDomain.collectClassNames command.

data class CollectClassNamesRequest

CollectClassNamesResponse

Response type for the CSSDomain.collectClassNames command.

data class CollectClassNamesResponse

CreateStyleSheetRequest

Request object containing input parameters for the CSSDomain.createStyleSheet command.

data class CreateStyleSheetRequest

CreateStyleSheetResponse

Response type for the CSSDomain.createStyleSheet command.

data class CreateStyleSheetResponse

CSSComputedStyleProperty

data class CSSComputedStyleProperty

CSSDomain

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 specific id structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the get*ForNode() calls (which accept a DOM node id). A client can also keep track of stylesheets via the styleSheetAdded/styleSheetRemoved events and subsequently load the required stylesheet contents using the getStyleSheet[Text]() methods.

class CSSDomain

CSSKeyframeRule

CSS keyframe rule representation.

data class CSSKeyframeRule

CSSKeyframesRule

CSS keyframes rule representation.

data class CSSKeyframesRule

CSSMedia

CSS media rule descriptor.

data class CSSMedia

CSSProperty

CSS property declaration data.

data class CSSProperty

CSSRule

CSS rule representation.

data class CSSRule

CSSStyle

CSS style representation.

data class CSSStyle

CSSStyleSheetHeader

CSS stylesheet metainformation.

data class CSSStyleSheetHeader

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.

data class FontFace

FontVariationAxis

Information about font variation axes for variable fonts

data class FontVariationAxis

ForcePseudoStateRequest

Request object containing input parameters for the CSSDomain.forcePseudoState command.

data class ForcePseudoStateRequest

GetBackgroundColorsRequest

Request object containing input parameters for the CSSDomain.getBackgroundColors command.

data class GetBackgroundColorsRequest

GetBackgroundColorsResponse

Response type for the CSSDomain.getBackgroundColors command.

data class GetBackgroundColorsResponse

GetComputedStyleForNodeRequest

Request object containing input parameters for the CSSDomain.getComputedStyleForNode command.

data class GetComputedStyleForNodeRequest

GetComputedStyleForNodeResponse

Response type for the CSSDomain.getComputedStyleForNode command.

data class GetComputedStyleForNodeResponse

GetInlineStylesForNodeRequest

Request object containing input parameters for the CSSDomain.getInlineStylesForNode command.

data class GetInlineStylesForNodeRequest

GetInlineStylesForNodeResponse

Response type for the CSSDomain.getInlineStylesForNode command.

data class GetInlineStylesForNodeResponse

GetMatchedStylesForNodeRequest

Request object containing input parameters for the CSSDomain.getMatchedStylesForNode command.

data class GetMatchedStylesForNodeRequest

GetMatchedStylesForNodeResponse

Response type for the CSSDomain.getMatchedStylesForNode command.

data class GetMatchedStylesForNodeResponse

GetMediaQueriesResponse

Response type for the CSSDomain.getMediaQueries command.

data class GetMediaQueriesResponse

GetPlatformFontsForNodeRequest

Request object containing input parameters for the CSSDomain.getPlatformFontsForNode command.

data class GetPlatformFontsForNodeRequest

GetPlatformFontsForNodeResponse

Response type for the CSSDomain.getPlatformFontsForNode command.

data class GetPlatformFontsForNodeResponse

GetStyleSheetTextRequest

Request object containing input parameters for the CSSDomain.getStyleSheetText command.

data class GetStyleSheetTextRequest

GetStyleSheetTextResponse

Response type for the CSSDomain.getStyleSheetText command.

data class GetStyleSheetTextResponse

InheritedStyleEntry

Inherited CSS rule collection from ancestor node.

data class InheritedStyleEntry

MediaQuery

Media query descriptor.

data class MediaQuery

MediaQueryExpression

Media query expression descriptor.

data class MediaQueryExpression

PlatformFontUsage

Information about amount of glyphs that were rendered with given font.

data class PlatformFontUsage

PseudoElementMatches

CSS rule collection for a single pseudo style.

data class PseudoElementMatches

RuleMatch

Match data for a CSS rule.

data class RuleMatch

RuleUsage

CSS coverage information.

data class RuleUsage

SelectorList

Selector list data.

data class SelectorList

SetEffectivePropertyValueForNodeRequest

Request object containing input parameters for the CSSDomain.setEffectivePropertyValueForNode command.

data class SetEffectivePropertyValueForNodeRequest

SetKeyframeKeyRequest

Request object containing input parameters for the CSSDomain.setKeyframeKey command.

data class SetKeyframeKeyRequest

SetKeyframeKeyResponse

Response type for the CSSDomain.setKeyframeKey command.

data class SetKeyframeKeyResponse

SetLocalFontsEnabledRequest

Request object containing input parameters for the CSSDomain.setLocalFontsEnabled command.

data class SetLocalFontsEnabledRequest

SetMediaTextRequest

Request object containing input parameters for the CSSDomain.setMediaText command.

data class SetMediaTextRequest

SetMediaTextResponse

Response type for the CSSDomain.setMediaText command.

data class SetMediaTextResponse

SetRuleSelectorRequest

Request object containing input parameters for the CSSDomain.setRuleSelector command.

data class SetRuleSelectorRequest

SetRuleSelectorResponse

Response type for the CSSDomain.setRuleSelector command.

data class SetRuleSelectorResponse

SetStyleSheetTextRequest

Request object containing input parameters for the CSSDomain.setStyleSheetText command.

data class SetStyleSheetTextRequest

SetStyleSheetTextResponse

Response type for the CSSDomain.setStyleSheetText command.

data class SetStyleSheetTextResponse

SetStyleTextsRequest

Request object containing input parameters for the CSSDomain.setStyleTexts command.

data class SetStyleTextsRequest

SetStyleTextsResponse

Response type for the CSSDomain.setStyleTexts command.

data class SetStyleTextsResponse

ShorthandEntry

data class ShorthandEntry

SourceRange

Text range within a resource. All numbers are zero-based.

data class SourceRange

StopRuleUsageTrackingResponse

Response type for the CSSDomain.stopRuleUsageTracking command.

data class StopRuleUsageTrackingResponse

StyleDeclarationEdit

A descriptor of operation to mutate style declaration text.

data class StyleDeclarationEdit

StyleSheetId

typealias StyleSheetId = String

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.

enum class StyleSheetOrigin

TakeComputedStyleUpdatesResponse

Response type for the CSSDomain.takeComputedStyleUpdates command.

data class TakeComputedStyleUpdatesResponse

TakeCoverageDeltaResponse

Response type for the CSSDomain.takeCoverageDelta command.

data class TakeCoverageDeltaResponse

TrackComputedStyleUpdatesRequest

Request object containing input parameters for the CSSDomain.trackComputedStyleUpdates command.

data class TrackComputedStyleUpdatesRequest

Value

Data for a simple selector (these are delimited by commas in a selector list).

data class Value