Crate css_ast

Source

Re-exports§

pub use visit::*;

Modules§

declaration_metadata
visit

Macros§

apply_visit_methods

Structs§

AccentColorStyleValue
Represents the style value for accent-color as defined in css-ui-4.
AnchorName
https://drafts.csswg.org/css-anchor-position-1/#typedef-anchor-name
AnchorNameStyleValue
Represents the style value for anchor-name as defined in css-anchor-position-2.
AnimationCompositionStyleValue
Represents the style value for animation-composition as defined in css-animations-2.
AnimationDelayStyleValue
Represents the style value for animation-delay as defined in css-animations-2.
AnimationDirectionStyleValue
Represents the style value for animation-direction as defined in css-animations-2.
AnimationDurationStyleValue
Represents the style value for animation-duration as defined in css-animations-2.
AnimationFillModeStyleValue
Represents the style value for animation-fill-mode as defined in css-animations-2.
AnimationIterationCountStyleValue
Represents the style value for animation-iteration-count as defined in css-animations-2.
AnimationNameStyleValue
Represents the style value for animation-name as defined in css-animations-2.
AnimationPlayStateStyleValue
Represents the style value for animation-play-state as defined in css-animations-2.
AnimationTimelineStyleValue
Represents the style value for animation-timeline as defined in css-animations-2.
AnimationTimingFunctionStyleValue
Represents the style value for animation-timing-function as defined in css-animations-2.
AnimationTriggerStyleValue
Represents the style value for animation-trigger as defined in css-animations-2.
AppliesTo
The type of element or container this style value applies to.
AspectRatioStyleValue
Represents the style value for aspect-ratio as defined in css-sizing-4.
AtRuleId
AttrFunction
https://drafts.csswg.org/css-values-5/#attr-notation
AttrFunctionParams
AttrName
Attribute
AutoLineWidthList
https://drafts.csswg.org/css-gaps-1/#typedef-auto-line-width-list
BackgroundAttachmentStyleValue
Represents the style value for background-attachment as defined in css-backgrounds-4.
BackgroundClipStyleValue
Represents the style value for background-clip as defined in css-backgrounds-4.
BackgroundColorStyleValue
Represents the style value for background-color as defined in css-backgrounds-4.
BackgroundImageStyleValue
Represents the style value for background-image as defined in css-backgrounds-4.
BackgroundOriginStyleValue
Represents the style value for background-origin as defined in css-backgrounds-4.
BackgroundRepeatBlockStyleValue
Represents the style value for background-repeat-block as defined in css-backgrounds-4.
BackgroundRepeatInlineStyleValue
Represents the style value for background-repeat-inline as defined in css-backgrounds-4.
BackgroundRepeatStyleValue
Represents the style value for background-repeat as defined in css-backgrounds-4.
BackgroundRepeatXStyleValue
Represents the style value for background-repeat-x as defined in css-backgrounds-4.
BackgroundRepeatYStyleValue
Represents the style value for background-repeat-y as defined in css-backgrounds-4.
BackgroundSizeStyleValue
Represents the style value for background-size as defined in css-backgrounds-4.
BlockSizeStyleValue
Represents the style value for block-size as defined in css-logical-1.
BlockStepSizeStyleValue
Represents the style value for block-step-size as defined in css-rhythm-1.
BlockStepStyleValue
Represents the style value for block-step as defined in css-rhythm-1.
BookmarkLabelStyleValue
Represents the style value for bookmark-label as defined in css-content-3.
BookmarkLevelStyleValue
Represents the style value for bookmark-level as defined in css-content-3.
BorderBlockColorStyleValue
Represents the style value for border-block-color as defined in css-borders-4.
BorderBlockEndStyleStyleValue
Represents the style value for border-block-end-style as defined in css-borders-4.
BorderBlockEndStyleValue
Represents the style value for border-block-end as defined in css-borders-4.
BorderBlockEndWidthStyleValue
Represents the style value for border-block-end-width as defined in css-borders-4.
BorderBlockStartStyleStyleValue
Represents the style value for border-block-start-style as defined in css-borders-4.
BorderBlockStartStyleValue
Represents the style value for border-block-start as defined in css-borders-4.
BorderBlockStartWidthStyleValue
Represents the style value for border-block-start-width as defined in css-borders-4.
BorderBlockStyleStyleValue
Represents the style value for border-block-style as defined in css-borders-4.
BorderBlockStyleValue
Represents the style value for border-block as defined in css-borders-4.
BorderBlockWidthStyleValue
Represents the style value for border-block-width as defined in css-borders-4.
BorderBottomLeftRadiusStyleValue
Represents the style value for border-bottom-left-radius as defined in css-borders-4.
BorderBottomRightRadiusStyleValue
Represents the style value for border-bottom-right-radius as defined in css-borders-4.
BorderBottomStyleStyleValue
Represents the style value for border-bottom-style as defined in css-borders-4.
BorderBottomStyleValue
Represents the style value for border-bottom as defined in css-borders-4.
BorderBottomWidthStyleValue
Represents the style value for border-bottom-width as defined in css-borders-4.
BorderEndEndRadiusStyleValue
Represents the style value for border-end-end-radius as defined in css-borders-4.
BorderEndStartRadiusStyleValue
Represents the style value for border-end-start-radius as defined in css-borders-4.
BorderImageOutsetStyleValue
Represents the style value for border-image-outset as defined in css-borders-4.
BorderImageRepeatStyleValue
Represents the style value for border-image-repeat as defined in css-borders-4.
BorderImageSourceStyleValue
Represents the style value for border-image-source as defined in css-borders-4.
BorderInlineColorStyleValue
Represents the style value for border-inline-color as defined in css-borders-4.
BorderInlineEndStyleStyleValue
Represents the style value for border-inline-end-style as defined in css-borders-4.
BorderInlineEndStyleValue
Represents the style value for border-inline-end as defined in css-borders-4.
BorderInlineEndWidthStyleValue
Represents the style value for border-inline-end-width as defined in css-borders-4.
BorderInlineStartStyleStyleValue
Represents the style value for border-inline-start-style as defined in css-borders-4.
BorderInlineStartStyleValue
Represents the style value for border-inline-start as defined in css-borders-4.
BorderInlineStartWidthStyleValue
Represents the style value for border-inline-start-width as defined in css-borders-4.
BorderInlineStyleStyleValue
Represents the style value for border-inline-style as defined in css-borders-4.
BorderInlineStyleValue
Represents the style value for border-inline as defined in css-borders-4.
BorderInlineWidthStyleValue
Represents the style value for border-inline-width as defined in css-borders-4.
BorderLeftStyleStyleValue
Represents the style value for border-left-style as defined in css-borders-4.
BorderLeftStyleValue
Represents the style value for border-left as defined in css-borders-4.
BorderLeftWidthStyleValue
Represents the style value for border-left-width as defined in css-borders-4.
BorderRightStyleStyleValue
Represents the style value for border-right-style as defined in css-borders-4.
BorderRightStyleValue
Represents the style value for border-right as defined in css-borders-4.
BorderRightWidthStyleValue
Represents the style value for border-right-width as defined in css-borders-4.
BorderSpacingStyleValue
Represents the style value for border-spacing as defined in css-tables-3.
BorderStartEndRadiusStyleValue
Represents the style value for border-start-end-radius as defined in css-borders-4.
BorderStartStartRadiusStyleValue
Represents the style value for border-start-start-radius as defined in css-borders-4.
BorderStyleStyleValue
Represents the style value for border-style as defined in css-borders-4.
BorderStyleValue
Represents the style value for border as defined in css-borders-4.
BorderTopLeftRadiusStyleValue
Represents the style value for border-top-left-radius as defined in css-borders-4.
BorderTopRightRadiusStyleValue
Represents the style value for border-top-right-radius as defined in css-borders-4.
BorderTopStyleStyleValue
Represents the style value for border-top-style as defined in css-borders-4.
BorderTopStyleValue
Represents the style value for border-top as defined in css-borders-4.
BorderTopWidthStyleValue
Represents the style value for border-top-width as defined in css-borders-4.
BorderWidthStyleValue
Represents the style value for border-width as defined in css-borders-4.
BottomStyleValue
Represents the style value for bottom as defined in css-position-4.
BoxPortion
Which portion(s) of the box model a property affects. This is a bitmask so properties can affect multiple portions.
BoxShadowBlurStyleValue
Represents the style value for box-shadow-blur as defined in css-borders-4.
BoxShadowColorStyleValue
Represents the style value for box-shadow-color as defined in css-borders-4.
BoxShadowPositionStyleValue
Represents the style value for box-shadow-position as defined in css-borders-4.
BoxShadowSpreadStyleValue
Represents the style value for box-shadow-spread as defined in css-borders-4.
BoxShadowStyleValue
Represents the style value for box-shadow as defined in css-borders-4.
BoxSide
Which side(s) of the box a property applies to. This is a bitmask so properties can apply to multiple sides.
CSSFloat
CSSInt
CalcSizeFunction
https://drafts.csswg.org/css-values-5/#calc-size
CaretColorStyleValue
Represents the style value for caret-color as defined in css-ui-4.
CaretStyleValue
Represents the style value for caret as defined in css-ui-4.
CharsetRule
Class
ColorAdjustStyleValue
Represents the style value for color-adjust as defined in css-color-adjust-1.
ColorFunctionColor
https://drafts.csswg.org/css-color/#funcdef-color
ColorFunctionColorParams
ColorStripe
https://drafts.csswg.org/css-images-4/#typedef-color-stripe
ColorStyleValue
Represents the style value for color as defined in css-color-6.
ColumnCountStyleValue
Represents the style value for column-count as defined in css-multicol-2.
ColumnHeightStyleValue
Represents the style value for column-height as defined in css-multicol-2.
ColumnRuleOutsetStyleValue
Represents the style value for column-rule-outset as defined in css-gaps-1.
ColumnWidthStyleValue
Represents the style value for column-width as defined in css-multicol-2.
CommaOrSlash
CompoundSelector
Computed
ContainerCondition
ContainerConditionList
ContainerNameStyleValue
Represents the style value for container-name as defined in css-conditional-5.
ContainerRule
ContainerRulesBlock
ContentFunction
https://drafts.csswg.org/css-content-3/#funcdef-content
ContentList
https://drafts.csswg.org/css-content-3/#content-values
CornerBlockEndShapeStyleValue
Represents the style value for corner-block-end-shape as defined in css-borders-4.
CornerBlockStartShapeStyleValue
Represents the style value for corner-block-start-shape as defined in css-borders-4.
CornerBottomLeftShapeStyleValue
Represents the style value for corner-bottom-left-shape as defined in css-borders-4.
CornerBottomRightShapeStyleValue
Represents the style value for corner-bottom-right-shape as defined in css-borders-4.
CornerBottomShapeStyleValue
Represents the style value for corner-bottom-shape as defined in css-borders-4.
CornerEndEndShapeStyleValue
Represents the style value for corner-end-end-shape as defined in css-borders-4.
CornerEndStartShapeStyleValue
Represents the style value for corner-end-start-shape as defined in css-borders-4.
CornerInlineEndShapeStyleValue
Represents the style value for corner-inline-end-shape as defined in css-borders-4.
CornerInlineStartShapeStyleValue
Represents the style value for corner-inline-start-shape as defined in css-borders-4.
CornerLeftShapeStyleValue
Represents the style value for corner-left-shape as defined in css-borders-4.
CornerRightShapeStyleValue
Represents the style value for corner-right-shape as defined in css-borders-4.
CornerShapeStyleValue
Represents the style value for corner-shape as defined in css-borders-4.
CornerStartEndShapeStyleValue
Represents the style value for corner-start-end-shape as defined in css-borders-4.
CornerStartStartShapeStyleValue
Represents the style value for corner-start-start-shape as defined in css-borders-4.
CornerTopLeftShapeStyleValue
Represents the style value for corner-top-left-shape as defined in css-borders-4.
CornerTopRightShapeStyleValue
Represents the style value for corner-top-right-shape as defined in css-borders-4.
CornerTopShapeStyleValue
Represents the style value for corner-top-shape as defined in css-borders-4.
CounterFunction
https://drafts.csswg.org/css-lists-3/#counter-functions
CounterFunctionParams
CountersFunction
https://drafts.csswg.org/css-lists-3/#counter-functions
CountersFunctionParams
CssMetadata
Aggregated metadata computed from declarations within a block. This allows efficient checking of what types of properties a block contains without iterating through all declarations.
CubicBezierFunction
CubicBezierFunctionParams
CueAfterStyleValue
Represents the style value for cue-after as defined in css-speech-1.
CueBeforeStyleValue
Represents the style value for cue-before as defined in css-speech-1.
CueStyleValue
Represents the style value for cue as defined in css-speech-1.
CursorStyleValue
Represents the style value for cursor as defined in css-ui-4.
Custom
CustomDimension
CustomElementTag
CustomIdent
https://drafts.csswg.org/css-values/#custom-idents
DashedIdent
https://drafts.csswg.org/css-values/#dashed-idents
Decibel
Declaration
This is a generic type that can be used for AST nodes representing a Declaration, aka “property”. This is defined as:
DeclarationKind
Diagnostic
An issue that occured during parse time.
DirPseudoFunction
DocumentMatcherList
DocumentRule
DocumentRuleBlock
DynamicRangeLimitMixFunction
https://drafts.csswg.org/css-color-hdr-1/#dynamic-range-limit-mix
DynamicRangeLimitMixFunctionParams
EventTriggerNameStyleValue
Represents the style value for event-trigger-name as defined in css-animations-2.
EventTriggerSourceStyleValue
Represents the style value for event-trigger-source as defined in css-animations-2.
EventTriggerStyleValue
Represents the style value for event-trigger as defined in css-animations-2.
FitContentFunction
https://drafts.csswg.org/css-grid-2/#funcdef-grid-template-columns-fit-content
Flex
FlexFlowStyleValue
Represents the style value for flex-flow as defined in css-flexbox-1.
FlexGrowStyleValue
Represents the style value for flex-grow as defined in css-flexbox-1.
FlexShrinkStyleValue
Represents the style value for flex-shrink as defined in css-flexbox-1.
FloatOffsetStyleValue
Represents the style value for float-offset as defined in css-page-floats-3.
FlowFromStyleValue
Represents the style value for flow-from as defined in css-regions-1.
FontFaceRule
FontFaceRuleBlock
FontFamilyStyleValue
Represents the style value for font-family as defined in css-fonts-5.
FontSynthesisStyleValue
Represents the style value for font-synthesis as defined in css-fonts-5.
GapStyleValue
Represents the style value for gap as defined in css-align-3.
GenericScriptSpecific
https://drafts.csswg.org/css-fonts-4/#family-name-syntax
GridAutoColumnsStyleValue
Represents the style value for grid-auto-columns as defined in css-grid-3.
GridAutoRowsStyleValue
Represents the style value for grid-auto-rows as defined in css-grid-3.
GridColumnEndStyleValue
Represents the style value for grid-column-end as defined in css-grid-3.
GridColumnStartStyleValue
Represents the style value for grid-column-start as defined in css-grid-3.
GridRowEndStyleValue
Represents the style value for grid-row-end as defined in css-grid-3.
GridRowStartStyleValue
Represents the style value for grid-row-start as defined in css-grid-3.
GridTemplateAreasStyleValue
Represents the style value for grid-template-areas as defined in css-grid-3.
HasPseudoFunction
HeadingPseudoFunction
HighlightPseudoElement
HostContextPseudoFunction
HostPseudoFunction
HslFunction
https://drafts.csswg.org/css-color/#funcdef-hsl
HslFunctionParams
HslaFunction
HwbFunction
HwbFunctionParams
HyphenateCharacterStyleValue
Represents the style value for hyphenate-character as defined in css-text-4.
HyphenateLimitZoneStyleValue
Represents the style value for hyphenate-limit-zone as defined in css-text-4.
Id
Image1d
ImageSetFunction
https://drafts.csswg.org/css-images-4/#funcdef-image-set
InlineSizeStyleValue
Represents the style value for inline-size as defined in css-logical-1.
InsetBlockEndStyleValue
Represents the style value for inset-block-end as defined in css-position-4.
InsetBlockStartStyleValue
Represents the style value for inset-block-start as defined in css-position-4.
InsetBlockStyleValue
Represents the style value for inset-block as defined in css-position-4.
InsetInlineEndStyleValue
Represents the style value for inset-inline-end as defined in css-position-4.
InsetInlineStartStyleValue
Represents the style value for inset-inline-start as defined in css-position-4.
InsetInlineStyleValue
Represents the style value for inset-inline as defined in css-position-4.
InsetStyleValue
Represents the style value for inset as defined in css-position-4.
InterestDelayStyleValue
Represents the style value for interest-delay as defined in css-ui-4.
IsPseudoFunction
Keyframe
KeyframeSelectors
KeyframesRule
KeyframesRuleBlock
KeypressFunction
https://drafts.csswg.org/css-grid-2/#funcdef-grid-template-columns-fit-content
LabFunction
https://drafts.csswg.org/css-color/#funcdef-lab
LabFunctionParams
LangPseudoFunction
LangValues
LayerName
LayerNameList
LayerRule
LayerRuleBlock
LchFunction
https://drafts.csswg.org/css-color/#funcdef-lch
LchFunctionParams
LeaderFunction
https://drafts.csswg.org/css-content-3/#leader-function
LeftStyleValue
Represents the style value for left as defined in css-position-4.
LineHeightStepStyleValue
Represents the style value for line-height-step as defined in css-rhythm-1.
LinePaddingStyleValue
Represents the style value for line-padding as defined in css-text-4.
LineWidthList
https://drafts.csswg.org/css-gaps-1/#typedef-line-width-list
LinearFunction
LinearFunctionParams
LinearGradientFunction
https://drafts.csswg.org/css-images-3/#funcdef-linear-gradient
LinearGradientFunctionParams
LinkParametersStyleValue
Represents the style value for link-parameters as defined in css-link-params-1.
ListStyleImageStyleValue
Represents the style value for list-style-image as defined in css-lists-3.
MarginBlockEndStyleValue
Represents the style value for margin-block-end as defined in css-logical-1.
MarginBlockStartStyleValue
Represents the style value for margin-block-start as defined in css-logical-1.
MarginBlockStyleValue
Represents the style value for margin-block as defined in css-logical-1.
MarginBottomStyleValue
Represents the style value for margin-bottom as defined in css-box-4.
MarginInlineEndStyleValue
Represents the style value for margin-inline-end as defined in css-logical-1.
MarginInlineStartStyleValue
Represents the style value for margin-inline-start as defined in css-logical-1.
MarginInlineStyleValue
Represents the style value for margin-inline as defined in css-logical-1.
MarginLeftStyleValue
Represents the style value for margin-left as defined in css-box-4.
MarginRightStyleValue
Represents the style value for margin-right as defined in css-box-4.
MarginRuleBlock
MarginStyleValue
Represents the style value for margin as defined in css-box-4.
MarginTopStyleValue
Represents the style value for margin-top as defined in css-box-4.
Matrix3dFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-matrix3d
Matrix3dFunctionParams
MatrixFunction
https://drafts.csswg.org/css-transforms-1/#funcdef-transform-matrix
MatrixFunctionParams
MaxBlockSizeStyleValue
Represents the style value for max-block-size as defined in css-logical-1.
MaxInlineSizeStyleValue
Represents the style value for max-inline-size as defined in css-logical-1.
MaxLinesStyleValue
Represents the style value for max-lines as defined in css-overflow-5.
MediaQuery
MediaQueryList
MediaRule
MediaRuleBlock
MinBlockSizeStyleValue
Represents the style value for min-block-size as defined in css-logical-1.
MinInlineSizeStyleValue
Represents the style value for min-inline-size as defined in css-logical-1.
MozDocumentRule
MozLocaleDirFunctionalPseudoClass
MsImeAlignMediaFeatureKeyword
Namespace
NotPseudoFunction
NthChildPseudoFunction
NthColPseudoFunction
NthLastChildPseudoFunction
NthLastColPseudoFunction
NthLastOfTypePseudoFunction
NthOfTypePseudoFunction
ObjectPositionStyleValue
Represents the style value for object-position as defined in css-images-5.
ObjectViewBoxStyleValue
Represents the style value for object-view-box as defined in css-images-5.
OklabFunction
https://drafts.csswg.org/css-color/#funcdef-oklab
OklchFunction
https://drafts.csswg.org/css-color/#funcdef-oklch
OpacityStyleValue
Represents the style value for opacity as defined in css-color-6.
OrderStyleValue
Represents the style value for order as defined in css-display-4.
OrphansStyleValue
Represents the style value for orphans as defined in css-break-4.
OutlineColorStyleValue
Represents the style value for outline-color as defined in css-ui-4.
OutlineOffsetStyleValue
Represents the style value for outline-offset as defined in css-ui-4.
OutlineStyleStyleValue
Represents the style value for outline-style as defined in css-ui-4.
OutlineStyleValue
Represents the style value for outline as defined in css-ui-4.
OutlineWidthStyleValue
Represents the style value for outline-width as defined in css-ui-4.
OverflowClipMarginBlockEndStyleValue
Represents the style value for overflow-clip-margin-block-end as defined in css-overflow-5.
OverflowClipMarginBlockStartStyleValue
Represents the style value for overflow-clip-margin-block-start as defined in css-overflow-5.
OverflowClipMarginBlockStyleValue
Represents the style value for overflow-clip-margin-block as defined in css-overflow-5.
OverflowClipMarginBottomStyleValue
Represents the style value for overflow-clip-margin-bottom as defined in css-overflow-5.
OverflowClipMarginInlineEndStyleValue
Represents the style value for overflow-clip-margin-inline-end as defined in css-overflow-5.
OverflowClipMarginInlineStartStyleValue
Represents the style value for overflow-clip-margin-inline-start as defined in css-overflow-5.
OverflowClipMarginInlineStyleValue
Represents the style value for overflow-clip-margin-inline as defined in css-overflow-5.
OverflowClipMarginLeftStyleValue
Represents the style value for overflow-clip-margin-left as defined in css-overflow-5.
OverflowClipMarginRightStyleValue
Represents the style value for overflow-clip-margin-right as defined in css-overflow-5.
OverflowClipMarginStyleValue
Represents the style value for overflow-clip-margin as defined in css-overflow-5.
OverflowClipMarginTopStyleValue
Represents the style value for overflow-clip-margin-top as defined in css-overflow-5.
OverflowStyleValue
Represents the style value for overflow as defined in css-overflow-5.
OverscrollBehaviorStyleValue
Represents the style value for overscroll-behavior as defined in css-overscroll-1.
PaddingBlockEndStyleValue
Represents the style value for padding-block-end as defined in css-logical-1.
PaddingBlockStartStyleValue
Represents the style value for padding-block-start as defined in css-logical-1.
PaddingBlockStyleValue
Represents the style value for padding-block as defined in css-logical-1.
PaddingBottomStyleValue
Represents the style value for padding-bottom as defined in css-box-4.
PaddingInlineEndStyleValue
Represents the style value for padding-inline-end as defined in css-logical-1.
PaddingInlineStartStyleValue
Represents the style value for padding-inline-start as defined in css-logical-1.
PaddingInlineStyleValue
Represents the style value for padding-inline as defined in css-logical-1.
PaddingLeftStyleValue
Represents the style value for padding-left as defined in css-box-4.
PaddingRightStyleValue
Represents the style value for padding-right as defined in css-box-4.
PaddingStyleValue
Represents the style value for padding as defined in css-box-4.
PaddingTopStyleValue
Represents the style value for padding-top as defined in css-box-4.
PageRule
PageRuleBlock
PageSelector
PageSelectorList
PageStyleValue
Represents the style value for page as defined in css-page-4.
PaletteIdentifier
ParamFunction
https://drafts.csswg.org/css-link-params-1/#funcdef-param
ParamFunctionParams
PartPseudoElement
PauseStyleValue
Represents the style value for pause as defined in css-speech-1.
Percentage
PerspectiveFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-perspective
PerspectiveOriginStyleValue
Represents the style value for perspective-origin as defined in css-transforms-2.
PerspectiveStyleValue
Represents the style value for perspective as defined in css-transforms-2.
PickerPseudoElement
PositionAnchorStyleValue
Represents the style value for position-anchor as defined in css-anchor-position-2.
PositionAreaStyleValue
Represents the style value for position-area as defined in css-anchor-position-2.
PositiveNonZeroInt
PropertyGroup
The CSS specification/module that a property belongs to.
PropertyPrelude
PropertyRule
PropertyRuleBlock
RadialGradientFunction
https://drafts.csswg.org/css-images-3/#funcdef-radial-gradient
RadialGradientFunctionParams
Ratio
ReadingOrderStyleValue
Represents the style value for reading-order as defined in css-display-4.
RepeatFunction
https://drafts.csswg.org/css-gaps-1/#typedef-repeat-line-width
RepeatFunctionParams
RepeatingLinearGradientFunction
https://drafts.csswg.org/css-images-3/#funcdef-repeating-linear-gradient
RepeatingLinearGradientFunctionParams
RepeatingRadialGradientFunction
https://drafts.csswg.org/css-images-3/#funcdef-repeating-radial-gradient
RepeatingRadialGradientFunctionParams
RestStyleValue
Represents the style value for rest as defined in css-speech-1.
RgbFunction
https://drafts.csswg.org/css-color/#funcdef-rgb
RgbFunctionParams
RgbaFunction
RightStyleValue
Represents the style value for right as defined in css-position-4.
Rotate3dFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-rotate3d
Rotate3dFunctionParams
RotateFunction
https://drafts.csswg.org/css-transforms-1/#funcdef-transform-rotate
RotatexFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-rotatex
RotateyFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-rotatey
RotatezFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-rotatez
RowRuleOutsetStyleValue
Represents the style value for row-rule-outset as defined in css-gaps-1.
RuleBreakStyleValue
Represents the style value for rule-break as defined in css-gaps-1.
RuleColorStyleValue
Represents the style value for rule-color as defined in css-gaps-1.
RuleKind
RuleOutsetStyleValue
Represents the style value for rule-outset as defined in css-gaps-1.
RuleStyleStyleValue
Represents the style value for rule-style as defined in css-gaps-1.
RuleStyleValue
Represents the style value for rule as defined in css-gaps-1.
RuleWidthStyleValue
Represents the style value for rule-width as defined in css-gaps-1.
RunningStyleValue
Represents the style value for running as defined in css-gcpm-4.
Scale3dFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-scale3d
Scale3dFunctionParams
ScaleFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-scale
ScaleStyleValue
Represents the style value for scale as defined in css-transforms-2.
ScalexFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-scalex
ScaleyFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-scaley
ScalezFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-scalez
ScrollMarginBlockEndStyleValue
Represents the style value for scroll-margin-block-end as defined in css-scroll-snap-2.
ScrollMarginBlockStartStyleValue
Represents the style value for scroll-margin-block-start as defined in css-scroll-snap-2.
ScrollMarginBlockStyleValue
Represents the style value for scroll-margin-block as defined in css-scroll-snap-2.
ScrollMarginBottomStyleValue
Represents the style value for scroll-margin-bottom as defined in css-scroll-snap-2.
ScrollMarginInlineEndStyleValue
Represents the style value for scroll-margin-inline-end as defined in css-scroll-snap-2.
ScrollMarginInlineStartStyleValue
Represents the style value for scroll-margin-inline-start as defined in css-scroll-snap-2.
ScrollMarginInlineStyleValue
Represents the style value for scroll-margin-inline as defined in css-scroll-snap-2.
ScrollMarginLeftStyleValue
Represents the style value for scroll-margin-left as defined in css-scroll-snap-2.
ScrollMarginRightStyleValue
Represents the style value for scroll-margin-right as defined in css-scroll-snap-2.
ScrollMarginStyleValue
Represents the style value for scroll-margin as defined in css-scroll-snap-2.
ScrollMarginTopStyleValue
Represents the style value for scroll-margin-top as defined in css-scroll-snap-2.
ScrollPaddingBlockEndStyleValue
Represents the style value for scroll-padding-block-end as defined in css-scroll-snap-2.
ScrollPaddingBlockStartStyleValue
Represents the style value for scroll-padding-block-start as defined in css-scroll-snap-2.
ScrollPaddingBlockStyleValue
Represents the style value for scroll-padding-block as defined in css-scroll-snap-2.
ScrollPaddingBottomStyleValue
Represents the style value for scroll-padding-bottom as defined in css-scroll-snap-2.
ScrollPaddingInlineEndStyleValue
Represents the style value for scroll-padding-inline-end as defined in css-scroll-snap-2.
ScrollPaddingInlineStartStyleValue
Represents the style value for scroll-padding-inline-start as defined in css-scroll-snap-2.
ScrollPaddingInlineStyleValue
Represents the style value for scroll-padding-inline as defined in css-scroll-snap-2.
ScrollPaddingLeftStyleValue
Represents the style value for scroll-padding-left as defined in css-scroll-snap-2.
ScrollPaddingRightStyleValue
Represents the style value for scroll-padding-right as defined in css-scroll-snap-2.
ScrollPaddingStyleValue
Represents the style value for scroll-padding as defined in css-scroll-snap-2.
ScrollPaddingTopStyleValue
Represents the style value for scroll-padding-top as defined in css-scroll-snap-2.
ScrollSnapAlignStyleValue
Represents the style value for scroll-snap-align as defined in css-scroll-snap-2.
ScrollbarColorStyleValue
Represents the style value for scrollbar-color as defined in css-scrollbars-1.
SelectorList
Represents a list of CompoundSelectors, such as body, dialog:modal.
Shadow
ShapeImageThresholdStyleValue
Represents the style value for shape-image-threshold as defined in css-shapes-2.
ShapeMarginStyleValue
Represents the style value for shape-margin as defined in css-shapes-2.
ShapePaddingStyleValue
Represents the style value for shape-padding as defined in css-shapes-2.
SingleTransition
SkewFunction
https://drafts.csswg.org/css-transforms-1/#funcdef-transform-skew
SkewxFunction
https://drafts.csswg.org/css-transforms-1/#funcdef-transform-skewx
SkewyFunction
https://drafts.csswg.org/css-transforms-1/#funcdef-transform-skewy
SlottedPseudoElement
SnapBlockFunction
SnapBlockFunctionParams
SnapInlineFunction
https://drafts.csswg.org/css-page-floats-3/#funcdef-float-snap-inline
SnapInlineFunctionParams
StatePseudoFunction
StepsFunction
StepsFunctionParams
StringFunction
https://drafts.csswg.org/css-content-3/#string-function
StringFunctionParams
StripesFunction
https://drafts.csswg.org/css-images-4/#typedef-image-1d
StyleRule
Represents a “Style Rule”, such as body { width: 100% }. See also the CSS-OM CSSStyleRule interface.
StyleSheet
SuperellipseFunction
https://drafts.csswg.org/css-borders-4/#typedef-corner-shape-value
SupportsRule
SupportsRuleBlock
SymbolsFunction
https://drafts.csswg.org/css-counter-styles-3/#funcdef-symbols
SymbolsFunctionParams
SyntaxValue
TabSizeStyleValue
Represents the style value for tab-size as defined in css-text-4.
TargetCounterFunction
TargetCounterParams
TargetCountersFunction
TargetCountersParams
TargetTextFunction
TargetTextParams
TextBoxEdgeStyleValue
Represents the style value for text-box-edge as defined in css-inline-3.
TextDecorationColorStyleValue
Represents the style value for text-decoration-color as defined in css-text-decor-4.
TextDecorationTrimStyleValue
Represents the style value for text-decoration-trim as defined in css-text-decor-4.
TextEmphasisColorStyleValue
Represents the style value for text-emphasis-color as defined in css-text-decor-4.
TextEmphasisSkipStyleValue
Represents the style value for text-emphasis-skip as defined in css-text-decor-4.
TextShadowStyleValue
Represents the style value for text-shadow as defined in css-text-decor-4.
TextSizeAdjustStyleValue
Represents the style value for text-size-adjust as defined in css-size-adjust-1.
TextSpacingTrimStyleValue
Represents the style value for text-spacing-trim as defined in css-text-4.
TextUnderlineOffsetStyleValue
Represents the style value for text-underline-offset as defined in css-text-decor-4.
TextWrapStyleValue
Represents the style value for text-wrap as defined in css-text-4.
TimelineTriggerNameStyleValue
Represents the style value for timeline-trigger-name as defined in css-animations-2.
TimelineTriggerSourceStyleValue
Represents the style value for timeline-trigger-source as defined in css-animations-2.
TopStyleValue
Represents the style value for top as defined in css-position-4.
TransformList
TransformStyleValue
Represents the style value for transform as defined in css-transforms-2.
TransitionBehaviorStyleValue
Represents the style value for transition-behavior as defined in css-transitions-2.
TransitionDelayStyleValue
Represents the style value for transition-delay as defined in css-transitions-2.
TransitionDurationStyleValue
Represents the style value for transition-duration as defined in css-transitions-2.
TransitionPropertyStyleValue
Represents the style value for transition-property as defined in css-transitions-2.
TransitionStyleValue
Represents the style value for transition as defined in css-transitions-2.
TransitionTimingFunctionStyleValue
Represents the style value for transition-timing-function as defined in css-transitions-2.
Translate3dFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-translate3d
Translate3dFunctionParams
TranslateFunction
https://drafts.csswg.org/css-transforms-1/#funcdef-transform-translate
TranslatexFunction
https://drafts.csswg.org/css-transforms-1/#funcdef-transform-translatex
TranslateyFunction
https://drafts.csswg.org/css-transforms-1/#funcdef-transform-translatey
TranslatezFunction
https://drafts.csswg.org/css-transforms-2/#funcdef-translatez
Unknown
UnknownAtRule
UnknownQualifiedRule
UnknownTag
VendorPrefixes
ViewTransitionClassStyleValue
Represents the style value for view-transition-class as defined in css-view-transitions-2.
ViewTransitionGroupPseudoElement
ViewTransitionImagePairPseudoElement
ViewTransitionNameStyleValue
Represents the style value for view-transition-name as defined in css-view-transitions-2.
ViewTransitionNewPseudoElement
ViewTransitionOldPseudoElement
VoiceDurationStyleValue
Represents the style value for voice-duration as defined in css-speech-1.
WebkitAnyFunctionalPseudoClass
WebkitDistrubutedFunctionalPseudoElement
WebkitKeyframesRule
WebkitLineClampStyleValue
Represents the style value for -webkit-line-clamp as defined in css-overflow-5.
WherePseudoFunction
WidowsStyleValue
Represents the style value for widows as defined in css-break-4.
Wildcard
WillChangeStyleValue
Represents the style value for will-change as defined in css-will-change-1.
ZoomStyleValue
Represents the style value for zoom as defined in css-viewport-1.

Enums§

AbsoluteSize
https://drafts.csswg.org/css2/#value-def-absolute-size
AlignContentStyleValue
Represents the style value for align-content as defined in css-align-3.
AlignSelfStyleValue
Represents the style value for align-self as defined in css-align-3.
AlignmentBaselineStyleValue
Represents the style value for alignment-baseline as defined in css-inline-3.
AllStyleValue
Represents the style value for all as defined in css-cascade-6.
AnchorScopeStyleValue
Represents the style value for anchor-scope as defined in css-anchor-position-2.
Angle
AngleOrNumber
AngleOrZero
AnimateableFeature
AnimationAction
https://drafts.csswg.org/css-animations-2/#typedef-animation-action
AnimationType
AnyHoverMediaFeature
AnyHoverMediaFeatureKeyword
AnyPointerMediaFeature
AnyPointerMediaFeatureKeyword
AppearanceStyleValue
Represents the style value for appearance as defined in css-ui-4.
AspectRatioContainerFeature
Attachment
https://drafts.csswg.org/css-backgrounds-3/#typedef-attachment
AttrType
AttributeModifier
AttributeOperator
AttributeValue
AutoNoneOr
AutoOr
BackfaceVisibilityStyleValue
Represents the style value for backface-visibility as defined in css-transforms-2.
BaselinePosition
https://drafts.csswg.org/css-align-3/#typedef-baseline-position
BaselineShiftStyleValue
Represents the style value for baseline-shift as defined in css-inline-3.
BaselineSourceStyleValue
Represents the style value for baseline-source as defined in css-inline-3.
BgClip
https://drafts.csswg.org/css-backgrounds-4/#typedef-bg-clip https://drafts.csswg.org/css-box-4/#typedef-visual-box
BgSize
https://drafts.csswg.org/css-backgrounds-3/#typedef-bg-size
BlockEllipsisStyleValue
Represents the style value for block-ellipsis as defined in css-overflow-5.
BlockSizeContainerFeature
BlockStepAlignStyleValue
Represents the style value for block-step-align as defined in css-rhythm-1.
BlockStepInsertStyleValue
Represents the style value for block-step-insert as defined in css-rhythm-1.
BlockStepRoundStyleValue
Represents the style value for block-step-round as defined in css-rhythm-1.
BookmarkStateStyleValue
Represents the style value for bookmark-state as defined in css-content-3.
BooleanKeyword
BorderBlockEndColorStyleValue
Represents the style value for border-block-end-color as defined in css-borders-4.
BorderBlockStartColorStyleValue
Represents the style value for border-block-start-color as defined in css-borders-4.
BorderBottomColorStyleValue
Represents the style value for border-bottom-color as defined in css-borders-4.
BorderBoundaryStyleValue
Represents the style value for border-boundary as defined in css-round-display-1.
BorderClipBottomStyleValue
Represents the style value for border-clip-bottom as defined in css-borders-4.
BorderClipLeftStyleValue
Represents the style value for border-clip-left as defined in css-borders-4.
BorderClipRightStyleValue
Represents the style value for border-clip-right as defined in css-borders-4.
BorderClipStyleValue
Represents the style value for border-clip as defined in css-borders-4.
BorderClipTopStyleValue
Represents the style value for border-clip-top as defined in css-borders-4.
BorderCollapseStyleValue
Represents the style value for border-collapse as defined in css-tables-3.
BorderImageRepeatStyleValueKeywords
BorderInlineEndColorStyleValue
Represents the style value for border-inline-end-color as defined in css-borders-4.
BorderInlineStartColorStyleValue
Represents the style value for border-inline-start-color as defined in css-borders-4.
BorderLeftColorStyleValue
Represents the style value for border-left-color as defined in css-borders-4.
BorderRightColorStyleValue
Represents the style value for border-right-color as defined in css-borders-4.
BorderTopColorStyleValue
Represents the style value for border-top-color as defined in css-borders-4.
BoxDecorationBreakStyleValue
Represents the style value for box-decoration-break as defined in css-break-4.
BoxShadowPositionStyleValueKeywords
BoxSizingStyleValue
Represents the style value for box-sizing as defined in css-sizing-4.
BoxSnapStyleValue
Represents the style value for box-snap as defined in css-line-grid-1.
BreakAfterStyleValue
Represents the style value for break-after as defined in css-break-4.
BreakBeforeStyleValue
Represents the style value for break-before as defined in css-break-4.
BreakInsideStyleValue
Represents the style value for break-inside as defined in css-break-4.
CaptionSideStyleValue
Represents the style value for caption-side as defined in css-tables-3.
CaretAnimationStyleValue
Represents the style value for caret-animation as defined in css-ui-4.
CaretShapeStyleValue
Represents the style value for caret-shape as defined in css-ui-4.
ClearStyleValue
Represents the style value for clear as defined in css-page-floats-3.
Color
ColorFunction
https://drafts.csswg.org/css-color/#typedef-color-function
ColorGamutMediaFeature
ColorGamutMediaFeatureKeyword
ColorIndexMediaFeature
ColorMediaFeature
ColorSpace
ColorStopOrHint
ColumnFillStyleValue
Represents the style value for column-fill as defined in css-multicol-2.
ColumnGapStyleValue
Represents the style value for column-gap as defined in css-align-3.
ColumnRuleBreakStyleValue
Represents the style value for column-rule-break as defined in css-gaps-1.
ColumnRuleColorStyleValue
Represents the style value for column-rule-color as defined in css-gaps-1.
ColumnRuleStyleStyleValue
Represents the style value for column-rule-style as defined in css-gaps-1.
ColumnRuleStyleValue
Represents the style value for column-rule as defined in css-gaps-1.
ColumnRuleWidthStyleValue
Represents the style value for column-rule-width as defined in css-gaps-1.
ColumnSpanStyleValue
Represents the style value for column-span as defined in css-multicol-2.
ColumnWrapStyleValue
Represents the style value for column-wrap as defined in css-multicol-2.
Combinator
CompatAuto
https://drafts.csswg.org/css-ui-4/#typedef-appearance-compat-auto
CompatSpecial
https://drafts.csswg.org/css-ui-4/#typedef-appearance-compat-special
ComputedValueType
How the computed value is calculated from the specified value
ContainerFeature
ContainerQuery
ContentDistribution
https://drafts.csswg.org/css-align-3/#typedef-content-distribution
ContentKeyword
ContentListItem
https://drafts.csswg.org/css-content-3/#content-values
ContentPosition
https://drafts.csswg.org/css-align-3/#typedef-content-position
ContentVisibilityStyleValue
Represents the style value for content-visibility as defined in css-contain-4.
ContinueStyleValue
Represents the style value for continue as defined in css-overflow-5.
CoordBox
https://drafts.csswg.org/css-box-4/#typedef-coord-box
CornerShapeValue
https://drafts.csswg.org/css-borders-4/#typedef-corner-shape-value
Counter
CounterStyle
CssAtomSet
Atoms used by the CSS AST, extending the lexer’s atom set with additional CSS-specific atoms.
CursorImage
https://drafts.csswg.org/css-ui-4/#typedef-cursor-cursor-image
CursorPredefined
https://drafts.csswg.org/css-ui-4/#typedef-cursor-predefined
DeviceHeightMediaFeature
DeviceWidthMediaFeature
DirValue
DirectionStyleValue
Represents the style value for direction as defined in css-writing-modes-4.
DisplayInside
https://drafts.csswg.org/css-display-4/#typedef-display-inside
DisplayModeMediaFeature
DisplayModeMediaFeatureKeyword
DisplayOutside
https://drafts.csswg.org/css-display-4/#typedef-display-outside
DocumentMatcher
DominantBaselineStyleValue
Represents the style value for dominant-baseline as defined in css-inline-3.
DynamicRangeLimitStyleValue
Represents the style value for dynamic-range-limit as defined in css-color-hdr-1.
DynamicRangeMediaFeature
DynamicRangeMediaFeatureKeyword
EasingFunction
EmptyCellsStyleValue
Represents the style value for empty-cells as defined in css-tables-3.
EnvironmentBlendingMediaFeature
EnvironmentBlendingMediaFeatureKeyword
EventTriggerEvent
https://drafts.csswg.org/css-animations-2/#typedef-event-trigger-event
FamilyName
https://drafts.csswg.org/css-fonts-4/#family-name-syntax
FieldSizingStyleValue
Represents the style value for field-sizing as defined in css-forms-1.
FlexBasisStyleValue
Represents the style value for flex-basis as defined in css-flexbox-1.
FlexDirectionStyleValue
Represents the style value for flex-direction as defined in css-flexbox-1.
FlexWrapStyleValue
Represents the style value for flex-wrap as defined in css-flexbox-1.
FloatDeferStyleValue
Represents the style value for float-defer as defined in css-page-floats-3.
FloatReferenceStyleValue
Represents the style value for float-reference as defined in css-page-floats-3.
FloatStyleValue
Represents the style value for float as defined in css-page-floats-3.
FontKerningStyleValue
Represents the style value for font-kerning as defined in css-fonts-5.
FontLanguageOverrideStyleValue
Represents the style value for font-language-override as defined in css-fonts-5.
FontOpticalSizingStyleValue
Represents the style value for font-optical-sizing as defined in css-fonts-5.
FontSizeStyleValue
Represents the style value for font-size as defined in css-fonts-5.
FontStyleStyleValue
Represents the style value for font-style as defined in css-fonts-5.
FontSynthesisPositionStyleValue
Represents the style value for font-synthesis-position as defined in css-fonts-5.
FontSynthesisSmallCapsStyleValue
Represents the style value for font-synthesis-small-caps as defined in css-fonts-5.
FontSynthesisStyleStyleValue
Represents the style value for font-synthesis-style as defined in css-fonts-5.
FontSynthesisWeightStyleValue
Represents the style value for font-synthesis-weight as defined in css-fonts-5.
FontVariantCapsStyleValue
Represents the style value for font-variant-caps as defined in css-fonts-5.
FontVariantEmojiStyleValue
Represents the style value for font-variant-emoji as defined in css-fonts-5.
FontVariantPositionStyleValue
Represents the style value for font-variant-position as defined in css-fonts-5.
FontWeightAbsolute
https://drafts.csswg.org/css-fonts-4/#font-weight-absolute-values
FontWeightStyleValue
Represents the style value for font-weight as defined in css-fonts-5.
FontWidthStyleValue
Represents the style value for font-width as defined in css-fonts-5.
FootnoteDisplayStyleValue
Represents the style value for footnote-display as defined in css-gcpm-4.
FootnotePolicyStyleValue
Represents the style value for footnote-policy as defined in css-gcpm-4.
ForcedColorAdjustStyleValue
Represents the style value for forced-color-adjust as defined in css-color-adjust-1.
ForcedColorsMediaFeature
ForcedColorsMediaFeatureKeyword
Frequency
FunctionalPseudoClass
FunctionalPseudoElement
GenericComplete
https://drafts.csswg.org/css-fonts-4/#family-name-syntax
GenericFamily
https://drafts.csswg.org/css-fonts-4/#family-name-syntax
GenericIncomplete
https://drafts.csswg.org/css-fonts-4/#family-name-syntax
GenericScriptSpecificKeyword
https://drafts.csswg.org/css-fonts-4/#family-name-syntax
GlyphOrientationVerticalStyleValue
Represents the style value for glyph-orientation-vertical as defined in css-writing-modes-4.
Gradient
https://drafts.csswg.org/css-images-3/#typedef-gradient
GridLine
GridMediaFeature
HackMediaFeature
HeightContainerFeature
HeightMediaFeature
HeightStyleValue
Represents the style value for height as defined in css-sizing-4.
HorizontalViewportSegmentsMediaFeature
HoverMediaFeature
HoverMediaFeatureKeyword
HtmlNonConformingTag
https://html.spec.whatwg.org/multipage/obsolete.html#non-conforming-features
HtmlNonStandardTag
HtmlTag
https://html.spec.whatwg.org/multipage/indices.html#elements-3
HyphenateLimitLastStyleValue
Represents the style value for hyphenate-limit-last as defined in css-text-4.
HyphenateLimitLinesStyleValue
Represents the style value for hyphenate-limit-lines as defined in css-text-4.
HyphensStyleValue
Represents the style value for hyphens as defined in css-text-4.
Image
https://drafts.csswg.org/css-images-3/#typedef-image
ImageRenderingStyleValue
Represents the style value for image-rendering as defined in css-images-5.
ImageSetParams
Inherits
InheritsValue
InitialLetterWrapStyleValue
Represents the style value for initial-letter-wrap as defined in css-inline-3.
InlineSizeContainerFeature
InlineSizingStyleValue
Represents the style value for inline-sizing as defined in css-inline-3.
InputSecurityStyleValue
Represents the style value for input-security as defined in css-forms-1.
InteractivityStyleValue
Represents the style value for interactivity as defined in css-ui-4.
InterestDelayEndStyleValue
Represents the style value for interest-delay-end as defined in css-ui-4.
InterestDelayStartStyleValue
Represents the style value for interest-delay-start as defined in css-ui-4.
InterpolateSizeStyleValue
Represents the style value for interpolate-size as defined in css-values-5.
InvertedColorsMediaFeature
InvertedColorsMediaFeatureKeyword
ItemDirectionStyleValue
Represents the style value for item-direction as defined in css-grid-3.
ItemToleranceStyleValue
Represents the style value for item-tolerance as defined in css-grid-3.
ItemTrackStyleValue
Represents the style value for item-track as defined in css-grid-3.
KeyframeSelector
KeyframesName
LangValue
LayoutBox
https://drafts.csswg.org/css-box-4/#typedef-layout-box
LeaderType
LegacyPseudoElement
Length
LengthPercentage
LengthPercentageOrFlex
LetterSpacingStyleValue
Represents the style value for letter-spacing as defined in css-text-4.
LineBreakStyleValue
Represents the style value for line-break as defined in css-text-4.
LineFitEdgeStyleValue
Represents the style value for line-fit-edge as defined in css-inline-3.
LineGridStyleValue
Represents the style value for line-grid as defined in css-line-grid-1.
LineHeightStyleValue
Represents the style value for line-height as defined in css-inline-3.
LineSnapStyleValue
Represents the style value for line-snap as defined in css-line-grid-1.
LineStyle
LineWidth
LineWidthOrRepeat
https://drafts.csswg.org/css-gaps-1/#typedef-line-width-or-repeat
LinearDirection
ListStylePositionStyleValue
Represents the style value for list-style-position as defined in css-lists-3.
ListStyleTypeStyleValue
Represents the style value for list-style-type as defined in css-lists-3.
MarginBreakStyleValue
Represents the style value for margin-break as defined in css-break-4.
MarginRule
MarkerSideStyleValue
Represents the style value for marker-side as defined in css-lists-3.
MathmlTag
https://w3c.github.io/mathml/#mmlindex_elements
MaxHeightStyleValue
Represents the style value for max-height as defined in css-sizing-4.
MaxWidthStyleValue
Represents the style value for max-width as defined in css-sizing-4.
MediaCondition
MediaFeature
MediaPreCondition
MediaType
MinHeightStyleValue
Represents the style value for min-height as defined in css-sizing-4.
MinWidthStyleValue
Represents the style value for min-width as defined in css-sizing-4.
MonochromeMediaFeature
MozDeviceOrientationMediaFeature
MozDeviceOrientationMediaFeatureKeyword
MozDevicePixelRatioMediaFeature
MozFunctionalPseudoClass
MozFunctionalPseudoElement
MozFunctionalPseudoElementKeyword
MozImagesInMenusMediaFeature
MozMacGraphiteThemeMediaFeature
MozMaemoClassicMediaFeature
MozOsVersionMediaFeature
MozOsVersionMediaFeatureKeyword
MozPseudoClass
https://developer.mozilla.org/en-US/docs/Web/CSS/Mozilla_Extensions#pseudo-elements_and_pseudo-classes
MozPseudoElement
https://developer.mozilla.org/en-US/docs/Web/CSS/Mozilla_Extensions#pseudo-elements_and_pseudo-classes
MozTouchEnabledMediaFeature
MsColumnCountMediaFeature
MsDevicePixelRatioMediaFeature
MsHighContrastMediaFeature
MsHighContrastMediaFeatureKeyword
MsImeAlignMediaFeature
MsPseudoClass
MsPseudoElement
MsViewStateMediaFeature
MsViewStateMediaFeatureKeyword
NamedColor
NamedDirection
NamespacePrefix
NamespaceTag
NavControlsMediaFeature
NavControlsMediaFeatureKeyword
NestedGroupRule
NoneOr
Nth
NumberLength
NumberOrInfinity
NumberOrPercentage
NumberPercentage
ODevicePixelRatioMediaFeature
OPseudoClass
OPseudoElement
OpacityValue
OrientationContainerFeature
OrientationContainerFeatureKeyword
OrientationMediaFeature
OrientationMediaFeatureKeyword
OutlineLineStyle
https://drafts.csswg.org/css-ui-4/#typedef-outline-line-style
OverflowAnchorStyleValue
Represents the style value for overflow-anchor as defined in css-scroll-anchoring-1.
OverflowBlockMediaFeature
OverflowBlockMediaFeatureKeyword
OverflowBlockStyleValue
Represents the style value for overflow-block as defined in css-overflow-5.
OverflowInlineMediaFeature
OverflowInlineMediaFeatureKeyword
OverflowInlineStyleValue
Represents the style value for overflow-inline as defined in css-overflow-5.
OverflowPosition
https://drafts.csswg.org/css-align-3/#typedef-overflow-position
OverflowWrapStyleValue
Represents the style value for overflow-wrap as defined in css-text-4.
OverflowXStyleValue
Represents the style value for overflow-x as defined in css-overflow-5.
OverflowYStyleValue
Represents the style value for overflow-y as defined in css-overflow-5.
OverlayStyleValue
Represents the style value for overlay as defined in css-position-4.
OverscrollBehaviorBlockStyleValue
Represents the style value for overscroll-behavior-block as defined in css-overscroll-1.
OverscrollBehaviorInlineStyleValue
Represents the style value for overscroll-behavior-inline as defined in css-overscroll-1.
OverscrollBehaviorStyleValueKeywords
OverscrollBehaviorXStyleValue
Represents the style value for overscroll-behavior-x as defined in css-overscroll-1.
OverscrollBehaviorYStyleValue
Represents the style value for overscroll-behavior-y as defined in css-overscroll-1.
PagePseudoClass
PaintBox
https://drafts.csswg.org/css-box-4/#typedef-paint-box
PauseAfterStyleValue
Represents the style value for pause-after as defined in css-speech-1.
PauseBeforeStyleValue
Represents the style value for pause-before as defined in css-speech-1.
Percentages
PointerEventsStyleValue
Represents the style value for pointer-events as defined in css-ui-4.
PointerMediaFeature
PointerMediaFeatureKeyword
Position
PositionArea
PositionAreaBlock
PositionAreaInline
PositionAreaPhsyicalHorizontal
PositionAreaPhsyicalVertical
PositionAreaPosition
PositionAreaSelfBlock
PositionAreaSelfInline
PositionAreaSelfPosition
PositionHorizontal
PositionHorizontalKeyword
PositionSingleValue
PositionStyleValue
Represents the style value for position as defined in css-position-4.
PositionTryOrderStyleValue
Represents the style value for position-try-order as defined in css-anchor-position-2.
PositionVertical
PositionVerticalKeyword
PredefinedCounter
PrefersColorSchemeMediaFeature
PrefersColorSchemeMediaFeatureKeyword
PrefersContrastMediaFeature
PrefersContrastMediaFeatureKeyword
PrefersReducedDataMediaFeature
PrefersReducedDataMediaFeatureKeyword
PrefersReducedMotionMediaFeature
PrefersReducedMotionMediaFeatureKeyword
PrefersReducedTransparencyMediaFeature
PrefersReducedTransparencyMediaFeatureKeyword
PrintColorAdjustStyleValue
Represents the style value for print-color-adjust as defined in css-color-adjust-1.
PropertyRuleValue
PseudoClass
PseudoElement
PtNameAndClassSelector
Quote
https://drafts.csswg.org/css-content-3/#quote-values
RadialExtent
https://drafts.csswg.org/css-images-3/#typedef-radial-extent
RadialShape
https://drafts.csswg.org/css-images-3/#typedef-radial-shape
RadialSize
https://drafts.csswg.org/css-images-3/#typedef-radial-size
ReadingFlowStyleValue
Represents the style value for reading-flow as defined in css-display-4.
RegionFragmentStyleValue
Represents the style value for region-fragment as defined in css-regions-1.
RelativeSize
https://drafts.csswg.org/css2/#value-def-relative-size
RepeatStyle
https://drafts.csswg.org/css-backgrounds-4/#background-repeat
Repetition
https://drafts.csswg.org/css-backgrounds-4/#typedef-repetition
ResizeStyleValue
Represents the style value for resize as defined in css-ui-4.
Resolution
ResolutionOrType
RestAfterStyleValue
Represents the style value for rest-after as defined in css-speech-1.
RestBeforeStyleValue
Represents the style value for rest-before as defined in css-speech-1.
RowGapStyleValue
Represents the style value for row-gap as defined in css-align-3.
RowRuleBreakStyleValue
Represents the style value for row-rule-break as defined in css-gaps-1.
RowRuleColorStyleValue
Represents the style value for row-rule-color as defined in css-gaps-1.
RowRuleStyleStyleValue
Represents the style value for row-rule-style as defined in css-gaps-1.
RowRuleStyleValue
Represents the style value for row-rule as defined in css-gaps-1.
RowRuleWidthStyleValue
Represents the style value for row-rule-width as defined in css-gaps-1.
RubyAlignStyleValue
Represents the style value for ruby-align as defined in css-ruby-1.
RubyMergeStyleValue
Represents the style value for ruby-merge as defined in css-ruby-1.
RubyOverhangStyleValue
Represents the style value for ruby-overhang as defined in css-ruby-1.
Rule
RuleOverlapStyleValue
Represents the style value for rule-overlap as defined in css-gaps-1.
ScanMediaFeature
ScanMediaFeatureKeyword
ScriptingMediaFeature
ScriptingMediaFeatureKeyword
ScrollBehaviorStyleValue
Represents the style value for scroll-behavior as defined in css-overflow-5.
ScrollInitialTargetStyleValue
Represents the style value for scroll-initial-target as defined in css-scroll-snap-2.
ScrollMarkerGroupStyleValue
Represents the style value for scroll-marker-group as defined in css-overflow-5.
ScrollSnapAlignStyleValueKeywords
ScrollSnapStopStyleValue
Represents the style value for scroll-snap-stop as defined in css-scroll-snap-2.
ScrollStateFeature
ScrollStateQuery
ScrollTargetGroupStyleValue
Represents the style value for scroll-target-group as defined in css-overflow-5.
ScrollableScrollStateFeature
ScrollableScrollStateFeatureKeyword
ScrollbarWidthStyleValue
Represents the style value for scrollbar-width as defined in css-scrollbars-1.
SelectorComponent
SelfPosition
https://drafts.csswg.org/css-align-3/#typedef-self-position
SingleAnimationComposition
https://drafts.csswg.org/css-animations-2/#typedef-single-animation-composition
SingleAnimationDirection
https://drafts.csswg.org/css-animations/#typedef-single-animation-direction
SingleAnimationFillMode
https://drafts.csswg.org/css-animations/#typedef-single-animation-fill-mode
SingleAnimationIterationCount
SingleAnimationPlayState
https://drafts.csswg.org/css-animations/#typedef-single-animation-play-state
SingleAnimationTimeline
https://drafts.csswg.org/css-animations-2/#typedef-single-animation-timeline
SingleAnimationTriggerBehavior
https://drafts.csswg.org/css-animations-2/#typedef-single-animation-trigger-behavior
SingleAnimationTriggerType
https://drafts.csswg.org/css-animations-2/#typedef-single-animation-trigger-type
SingleFontFamilyStyleValue
SingleTransitionProperty
SliderOrientationStyleValue
Represents the style value for slider-orientation as defined in css-forms-1.
SnapBlockKeyword
SnapInlineKeyword
SnappedScrollStateFeature
SnappedScrollStateFeatureKeyword
SpacingTrim
https://drafts.csswg.org/css-text-4/#typedef-spacing-trim
SpatialNavigationActionStyleValue
Represents the style value for spatial-navigation-action as defined in css-nav-1.
SpatialNavigationContainStyleValue
Represents the style value for spatial-navigation-contain as defined in css-nav-1.
SpatialNavigationFunctionStyleValue
Represents the style value for spatial-navigation-function as defined in css-nav-1.
SpeakStyleValue
Represents the style value for speak as defined in css-speech-1.
StepPosition
StringKeyword
StuckScrollStateFeature
StuckScrollStateFeatureKeyword
StyleQuery
StyleValue
SupportsCondition
SupportsFeature
SvgTag
https://svgwg.org/svg2-draft/eltindex.html
Symbol
https://drafts.csswg.org/css-counter-styles-3/#funcdef-symbols
SymbolsType
https://drafts.csswg.org/css-counter-styles-3/#typedef-symbols-type
SystemColor
TableLayoutStyleValue
Represents the style value for table-layout as defined in css-tables-3.
Tag
Target
https://drafts.csswg.org/css-content-3/#typedef-target
TargetCounterKind
TextAlignAllStyleValue
Represents the style value for text-align-all as defined in css-text-4.
TextAlignLastStyleValue
Represents the style value for text-align-last as defined in css-text-4.
TextAlignStyleValue
Represents the style value for text-align as defined in css-text-4.
TextAutospaceStyleValue
Represents the style value for text-autospace as defined in css-text-4.
TextBoxTrimStyleValue
Represents the style value for text-box-trim as defined in css-inline-3.
TextCombineUprightStyleValue
Represents the style value for text-combine-upright as defined in css-writing-modes-4.
TextDecorationSkipBoxStyleValue
Represents the style value for text-decoration-skip-box as defined in css-text-decor-4.
TextDecorationSkipInkStyleValue
Represents the style value for text-decoration-skip-ink as defined in css-text-decor-4.
TextDecorationSkipStyleValue
Represents the style value for text-decoration-skip as defined in css-text-decor-4.
TextDecorationStyleStyleValue
Represents the style value for text-decoration-style as defined in css-text-decor-4.
TextDecorationThicknessStyleValue
Represents the style value for text-decoration-thickness as defined in css-text-decor-4.
TextFunctionContent
TextGroupAlignStyleValue
Represents the style value for text-group-align as defined in css-text-4.
TextOrientationStyleValue
Represents the style value for text-orientation as defined in css-writing-modes-4.
TextWrapModeStyleValue
Represents the style value for text-wrap-mode as defined in css-text-4.
TextWrapStyleStyleValue
Represents the style value for text-wrap-style as defined in css-text-4.
Time
Todo
TransformBoxStyleValue
Represents the style value for transform-box as defined in css-transforms-2.
TransformFunction
TransformStyleStyleValue
Represents the style value for transform-style as defined in css-transforms-2.
TransitionBehaviorValue
https://drafts.csswg.org/css-transitions-2/#typedef-transition-behavior-value
TrySize
https://drafts.csswg.org/css-anchor-position-1/#typedef-try-size
UnicodeBidiStyleValue
Represents the style value for unicode-bidi as defined in css-writing-modes-4.
Url
https://drafts.csswg.org/css-values-4/#url-value
UserSelectStyleValue
Represents the style value for user-select as defined in css-ui-4.
VerticalViewportSegmentsMediaFeature
VideoColorGamutMediaFeature
VideoColorGamutMediaFeatureKeyword
VideoDynamicRangeMediaFeature
VideoDynamicRangeMediaFeatureKeyword
ViewTransitionGroupStyleValue
Represents the style value for view-transition-group as defined in css-view-transitions-2.
VisibilityStyleValue
Represents the style value for visibility as defined in css-display-4.
VisualBox
https://drafts.csswg.org/css-box-4/#typedef-visual-box
VoiceBalanceStyleValue
Represents the style value for voice-balance as defined in css-speech-1.
VoiceStressStyleValue
Represents the style value for voice-stress as defined in css-speech-1.
WebkitAnimationMediaFeature
WebkitDevicePixelRatioMediaFeature
WebkitFunctionalPseudoClass
WebkitFunctionalPseudoElement
WebkitPseudoClass
https://searchfox.org/wubkat/source/Source/WebCore/css/CSSPseudoSelectors.json
WebkitPseudoElement
https://searchfox.org/wubkat/source/Source/WebCore/css/CSSPseudoSelectors.json
WebkitTransform2dMediaFeature
WebkitTransform3dMediaFeature
WebkitTransitionMediaFeature
WebkitVideoPlayableInlineMediaFeature
WhiteSpaceCollapseStyleValue
Represents the style value for white-space-collapse as defined in css-text-4.
WidthContainerFeature
WidthMediaFeature
WidthStyleValue
Represents the style value for width as defined in css-sizing-4.
WordBreakStyleValue
Represents the style value for word-break as defined in css-text-4.
WordSpacingStyleValue
Represents the style value for word-spacing as defined in css-text-4.
WordWrapStyleValue
Represents the style value for word-wrap as defined in css-text-4.
WrapAfterStyleValue
Represents the style value for wrap-after as defined in css-text-4.
WrapBeforeStyleValue
Represents the style value for wrap-before as defined in css-text-4.
WrapFlowStyleValue
Represents the style value for wrap-flow as defined in css-exclusions-1.
WrapInsideStyleValue
Represents the style value for wrap-inside as defined in css-text-4.
WrapThroughStyleValue
Represents the style value for wrap-through as defined in css-exclusions-1.
WritingModeStyleValue
Represents the style value for writing-mode as defined in css-writing-modes-4.

Traits§

AbsoluteUnit
AtomSet
Usage with #[derive(AtomSet)]
DeclarationMetadata
DeclarationValue
A trait that can be used for AST nodes representing a Declaration’s Value. It offers some convenience functions for handling such values.
ToChromashift

Type Aliases§

AspectRatioMediaFeature
AutoLineColorList
AutoLineStyleList
Autospace
BasicShapeRect
BgImage
ColorProfileRule
ComplexSelector
CounterStyleRule
DeviceAspectRatioMediaFeature
FontFeatureValuesRule
FontPaletteValuesRule
ForgivingSelector
GapAutoRuleList
GapRuleList
ImportRule
Integer
LineColorList
LineStyleList
NamespaceRule
Number
RelativeSelector
ResolutionMediaFeature
ScopeRule
SingleAnimationTrigger
SpreadShadow
StartingStyleRule
String
Syntax
TextEdge
TrackSize
UpdateMediaFeature
Uri