package properties
Variables
PropertyMap
map[string]Property{
"accent-color": AccentColor{},
"align-content": AlignContent{},
"align-items": AlignItems{},
"align-self": AlignSelf{},
"all": All{},
"animation": Animation{},
"animation-delay": AnimationDelay{},
"animation-direction": AnimationDirection{},
"animation-duration": AnimationDuration{},
"animation-fill-mode": AnimationFillMode{},
"animation-iteration-count": AnimationIterationCount{},
"animation-name": AnimationName{},
"animation-play-state": AnimationPlayState{},
"animation-timing-function": AnimationTimingFunction{},
"aspect-ratio": AspectRatio{},
"backdrop-filter": BackdropFilter{},
"backface-visibility": BackfaceVisibility{},
"background": Background{},
"background-attachment": BackgroundAttachment{},
"background-blend-mode": BackgroundBlendMode{},
"background-clip": BackgroundClip{},
"background-color": BackgroundColor{},
"background-image": BackgroundImage{},
"background-origin": BackgroundOrigin{},
"background-position": BackgroundPosition{},
"background-position-x": BackgroundPositionX{},
"background-position-y": BackgroundPositionY{},
"background-repeat": BackgroundRepeat{},
"background-size": BackgroundSize{},
"block-size": BlockSize{},
"border": Border{},
"border-block": BorderBlock{},
"border-block-color": BorderBlockColor{},
"border-block-end-color": BorderBlockEndColor{},
"border-block-end-style": BorderBlockEndStyle{},
"border-block-end-width": BorderBlockEndWidth{},
"border-block-start-color": BorderBlockStartColor{},
"border-block-start-style": BorderBlockStartStyle{},
"border-block-start-width": BorderBlockStartWidth{},
"border-block-style": BorderBlockStyle{},
"border-block-width": BorderBlockWidth{},
"border-bottom": BorderBottom{},
"border-bottom-color": BorderBottomColor{},
"border-bottom-left-radius": BorderBottomLeftRadius{},
"border-bottom-right-radius": BorderBottomRightRadius{},
"border-bottom-style": BorderBottomStyle{},
"border-bottom-width": BorderBottomWidth{},
"border-collapse": BorderCollapse{},
"border-color": BorderColor{},
"border-image": BorderImage{},
"border-image-outset": BorderImageOutset{},
"border-image-repeat": BorderImageRepeat{},
"border-image-slice": BorderImageSlice{},
"border-image-source": BorderImageSource{},
"border-image-width": BorderImageWidth{},
"border-inline": BorderInline{},
"border-inline-color": BorderInlineColor{},
"border-inline-end-color": BorderInlineEndColor{},
"border-inline-end-style": BorderInlineEndStyle{},
"border-inline-end-width": BorderInlineEndWidth{},
"border-inline-start-color": BorderInlineStartColor{},
"border-inline-start-style": BorderInlineStartStyle{},
"border-inline-start-width": BorderInlineStartWidth{},
"border-inline-style": BorderInlineStyle{},
"border-inline-width": BorderInlineWidth{},
"border-left": BorderLeft{},
"border-left-color": BorderLeftColor{},
"border-left-style": BorderLeftStyle{},
"border-left-width": BorderLeftWidth{},
"border-radius": BorderRadius{},
"border-right": BorderRight{},
"border-right-color": BorderRightColor{},
"border-right-style": BorderRightStyle{},
"border-right-width": BorderRightWidth{},
"border-spacing": BorderSpacing{},
"border-style": BorderStyle{},
"border-top": BorderTop{},
"border-top-color": BorderTopColor{},
"border-top-left-radius": BorderTopLeftRadius{},
"border-top-right-radius": BorderTopRightRadius{},
"border-top-style": BorderTopStyle{},
"border-top-width": BorderTopWidth{},
"border-width": BorderWidth{},
"bottom": Bottom{},
"box-decoration-break": BoxDecorationBreak{},
"box-reflect": BoxReflect{},
"box-shadow": BoxShadow{},
"box-sizing": BoxSizing{},
"break-after": BreakAfter{},
"break-before": BreakBefore{},
"break-inside": BreakInside{},
"caption-side": CaptionSide{},
"caret-color": CaretColor{},
"charset": Charset{},
"clear": Clear{},
"clip": Clip{},
"color": Color{},
"column-count": ColumnCount{},
"column-fill": ColumnFill{},
"column-gap": ColumnGap{},
"column-rule": ColumnRule{},
"column-rule-color": ColumnRuleColor{},
"column-rule-style": ColumnRuleStyle{},
"column-rule-width": ColumnRuleWidth{},
"column-span": ColumnSpan{},
"column-width": ColumnWidth{},
"columns": Columns{},
"content": Content{},
"counter-increment": CounterIncrement{},
"counter-reset": CounterReset{},
"cursor": Cursor{},
"direction": Direction{},
"display": Display{},
"empty-cells": EmptyCells{},
"filter": Filter{},
"flex": Flex{},
"flex-basis": FlexBasis{},
"flex-direction": FlexDirection{},
"flex-flow": FlexFlow{},
"flex-grow": FlexGrow{},
"flex-shrink": FlexShrink{},
"flex-wrap": FlexWrap{},
"float": Float{},
"font": Font{},
"font-face": FontFace{},
"font-family": FontFamily{},
"font-feature-settings": FontFeatureSettings{},
"font-feature-values": FontFeatureValues{},
"font-kerning": FontKerning{},
"font-language-override": FontLanguageOverride{},
"font-size": FontSize{},
"font-size-adjust": FontSizeAdjust{},
"font-stretch": FontStretch{},
"font-style": FontStyle{},
"font-synthesis": FontSynthesis{},
"font-variant": FontVariant{},
"font-variant-alternates": FontVariantAlternates{},
"font-variant-caps": FontVariantCaps{},
"font-variant-east-asian": FontVariantEastAsian{},
"font-variant-ligatures": FontVariantLigatures{},
"font-variant-numeric": FontVariantNumeric{},
"font-variant-position": FontVariantPosition{},
"font-weight": FontWeight{},
"gap": Gap{},
"grid": Grid{},
"grid-area": GridArea{},
"grid-auto-columns": GridAutoColumns{},
"grid-auto-flow": GridAutoFlow{},
"grid-auto-rows": GridAutoRows{},
"grid-column": GridColumn{},
"grid-column-end": GridColumnEnd{},
"grid-column-gap": GridColumnGap{},
"grid-column-start": GridColumnStart{},
"grid-gap": GridGap{},
"grid-row": GridRow{},
"grid-row-end": GridRowEnd{},
"grid-row-gap": GridRowGap{},
"grid-row-start": GridRowStart{},
"grid-template": GridTemplate{},
"grid-template-areas": GridTemplateAreas{},
"grid-template-columns": GridTemplateColumns{},
"grid-template-rows": GridTemplateRows{},
"hanging-punctuation": HangingPunctuation{},
"height": Height{},
"hyphens": Hyphens{},
"image-rendering": ImageRendering{},
"import": Import{},
"inline-size": InlineSize{},
"inset": Inset{},
"inset-block": InsetBlock{},
"inset-block-end": InsetBlockEnd{},
"inset-block-start": InsetBlockStart{},
"inset-inline": InsetInline{},
"inset-inline-end": InsetInlineEnd{},
"inset-inline-start": InsetInlineStart{},
"isolation": Isolation{},
"justify-content": JustifyContent{},
"justify-items": JustifyItems{},
"justify-self": JustifySelf{},
"keyframes": Keyframes{},
"left": Left{},
"letter-spacing": LetterSpacing{},
"line-break": LineBreak{},
"line-height": LineHeight{},
"list-style": ListStyle{},
"list-style-image": ListStyleImage{},
"list-style-position": ListStylePosition{},
"list-style-type": ListStyleType{},
"margin": Margin{},
"margin-block": MarginBlock{},
"margin-block-end": MarginBlockEnd{},
"margin-block-start": MarginBlockStart{},
"margin-bottom": MarginBottom{},
"margin-inline": MarginInline{},
"margin-inline-end": MarginInlineEnd{},
"margin-inline-start": MarginInlineStart{},
"margin-left": MarginLeft{},
"margin-right": MarginRight{},
"margin-top": MarginTop{},
"mask": Mask{},
"mask-clip": MaskClip{},
"mask-composite": MaskComposite{},
"mask-image": MaskImage{},
"mask-mode": MaskMode{},
"mask-origin": MaskOrigin{},
"mask-position": MaskPosition{},
"mask-repeat": MaskRepeat{},
"mask-size": MaskSize{},
"mask-type": MaskType{},
"max-height": MaxHeight{},
"max-width": MaxWidth{},
"media": Media{},
"max-block-size": MaxBlockSize{},
"max-inline-size": MaxInlineSize{},
"min-block-size": MinBlockSize{},
"min-inline-size": MinInlineSize{},
"min-height": MinHeight{},
"min-width": MinWidth{},
"mix-blend-mode": MixBlendMode{},
"object-fit": ObjectFit{},
"object-position": ObjectPosition{},
"offset": Offset{},
"offset-anchor": OffsetAnchor{},
"offset-distance": OffsetDistance{},
"offset-path": OffsetPath{},
"offset-rotate": OffsetRotate{},
"opacity": Opacity{},
"order": Order{},
"orphans": Orphans{},
"outline": Outline{},
"outline-color": OutlineColor{},
"outline-offset": OutlineOffset{},
"outline-style": OutlineStyle{},
"outline-width": OutlineWidth{},
"overflow": Overflow{},
"overflow-anchor": OverflowAnchor{},
"overflow-wrap": OverflowWrap{},
"overflow-x": OverflowX{},
"overflow-y": OverflowY{},
"overscroll-behavior": OverscrollBehavior{},
"overscroll-behavior-block": OverscrollBehaviorBlock{},
"overscroll-behavior-inline": OverscrollBehaviorInline{},
"overscroll-behavior-x": OverscrollBehaviorX{},
"overscroll-behavior-y": OverscrollBehaviorY{},
"padding": Padding{},
"padding-block": PaddingBlock{},
"padding-block-end": PaddingBlockEnd{},
"padding-block-start": PaddingBlockStart{},
"padding-bottom": PaddingBottom{},
"padding-inline": PaddingInline{},
"padding-inline-end": PaddingInlineEnd{},
"padding-inline-start": PaddingInlineStart{},
"padding-left": PaddingLeft{},
"padding-right": PaddingRight{},
"padding-top": PaddingTop{},
"page-break-after": PageBreakAfter{},
"page-break-before": PageBreakBefore{},
"page-break-inside": PageBreakInside{},
"paint-order": PaintOrder{},
"perspective": Perspective{},
"perspective-origin": PerspectiveOrigin{},
"place-content": PlaceContent{},
"place-items": PlaceItems{},
"place-self": PlaceSelf{},
"pointer-events": PointerEvents{},
"position": Position{},
"quotes": Quotes{},
"resize": Resize{},
"right": Right{},
"rotate": Rotate{},
"row-gap": RowGap{},
"scale": Scale{},
"scroll-behavior": ScrollBehavior{},
"scroll-margin": ScrollMargin{},
"scroll-margin-block": ScrollMarginBlock{},
"scroll-margin-block-end": ScrollMarginBlockEnd{},
"scroll-margin-block-start": ScrollMarginBlockStart{},
"scroll-margin-bottom": ScrollMarginBottom{},
"scroll-margin-inline": ScrollMarginInline{},
"scroll-margin-inline-end": ScrollMarginInlineEnd{},
"scroll-margin-inline-start": ScrollMarginInlineStart{},
"scroll-margin-left": ScrollMarginLeft{},
"scroll-margin-right": ScrollMarginRight{},
"scroll-margin-top": ScrollMarginTop{},
"scroll-padding": ScrollPadding{},
"scroll-padding-block": ScrollPaddingBlock{},
"scroll-padding-block-end": ScrollPaddingBlockEnd{},
"scroll-padding-block-start": ScrollPaddingBlockStart{},
"scroll-padding-bottom": ScrollPaddingBottom{},
"scroll-padding-inline": ScrollPaddingInline{},
"scroll-padding-inline-end": ScrollPaddingInlineEnd{},
"scroll-padding-inline-start": ScrollPaddingInlineStart{},
"scroll-padding-left": ScrollPaddingLeft{},
"scroll-padding-right": ScrollPaddingRight{},
"scroll-padding-top": ScrollPaddingTop{},
"scroll-snap-align": ScrollSnapAlign{},
"scroll-snap-stop": ScrollSnapStop{},
"scroll-snap-type": ScrollSnapType{},
"scrollbar-color": ScrollbarColor{},
"tab-size": TabSize{},
"table-layout": TableLayout{},
"text-align": TextAlign{},
"text-align-last": TextAlignLast{},
"text-combine-upright": TextCombineUpright{},
"text-decoration": TextDecoration{},
"text-decoration-color": TextDecorationColor{},
"text-decoration-line": TextDecorationLine{},
"text-decoration-style": TextDecorationStyle{},
"text-decoration-thickness": TextDecorationThickness{},
"text-emphasis": TextEmphasis{},
"text-indent": TextIndent{},
"text-justify": TextJustify{},
"text-orientation": TextOrientation{},
"text-overflow": TextOverflow{},
"text-shadow": TextShadow{},
"text-transform": TextTransform{},
"text-underline-position": TextUnderlinePosition{},
"top": Top{},
"transform": Transform{},
"transform-origin": TransformOrigin{},
"transform-style": TransformStyle{},
"transition": Transition{},
"transition-delay": TransitionDelay{},
"transition-duration": TransitionDuration{},
"transition-property": TransitionProperty{},
"transition-timing-function": TransitionTimingFunction{},
"translate": Translate{},
"unicode-bidi": UnicodeBidi{},
"user-select": UserSelect{},
"vertical-align": VerticalAlign{},
"visibility": Visibility{},
"white-space": WhiteSpace{},
"widows": Widows{},
"width": Width{},
"word-break": WordBreak{},
"word-spacing": WordSpacing{},
"word-wrap": WordWrap{},
"writing-mode": WritingMode{},
"z-index": ZIndex{},
}
Types
AccentColor
struct
Specifies an accent color for user-interface controls
AccentColor.Key
AccentColor.Process
func (p AccentColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AlignContent
struct
Specifies the alignment between the lines inside a flexible container when the items do not use all available space
AlignContent.Key
AlignContent.Process
func (p AlignContent) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AlignItems
struct
Specifies the alignment for items inside a flexible container
AlignItems.Key
AlignItems.Process
func (p AlignItems) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AlignSelf
struct
Specifies the alignment for selected items inside a flexible container
AlignSelf.Key
AlignSelf.Process
func (p AlignSelf) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
All
struct
Resets all properties (except unicode-bidi and direction)
All.Key
All.Process
func (p All) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Animation
struct
A shorthand property for all the animation-* properties
Animation.Key
Animation.Process
func (p Animation) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AnimationDelay
struct
Specifies a delay for the start of an animation
AnimationDelay.Key
AnimationDelay.Process
func (p AnimationDelay) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AnimationDirection
struct
Specifies whether an animation should be played forwards, backwards or in alternate cycles
AnimationDirection.Key
AnimationDirection.Process
func (p AnimationDirection) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AnimationDuration
struct
Specifies how long an animation should take to complete one cycle
AnimationDuration.Key
AnimationDuration.Process
func (p AnimationDuration) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AnimationFillMode
struct
Specifies a style for the element when the animation is not playing (before it starts, after it ends, or both)
AnimationFillMode.Key
AnimationFillMode.Process
func (p AnimationFillMode) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AnimationIterationCount
struct
Specifies the number of times an animation should be played
AnimationIterationCount.Key
AnimationIterationCount.Process
func (p AnimationIterationCount) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AnimationName
struct
Specifies a name for the @keyframes animation
AnimationName.Key
AnimationName.Process
func (p AnimationName) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AnimationPlayState
struct
Specifies whether the animation is running or paused
AnimationPlayState.Key
AnimationPlayState.Process
func (p AnimationPlayState) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AnimationTimingFunction
struct
Specifies the speed curve of an animation
AnimationTimingFunction.Key
AnimationTimingFunction.Process
func (p AnimationTimingFunction) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
AspectRatio
struct
Specifies preferred aspect ratio of an element
AspectRatio.Key
AspectRatio.Process
func (p AspectRatio) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackdropFilter
struct
Defines a graphical effect to the area behind an element
BackdropFilter.Key
BackdropFilter.Process
func (p BackdropFilter) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackfaceVisibility
struct
Defines whether or not the back face of an element should be visible when facing the user
BackfaceVisibility.Key
BackfaceVisibility.Process
func (p BackfaceVisibility) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Background
struct
A shorthand property for all the background-* properties
Background.Key
Background.Process
func (p Background) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackgroundAttachment
struct
Sets whether a background image scrolls with the rest of the page, or is fixed
BackgroundAttachment.Key
BackgroundAttachment.Process
func (p BackgroundAttachment) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackgroundBlendMode
struct
Specifies the blending mode of each background layer (color/image)
BackgroundBlendMode.Key
BackgroundBlendMode.Process
func (p BackgroundBlendMode) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackgroundClip
struct
Defines how far the background (color or image) should extend within an element
BackgroundClip.Key
BackgroundClip.Process
func (p BackgroundClip) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackgroundColor
struct
Specifies the background color of an element
BackgroundColor.Key
BackgroundColor.Process
func (p BackgroundColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackgroundImage
struct
Specifies one or more background images for an element
BackgroundImage.Key
BackgroundImage.Process
func (p BackgroundImage) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackgroundOrigin
struct
Specifies the origin position of a background image
BackgroundOrigin.Key
BackgroundOrigin.Process
func (p BackgroundOrigin) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackgroundPosition
struct
Specifies the position of a background image
BackgroundPosition.Key
BackgroundPosition.Process
func (p BackgroundPosition) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackgroundPositionX
struct
Specifies the position of a background image on x-axis
BackgroundPositionX.Key
BackgroundPositionX.Process
func (p BackgroundPositionX) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackgroundPositionY
struct
Specifies the position of a background image on y-axis
BackgroundPositionY.Key
BackgroundPositionY.Process
func (p BackgroundPositionY) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackgroundRepeat
struct
Sets if/how a background image will be repeated
BackgroundRepeat.Key
BackgroundRepeat.Process
func (p BackgroundRepeat) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BackgroundSize
struct
Specifies the size of the background images
BackgroundSize.Key
BackgroundSize.Process
func (p BackgroundSize) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BlockSize
struct
Specifies the size of an element in block direction
BlockSize.Key
BlockSize.Process
func (p BlockSize) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Border
struct
A shorthand property for border-width, border-style and border-color
Border.Key
Border.Process
func (p Border) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
border-width border-style border-color|initial|inherit
BorderBlock
struct
A shorthand property for border-block-width, border-block-style and border-block-color
BorderBlock.Key
BorderBlock.Process
func (p BorderBlock) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBlockColor
struct
Sets the color of the borders at start and end in the block direction
BorderBlockColor.Key
BorderBlockColor.Process
func (p BorderBlockColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBlockEndColor
struct
Sets the color of the border at the end in the block direction
BorderBlockEndColor.Key
BorderBlockEndColor.Process
func (p BorderBlockEndColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBlockEndStyle
struct
Sets the style of the border at the end in the block direction
BorderBlockEndStyle.Key
BorderBlockEndStyle.Process
func (p BorderBlockEndStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBlockEndWidth
struct
Sets the width of the border at the end in the block direction
BorderBlockEndWidth.Key
BorderBlockEndWidth.Process
func (p BorderBlockEndWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBlockStartColor
struct
Sets the color of the border at the start in the block direction
BorderBlockStartColor.Key
BorderBlockStartColor.Process
func (p BorderBlockStartColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBlockStartStyle
struct
Sets the style of the border at the start in the block direction
BorderBlockStartStyle.Key
BorderBlockStartStyle.Process
func (p BorderBlockStartStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBlockStartWidth
struct
Sets the width of the border at the start in the block direction
BorderBlockStartWidth.Key
BorderBlockStartWidth.Process
func (p BorderBlockStartWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBlockStyle
struct
Sets the style of the borders at start and end in the block direction
BorderBlockStyle.Key
BorderBlockStyle.Process
func (p BorderBlockStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBlockWidth
struct
Sets the width of the borders at start and end in the block direction
BorderBlockWidth.Key
BorderBlockWidth.Process
func (p BorderBlockWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBottom
struct
A shorthand property for border-bottom-width, border-bottom-style and border-bottom-color
BorderBottom.Key
BorderBottom.Process
func (p BorderBottom) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
border-width border-style border-color|initial|inherit
BorderBottomColor
struct
Sets the color of the bottom border
BorderBottomColor.Key
BorderBottomColor.Process
func (p BorderBottomColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
color|transparent|initial|inherit
BorderBottomLeftRadius
struct
Defines the radius of the border of the bottom-left corner
BorderBottomLeftRadius.Key
BorderBottomLeftRadius.Process
func (p BorderBottomLeftRadius) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBottomRightRadius
struct
Defines the radius of the border of the bottom-right corner
BorderBottomRightRadius.Key
BorderBottomRightRadius.Process
func (p BorderBottomRightRadius) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderBottomStyle
struct
Sets the style of the bottom border
BorderBottomStyle.Key
BorderBottomStyle.Process
func (p BorderBottomStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit
BorderBottomWidth
struct
Sets the width of the bottom border
BorderBottomWidth.Key
BorderBottomWidth.Process
func (p BorderBottomWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
medium|thin|thick|length|initial|inherit
BorderCollapse
struct
Sets whether table borders should collapse into a single border or be separated
BorderCollapse.Key
BorderCollapse.Process
func (p BorderCollapse) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderColor
struct
Sets the color of the four borders
BorderColor.Key
BorderColor.Process
func (p BorderColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderImage
struct
A shorthand property for all the border-image-* properties
BorderImage.Key
BorderImage.Process
func (p BorderImage) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderImageOutset
struct
Specifies the amount by which the border image area extends beyond the border box
BorderImageOutset.Key
BorderImageOutset.Process
func (p BorderImageOutset) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderImageRepeat
struct
Specifies whether the border image should be repeated, rounded or stretched
BorderImageRepeat.Key
BorderImageRepeat.Process
func (p BorderImageRepeat) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderImageSlice
struct
Specifies how to slice the border image
BorderImageSlice.Key
BorderImageSlice.Process
func (p BorderImageSlice) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderImageSource
struct
Specifies the path to the image to be used as a border
BorderImageSource.Key
BorderImageSource.Process
func (p BorderImageSource) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderImageWidth
struct
Specifies the width of the border image
BorderImageWidth.Key
BorderImageWidth.Process
func (p BorderImageWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderInline
struct
A shorthand property for border-inline-width, border-inline-style and border-inline-color
BorderInline.Key
BorderInline.Process
func (p BorderInline) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderInlineColor
struct
Sets the color of the borders at start and end in the inline direction
BorderInlineColor.Key
BorderInlineColor.Process
func (p BorderInlineColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderInlineEndColor
struct
Sets the color of the border at the end in the inline direction
BorderInlineEndColor.Key
BorderInlineEndColor.Process
func (p BorderInlineEndColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderInlineEndStyle
struct
Sets the style of the border at the end in the inline direction
BorderInlineEndStyle.Key
BorderInlineEndStyle.Process
func (p BorderInlineEndStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderInlineEndWidth
struct
Sets the width of the border at the end in the inline direction
BorderInlineEndWidth.Key
BorderInlineEndWidth.Process
func (p BorderInlineEndWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderInlineStartColor
struct
Sets the color of the border at the start in the inline direction
BorderInlineStartColor.Key
BorderInlineStartColor.Process
func (p BorderInlineStartColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderInlineStartStyle
struct
Sets the style of the border at the start in the inline direction
BorderInlineStartStyle.Key
BorderInlineStartStyle.Process
func (p BorderInlineStartStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderInlineStartWidth
struct
Sets the width of the border at the start in the inline direction
BorderInlineStartWidth.Key
BorderInlineStartWidth.Process
func (p BorderInlineStartWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderInlineStyle
struct
Sets the style of the borders at start and end in the inline direction
BorderInlineStyle.Key
BorderInlineStyle.Process
func (p BorderInlineStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderInlineWidth
struct
Sets the width of the borders at start and end in the inline direction
BorderInlineWidth.Key
BorderInlineWidth.Process
func (p BorderInlineWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderLeft
struct
A shorthand property for all the border-left-* properties
BorderLeft.Key
BorderLeft.Process
func (p BorderLeft) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
border-width border-style border-color|initial|inherit
BorderLeftColor
struct
Sets the color of the left border
BorderLeftColor.Key
BorderLeftColor.Process
func (p BorderLeftColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
color|transparent|initial|inherit
BorderLeftStyle
struct
Sets the style of the left border
BorderLeftStyle.Key
BorderLeftStyle.Process
func (p BorderLeftStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit
BorderLeftWidth
struct
Sets the width of the left border
BorderLeftWidth.Key
BorderLeftWidth.Process
func (p BorderLeftWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
medium|thin|thick|length|initial|inherit
BorderRadius
struct
A shorthand property for the four border-*-radius properties
BorderRadius.Key
BorderRadius.Process
func (p BorderRadius) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderRight
struct
A shorthand property for all the border-right-* properties
BorderRight.Key
BorderRight.Process
func (p BorderRight) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
border-width border-style border-color|initial|inherit
BorderRightColor
struct
Sets the color of the right border
BorderRightColor.Key
BorderRightColor.Process
func (p BorderRightColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
color|transparent|initial|inherit
BorderRightStyle
struct
Sets the style of the right border
BorderRightStyle.Key
BorderRightStyle.Process
func (p BorderRightStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit
BorderRightWidth
struct
Sets the width of the right border
BorderRightWidth.Key
BorderRightWidth.Process
func (p BorderRightWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
medium|thin|thick|length|initial|inherit
BorderSpacing
struct
Sets the distance between the borders of adjacent cells
BorderSpacing.Key
BorderSpacing.Process
func (p BorderSpacing) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderStyle
struct
Sets the style of the four borders
BorderStyle.Key
BorderStyle.Process
func (p BorderStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit
BorderTop
struct
A shorthand property for border-top-width, border-top-style and border-top-color
BorderTop.Key
BorderTop.Process
func (p BorderTop) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
border-width border-style border-color|initial|inherit
BorderTopColor
struct
Sets the color of the top border
BorderTopColor.Key
BorderTopColor.Process
func (p BorderTopColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
color|transparent|initial|inherit
BorderTopLeftRadius
struct
Defines the radius of the border of the top-left corner
BorderTopLeftRadius.Key
BorderTopLeftRadius.Process
func (p BorderTopLeftRadius) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderTopRightRadius
struct
Defines the radius of the border of the top-right corner
BorderTopRightRadius.Key
BorderTopRightRadius.Process
func (p BorderTopRightRadius) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BorderTopStyle
struct
Sets the style of the top border
BorderTopStyle.Key
BorderTopStyle.Process
func (p BorderTopStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|initial|inherit
BorderTopWidth
struct
Sets the width of the top border
BorderTopWidth.Key
BorderTopWidth.Process
func (p BorderTopWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
medium|thin|thick|length|initial|inherit
BorderWidth
struct
Sets the width of the four borders
BorderWidth.Key
BorderWidth.Process
func (p BorderWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Bottom
struct
Sets the elements position, from the bottom of its parent element
Bottom.Key
Bottom.Process
func (p Bottom) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
auto|length|initial|inherit
BoxDecorationBreak
struct
Sets the behavior of the background and border of an element at page-break, or, for in-line elements, at line-break.
BoxDecorationBreak.Key
BoxDecorationBreak.Process
func (p BoxDecorationBreak) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BoxReflect
struct
The box-reflect property is used to create a reflection of an element.
BoxReflect.Key
BoxReflect.Process
func (p BoxReflect) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BoxShadow
struct
Attaches one or more shadows to an element
BoxShadow.Key
BoxShadow.Process
func (p BoxShadow) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BoxSizing
struct
Defines how the width and height of an element are calculated: should they include padding and borders, or not
BoxSizing.Key
BoxSizing.Process
func (p BoxSizing) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BreakAfter
struct
Specifies whether or not a page-, column-, or region-break should occur after the specified element
BreakAfter.Key
BreakAfter.Process
func (p BreakAfter) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BreakBefore
struct
Specifies whether or not a page-, column-, or region-break should occur before the specified element
BreakBefore.Key
BreakBefore.Process
func (p BreakBefore) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
BreakInside
struct
Specifies whether or not a page-, column-, or region-break should occur inside the specified element
BreakInside.Key
BreakInside.Process
func (p BreakInside) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
CaptionSide
struct
Specifies the placement of a table caption
CaptionSide.Key
CaptionSide.Process
func (p CaptionSide) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
CaretColor
struct
Specifies the color of the cursor (caret) in inputs, textareas, or any element that is editable
CaretColor.Key
CaretColor.Process
func (p CaretColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Charset
struct
Specifies the character encoding used in the style sheet
Charset.Key
Charset.Process
func (p Charset) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Clear
struct
Specifies what should happen with the element that is next to a floating element
Clear.Key
Clear.Process
func (p Clear) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Clip
struct
Clips an absolutely positioned element
Clip.Key
Clip.Process
func (p Clip) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Color
struct
Sets the color of text
Color.Key
Color.Process
func (p Color) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ColumnCount
struct
Specifies the number of columns an element should be divided into
ColumnCount.Key
ColumnCount.Process
func (p ColumnCount) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ColumnFill
struct
Specifies how to fill columns, balanced or not
ColumnFill.Key
ColumnFill.Process
func (p ColumnFill) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ColumnGap
struct
Specifies the gap between the columns
ColumnGap.Key
ColumnGap.Process
func (p ColumnGap) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ColumnRule
struct
A shorthand property for all the column-rule-* properties
ColumnRule.Key
ColumnRule.Process
func (p ColumnRule) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ColumnRuleColor
struct
Specifies the color of the rule between columns
ColumnRuleColor.Key
ColumnRuleColor.Process
func (p ColumnRuleColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ColumnRuleStyle
struct
Specifies the style of the rule between columns
ColumnRuleStyle.Key
ColumnRuleStyle.Process
func (p ColumnRuleStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ColumnRuleWidth
struct
Specifies the width of the rule between columns
ColumnRuleWidth.Key
ColumnRuleWidth.Process
func (p ColumnRuleWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ColumnSpan
struct
Specifies how many columns an element should span across
ColumnSpan.Key
ColumnSpan.Process
func (p ColumnSpan) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ColumnWidth
struct
Specifies the column width
ColumnWidth.Key
ColumnWidth.Process
func (p ColumnWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Columns
struct
A shorthand property for column-width and column-count
Columns.Key
Columns.Process
func (p Columns) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Content
struct
Used with the :before and :after pseudo-elements, to insert generated content
Content.Key
Content.Process
func (p Content) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
CounterIncrement
struct
Increases or decreases the value of one or more CSS counters
CounterIncrement.Key
CounterIncrement.Process
func (p CounterIncrement) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
CounterReset
struct
Creates or resets one or more CSS counters
CounterReset.Key
CounterReset.Process
func (p CounterReset) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Cursor
struct
Specifies the mouse cursor to be displayed when pointing over an element
Cursor.Key
Cursor.Process
func (p Cursor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Direction
struct
Specifies the text direction/writing direction
Direction.Key
Direction.Process
func (p Direction) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Display
struct
Specifies how a certain HTML element should be displayed
Display.Key
Display.Process
func (p Display) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
EmptyCells
struct
Specifies whether or not to display borders and background on empty cells in a table
EmptyCells.Key
EmptyCells.Process
func (p EmptyCells) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Filter
struct
Defines effects (e.g. blurring or color shifting) on an element before the element is displayed
Filter.Key
Filter.Process
func (p Filter) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Flex
struct
A shorthand property for the flex-grow, flex-shrink, and the flex-basis properties
Flex.Key
Flex.Process
func (p Flex) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FlexBasis
struct
Specifies the initial length of a flexible item
FlexBasis.Key
FlexBasis.Process
func (p FlexBasis) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FlexDirection
struct
Specifies the direction of the flexible items
FlexDirection.Key
FlexDirection.Process
func (p FlexDirection) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FlexFlow
struct
A shorthand property for the flex-direction and the flex-wrap properties
FlexFlow.Key
FlexFlow.Process
func (p FlexFlow) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FlexGrow
struct
Specifies how much the item will grow relative to the rest
FlexGrow.Key
FlexGrow.Process
func (p FlexGrow) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FlexShrink
struct
Specifies how the item will shrink relative to the rest
FlexShrink.Key
FlexShrink.Process
func (p FlexShrink) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FlexWrap
struct
Specifies whether the flexible items should wrap or not
FlexWrap.Key
FlexWrap.Process
func (p FlexWrap) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Float
struct
Specifies whether an element should float to the left, right, or not at all
Float.Key
Float.Process
func (p Float) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Font
struct
A shorthand property for the font-style, font-variant, font-weight, font-size/line-height, and the font-family properties
Font.Key
Font.Process
func (p Font) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontFace
struct
A rule that allows websites to download and use fonts other than the "web-safe" fonts
FontFace.Key
FontFace.Process
func (p FontFace) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontFamily
struct
Specifies the font family for text
FontFamily.Key
FontFamily.Process
func (p FontFamily) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontFeatureSettings
struct
Allows control over advanced typographic features in OpenType fonts
FontFeatureSettings.Key
FontFeatureSettings.Process
func (p FontFeatureSettings) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontFeatureValues
struct
Allows authors to use a common name in font-variant-alternate for feature activated differently in OpenType
FontFeatureValues.Key
FontFeatureValues.Process
func (p FontFeatureValues) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontKerning
struct
Controls the usage of the kerning information (how letters are spaced)
FontKerning.Key
FontKerning.Process
func (p FontKerning) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontLanguageOverride
struct
Controls the usage of language-specific glyphs in a typeface
FontLanguageOverride.Key
FontLanguageOverride.Process
func (p FontLanguageOverride) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontSize
struct
Specifies the font size of text
FontSize.Key
FontSize.Process
func (p FontSize) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontSizeAdjust
struct
Preserves the readability of text when font fallback occurs
FontSizeAdjust.Key
FontSizeAdjust.Process
func (p FontSizeAdjust) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontStretch
struct
Selects a normal, condensed, or expanded face from a font family
FontStretch.Key
FontStretch.Process
func (p FontStretch) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontStyle
struct
Specifies the font style for text
FontStyle.Key
FontStyle.Process
func (p FontStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
normal|italic|oblique|initial|inherit
FontSynthesis
struct
Controls which missing typefaces (bold or italic) may be synthesized by the browser
FontSynthesis.Key
FontSynthesis.Process
func (p FontSynthesis) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontVariant
struct
Specifies whether or not a text should be displayed in a small-caps font
FontVariant.Key
FontVariant.Process
func (p FontVariant) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontVariantAlternates
struct
Controls the usage of alternate glyphs associated to alternative names defined in @font-feature-values
FontVariantAlternates.Key
FontVariantAlternates.Process
func (p FontVariantAlternates) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontVariantCaps
struct
Controls the usage of alternate glyphs for capital letters
FontVariantCaps.Key
FontVariantCaps.Process
func (p FontVariantCaps) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontVariantEastAsian
struct
Controls the usage of alternate glyphs for East Asian scripts (e.g Japanese and Chinese)
FontVariantEastAsian.Key
FontVariantEastAsian.Process
func (p FontVariantEastAsian) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontVariantLigatures
struct
Controls which ligatures and contextual forms are used in textual content of the elements it applies to
FontVariantLigatures.Key
FontVariantLigatures.Process
func (p FontVariantLigatures) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontVariantNumeric
struct
Controls the usage of alternate glyphs for numbers, fractions, and ordinal markers
FontVariantNumeric.Key
FontVariantNumeric.Process
func (p FontVariantNumeric) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontVariantPosition
struct
Controls the usage of alternate glyphs of smaller size positioned as superscript or subscript regarding the baseline of the font
FontVariantPosition.Key
FontVariantPosition.Process
func (p FontVariantPosition) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
FontWeight
struct
Specifies the weight of a font
FontWeight.Key
FontWeight.Process
func (p FontWeight) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
normal|bold|bolder|lighter|number|initial|inherit
Gap
struct
A shorthand property for the row-gap and the column-gap properties
Gap.Key
Gap.Process
func (p Gap) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Grid
struct
A shorthand property for the grid-template-rows, grid-template-columns, grid-template-areas, grid-auto-rows, grid-auto-columns, and the grid-auto-flow properties
Grid.Key
Grid.Process
func (p Grid) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridArea
struct
Either specifies a name for the grid item, or this property is a shorthand property for the grid-row-start, grid-column-start, grid-row-end, and grid-column-end properties
GridArea.Key
GridArea.Process
func (p GridArea) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridAutoColumns
struct
Specifies a default column size
GridAutoColumns.Key
GridAutoColumns.Process
func (p GridAutoColumns) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridAutoFlow
struct
Specifies how auto-placed items are inserted in the grid
GridAutoFlow.Key
GridAutoFlow.Process
func (p GridAutoFlow) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridAutoRows
struct
Specifies a default row size
GridAutoRows.Key
GridAutoRows.Process
func (p GridAutoRows) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridColumn
struct
A shorthand property for the grid-column-start and the grid-column-end properties
GridColumn.Key
GridColumn.Process
func (p GridColumn) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridColumnEnd
struct
Specifies where to end the grid item
GridColumnEnd.Key
GridColumnEnd.Process
func (p GridColumnEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridColumnGap
struct
Specifies the size of the gap between columns
GridColumnGap.Key
GridColumnGap.Process
func (p GridColumnGap) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridColumnStart
struct
Specifies where to start the grid item
GridColumnStart.Key
GridColumnStart.Process
func (p GridColumnStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridGap
struct
A shorthand property for the grid-row-gap and grid-column-gap properties
GridGap.Key
GridGap.Process
func (p GridGap) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridRow
struct
A shorthand property for the grid-row-start and the grid-row-end properties
GridRow.Key
GridRow.Process
func (p GridRow) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridRowEnd
struct
Specifies where to end the grid item
GridRowEnd.Key
GridRowEnd.Process
func (p GridRowEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridRowGap
struct
Specifies the size of the gap between rows
GridRowGap.Key
GridRowGap.Process
func (p GridRowGap) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridRowStart
struct
Specifies where to start the grid item
GridRowStart.Key
GridRowStart.Process
func (p GridRowStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridTemplate
struct
A shorthand property for the grid-template-rows, grid-template-columns and grid-areas properties
GridTemplate.Key
GridTemplate.Process
func (p GridTemplate) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridTemplateAreas
struct
Specifies how to display columns and rows, using named grid items
GridTemplateAreas.Key
GridTemplateAreas.Process
func (p GridTemplateAreas) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridTemplateColumns
struct
Specifies the size of the columns, and how many columns in a grid layout
GridTemplateColumns.Key
GridTemplateColumns.Process
func (p GridTemplateColumns) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
GridTemplateRows
struct
Specifies the size of the rows in a grid layout
GridTemplateRows.Key
GridTemplateRows.Process
func (p GridTemplateRows) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
HangingPunctuation
struct
Specifies whether a punctuation character may be placed outside the line box
HangingPunctuation.Key
HangingPunctuation.Process
func (p HangingPunctuation) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Height
struct
Sets the height of an element
Height.Key
Height.Process
func (p Height) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Hyphens
struct
Sets how to split words to improve the layout of paragraphs
Hyphens.Key
Hyphens.Process
func (p Hyphens) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ImageRendering
struct
Specifies the type of algorithm to use for image scaling
ImageRendering.Key
ImageRendering.Process
func (p ImageRendering) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Import
struct
Allows you to import a style sheet into another style sheet
Import.Key
Import.Process
func (p Import) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
InlineSize
struct
Specifies the size of an element in the inline direction
InlineSize.Key
InlineSize.Process
func (p InlineSize) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Inset
struct
Specifies the distance between an element and the parent element
Inset.Key
Inset.Process
func (p Inset) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
InsetBlock
struct
Specifies the distance between an element and the parent element in the block direction
InsetBlock.Key
InsetBlock.Process
func (p InsetBlock) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
InsetBlockEnd
struct
Specifies the distance between the end of an element and the parent element in the block direction
InsetBlockEnd.Key
InsetBlockEnd.Process
func (p InsetBlockEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
InsetBlockStart
struct
Specifies the distance between the start of an element and the parent element in the block direction
InsetBlockStart.Key
InsetBlockStart.Process
func (p InsetBlockStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
InsetInline
struct
Specifies the distance between an element and the parent element in the inline direction
InsetInline.Key
InsetInline.Process
func (p InsetInline) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
InsetInlineEnd
struct
Specifies the distance between the end of an element and the parent element in the inline direction
InsetInlineEnd.Key
InsetInlineEnd.Process
func (p InsetInlineEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
InsetInlineStart
struct
Specifies the distance between the start of an element and the parent element in the inline direction
InsetInlineStart.Key
InsetInlineStart.Process
func (p InsetInlineStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Isolation
struct
Defines whether an element must create a new stacking content
Isolation.Key
Isolation.Process
func (p Isolation) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
JustifyContent
struct
Specifies the alignment between the items inside a flexible container when the items do not use all available space
JustifyContent.Key
JustifyContent.Process
func (p JustifyContent) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
JustifyItems
struct
Is set on the grid container. Specifies the alignment of grid items in the inline direction
JustifyItems.Key
JustifyItems.Process
func (p JustifyItems) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
JustifySelf
struct
Is set on the grid item. Specifies the alignment of the grid item in the inline direction
JustifySelf.Key
JustifySelf.Process
func (p JustifySelf) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Keyframes
struct
Specifies the animation code
Keyframes.Key
Keyframes.Process
func (p Keyframes) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Left
struct
Specifies the left position of a positioned element
Left.Key
Left.Process
func (p Left) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
auto|length|initial|inherit
LetterSpacing
struct
Increases or decreases the space between characters in a text
LetterSpacing.Key
LetterSpacing.Process
func (p LetterSpacing) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
LineBreak
struct
Specifies how/if to break lines
LineBreak.Key
LineBreak.Process
func (p LineBreak) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
LineHeight
struct
Sets the line height
LineHeight.Key
LineHeight.Process
func (p LineHeight) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ListStyle
struct
Sets all the properties for a list in one declaration
ListStyle.Key
ListStyle.Process
func (p ListStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ListStyleImage
struct
Specifies an image as the list-item marker
ListStyleImage.Key
ListStyleImage.Process
func (p ListStyleImage) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ListStylePosition
struct
Specifies the position of the list-item markers (bullet points)
ListStylePosition.Key
ListStylePosition.Process
func (p ListStylePosition) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ListStyleType
struct
Specifies the type of list-item marker
ListStyleType.Key
ListStyleType.Process
func (p ListStyleType) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Margin
struct
Sets all the margin properties in one declaration
Margin.Key
Margin.Process
func (p Margin) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MarginBlock
struct
Specifies the margin in the block direction
MarginBlock.Key
MarginBlock.Process
func (p MarginBlock) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MarginBlockEnd
struct
Specifies the margin at the end in the block direction
MarginBlockEnd.Key
MarginBlockEnd.Process
func (p MarginBlockEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MarginBlockStart
struct
Specifies the margin at the start in the block direction
MarginBlockStart.Key
MarginBlockStart.Process
func (p MarginBlockStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MarginBottom
struct
Sets the bottom margin of an element
MarginBottom.Key
MarginBottom.Process
func (p MarginBottom) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
length|auto|initial|inherit
MarginInline
struct
Specifies the margin in the inline direction
MarginInline.Key
MarginInline.Process
func (p MarginInline) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MarginInlineEnd
struct
Specifies the margin at the end in the inline direction
MarginInlineEnd.Key
MarginInlineEnd.Process
func (p MarginInlineEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MarginInlineStart
struct
Specifies the margin at the start in the inline direction
MarginInlineStart.Key
MarginInlineStart.Process
func (p MarginInlineStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MarginLeft
struct
Sets the left margin of an element
MarginLeft.Key
MarginLeft.Process
func (p MarginLeft) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
length|auto|initial|inherit
MarginRight
struct
Sets the right margin of an element
MarginRight.Key
MarginRight.Process
func (p MarginRight) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
length|auto|initial|inherit
MarginTop
struct
Sets the top margin of an element
MarginTop.Key
MarginTop.Process
func (p MarginTop) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
length|auto|initial|inherit
Mask
struct
Hides parts of an element by masking or clipping an image at specific places
Mask.Key
Mask.Process
func (p Mask) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaskClip
struct
Specifies the mask area
MaskClip.Key
MaskClip.Process
func (p MaskClip) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaskComposite
struct
Represents a compositing operation used on the current mask layer with the mask layers below it
MaskComposite.Key
MaskComposite.Process
func (p MaskComposite) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaskImage
struct
Specifies an image to be used as a mask layer for an element
MaskImage.Key
MaskImage.Process
func (p MaskImage) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaskMode
struct
Specifies whether the mask layer image is treated as a luminance mask or as an alpha mask
MaskMode.Key
MaskMode.Process
func (p MaskMode) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaskOrigin
struct
Specifies the origin position (the mask position area) of a mask layer image
MaskOrigin.Key
MaskOrigin.Process
func (p MaskOrigin) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaskPosition
struct
Sets the starting position of a mask layer image (relative to the mask position area)
MaskPosition.Key
MaskPosition.Process
func (p MaskPosition) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaskRepeat
struct
Specifies how the mask layer image is repeated
MaskRepeat.Key
MaskRepeat.Process
func (p MaskRepeat) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaskSize
struct
Specifies the size of a mask layer image
MaskSize.Key
MaskSize.Process
func (p MaskSize) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaskType
struct
Specifies whether an SVG
MaskType.Key
MaskType.Process
func (p MaskType) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaxBlockSize
struct
Sets the maximum size of an element in the block direction
MaxBlockSize.Key
MaxBlockSize.Process
func (p MaxBlockSize) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaxHeight
struct
Sets the maximum height of an element
MaxHeight.Key
MaxHeight.Process
func (p MaxHeight) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaxInlineSize
struct
Sets the maximum size of an element in the inline direction
MaxInlineSize.Key
MaxInlineSize.Process
func (p MaxInlineSize) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MaxWidth
struct
Sets the maximum width of an element
MaxWidth.Key
MaxWidth.Process
func (p MaxWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Media
struct
Sets the style rules for different media types/devices/sizes
Media.Key
Media.Process
func (p Media) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MinBlockSize
struct
Sets the minimum size of an element in the block direction
MinBlockSize.Key
MinBlockSize.Process
func (p MinBlockSize) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MinHeight
struct
Sets the minimum height of an element
MinHeight.Key
MinHeight.Process
func (p MinHeight) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MinInlineSize
struct
Sets the minimum size of an element in the inline direction
MinInlineSize.Key
MinInlineSize.Process
func (p MinInlineSize) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MinWidth
struct
Sets the minimum width of an element
MinWidth.Key
MinWidth.Process
func (p MinWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
MixBlendMode
struct
Specifies how an element's content should blend with its direct parent background
MixBlendMode.Key
MixBlendMode.Process
func (p MixBlendMode) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ObjectFit
struct
Specifies how the contents of a replaced element should be fitted to the box established by its used height and width
ObjectFit.Key
ObjectFit.Process
func (p ObjectFit) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ObjectPosition
struct
Specifies the alignment of the replaced element inside its box
ObjectPosition.Key
ObjectPosition.Process
func (p ObjectPosition) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Offset
struct
Is a shorthand, and specifies how to animate an element along a path
Offset.Key
Offset.Process
func (p Offset) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OffsetAnchor
struct
Specifies a point on an element that is fixed to the path it is animated along
OffsetAnchor.Key
OffsetAnchor.Process
func (p OffsetAnchor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OffsetDistance
struct
Specifies the position along a path where an animated element is placed
OffsetDistance.Key
OffsetDistance.Process
func (p OffsetDistance) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OffsetPath
struct
Specifies the path an element is animated along
OffsetPath.Key
OffsetPath.Process
func (p OffsetPath) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OffsetRotate
struct
Specifies rotation of an element as it is animated along a path
OffsetRotate.Key
OffsetRotate.Process
func (p OffsetRotate) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Opacity
struct
Sets the opacity level for an element
Opacity.Key
Opacity.Process
func (p Opacity) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Order
struct
Sets the order of the flexible item, relative to the rest
Order.Key
Order.Process
func (p Order) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Orphans
struct
Sets the minimum number of lines that must be left at the bottom of a page or column
Orphans.Key
Orphans.Process
func (p Orphans) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Outline
struct
A shorthand property for the outline-width, outline-style, and the outline-color properties
Outline.Key
Outline.Process
func (p Outline) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OutlineColor
struct
Sets the color of an outline
OutlineColor.Key
OutlineColor.Process
func (p OutlineColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OutlineOffset
struct
Offsets an outline, and draws it beyond the border edge
OutlineOffset.Key
OutlineOffset.Process
func (p OutlineOffset) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OutlineStyle
struct
Sets the style of an outline
OutlineStyle.Key
OutlineStyle.Process
func (p OutlineStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OutlineWidth
struct
Sets the width of an outline
OutlineWidth.Key
OutlineWidth.Process
func (p OutlineWidth) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Overflow
struct
Specifies what happens if content overflows an element's box
Overflow.Key
Overflow.Process
func (p Overflow) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
overflow: visible|hidden|clip|scroll|auto|initial|inherit;
OverflowAnchor
struct
Specifies whether or not content in viewable area in a scrollable contianer should be pushed down when new content is loaded above
OverflowAnchor.Key
OverflowAnchor.Process
func (p OverflowAnchor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OverflowWrap
struct
Specifies whether or not the browser can break lines with long words, if they overflow the container
OverflowWrap.Key
OverflowWrap.Process
func (p OverflowWrap) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OverflowX
struct
Specifies whether or not to clip the left/right edges of the content, if it overflows the element's content area
OverflowX.Key
OverflowX.Process
func (p OverflowX) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OverflowY
struct
Specifies whether or not to clip the top/bottom edges of the content, if it overflows the element's content area
OverflowY.Key
OverflowY.Process
func (p OverflowY) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OverscrollBehavior
struct
Specifies whether to have scroll chaining or overscroll affordance in x- and y-directions
OverscrollBehavior.Key
OverscrollBehavior.Process
func (p OverscrollBehavior) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OverscrollBehaviorBlock
struct
Specifies whether to have scroll chaining or overscroll affordance in the block direction
OverscrollBehaviorBlock.Key
OverscrollBehaviorBlock.Process
func (p OverscrollBehaviorBlock) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OverscrollBehaviorInline
struct
Specifies whether to have scroll chaining or overscroll affordance in the inline direction
OverscrollBehaviorInline.Key
OverscrollBehaviorInline.Process
func (p OverscrollBehaviorInline) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OverscrollBehaviorX
struct
Specifies whether to have scroll chaining or overscroll affordance in x-direction
OverscrollBehaviorX.Key
OverscrollBehaviorX.Process
func (p OverscrollBehaviorX) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
OverscrollBehaviorY
struct
Specifies whether to have scroll chaining or overscroll affordance in y-directions
OverscrollBehaviorY.Key
OverscrollBehaviorY.Process
func (p OverscrollBehaviorY) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Padding
struct
A shorthand property for all the padding-* properties
Padding.Key
Padding.Process
func (p Padding) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
length|initial|inherit
PaddingBlock
struct
Specifies the padding in the block direction
PaddingBlock.Key
PaddingBlock.Process
func (p PaddingBlock) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PaddingBlockEnd
struct
Specifies the padding at the end in the block direction
PaddingBlockEnd.Key
PaddingBlockEnd.Process
func (p PaddingBlockEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PaddingBlockStart
struct
Specifies the padding at the start in the block direction
PaddingBlockStart.Key
PaddingBlockStart.Process
func (p PaddingBlockStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PaddingBottom
struct
Sets the bottom padding of an element
PaddingBottom.Key
PaddingBottom.Process
func (p PaddingBottom) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
length|initial|inherit
PaddingInline
struct
Specifies the padding in the inline direction
PaddingInline.Key
PaddingInline.Process
func (p PaddingInline) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PaddingInlineEnd
struct
Specifies the padding at the end in the inline direction
PaddingInlineEnd.Key
PaddingInlineEnd.Process
func (p PaddingInlineEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PaddingInlineStart
struct
Specifies the padding at the start in the inline direction
PaddingInlineStart.Key
PaddingInlineStart.Process
func (p PaddingInlineStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PaddingLeft
struct
Sets the left padding of an element
PaddingLeft.Key
PaddingLeft.Process
func (p PaddingLeft) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
length|initial|inherit
PaddingRight
struct
Sets the right padding of an element
PaddingRight.Key
PaddingRight.Process
func (p PaddingRight) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
length|initial|inherit
PaddingTop
struct
Sets the top padding of an element
PaddingTop.Key
PaddingTop.Process
func (p PaddingTop) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
length|initial|inherit
PageBreakAfter
struct
Sets the page-break behavior after an element
PageBreakAfter.Key
PageBreakAfter.Process
func (p PageBreakAfter) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PageBreakBefore
struct
Sets the page-break behavior before an element
PageBreakBefore.Key
PageBreakBefore.Process
func (p PageBreakBefore) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PageBreakInside
struct
Sets the page-break behavior inside an element
PageBreakInside.Key
PageBreakInside.Process
func (p PageBreakInside) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PaintOrder
struct
Sets the order of how an SVG element or text is painted.
PaintOrder.Key
PaintOrder.Process
func (p PaintOrder) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Perspective
struct
Gives a 3D-positioned element some perspective
Perspective.Key
Perspective.Process
func (p Perspective) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PerspectiveOrigin
struct
Defines at which position the user is looking at the 3D-positioned element
PerspectiveOrigin.Key
PerspectiveOrigin.Process
func (p PerspectiveOrigin) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PlaceContent
struct
Specifies align-content and justify-content property values for flexbox and grid layouts
PlaceContent.Key
PlaceContent.Process
func (p PlaceContent) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PlaceItems
struct
Specifies align-items and justify-items property values for grid layouts
PlaceItems.Key
PlaceItems.Process
func (p PlaceItems) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PlaceSelf
struct
Specifies align-self and justify-self property values for grid layouts
PlaceSelf.Key
PlaceSelf.Process
func (p PlaceSelf) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
PointerEvents
struct
Defines whether or not an element reacts to pointer events
PointerEvents.Key
PointerEvents.Process
func (p PointerEvents) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Position
struct
Specifies the type of positioning method used for an element (static, relative, absolute or fixed)
Position.Key
Position.Process
func (p Position) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
static|absolute|fixed|relative|sticky|initial|inherit
Property
interface
type Property interface {
Key() string
Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
}
Quotes
struct
Sets the type of quotation marks for embedded quotations
Quotes.Key
Quotes.Process
func (p Quotes) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Resize
struct
Defines if (and how) an element is resizable by the user
Resize.Key
Resize.Process
func (p Resize) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Right
struct
Specifies the right position of a positioned element
Right.Key
Right.Process
func (p Right) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
auto|length|initial|inherit
Rotate
struct
Specifies the rotation of an element
Rotate.Key
Rotate.Process
func (p Rotate) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
RowGap
struct
Specifies the gap between the grid rows
RowGap.Key
RowGap.Process
func (p RowGap) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Scale
struct
Specifies the size of an element by scaling up or down
Scale.Key
Scale.Process
func (p Scale) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollBehavior
struct
Specifies whether to smoothly animate the scroll position in a scrollable box, instead of a straight jump
ScrollBehavior.Key
ScrollBehavior.Process
func (p ScrollBehavior) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollMargin
struct
Specifies the margin between the snap position and the container
ScrollMargin.Key
ScrollMargin.Process
func (p ScrollMargin) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollMarginBlock
struct
Specifies the margin between the snap position and the container in the block direction
ScrollMarginBlock.Key
ScrollMarginBlock.Process
func (p ScrollMarginBlock) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollMarginBlockEnd
struct
Specifies the end margin between the snap position and the container in the block direction
ScrollMarginBlockEnd.Key
ScrollMarginBlockEnd.Process
func (p ScrollMarginBlockEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollMarginBlockStart
struct
Specifies the start margin between the snap position and the container in the block direction
ScrollMarginBlockStart.Key
ScrollMarginBlockStart.Process
func (p ScrollMarginBlockStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollMarginBottom
struct
Specifies the margin between the snap position on the bottom side and the container
ScrollMarginBottom.Key
ScrollMarginBottom.Process
func (p ScrollMarginBottom) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollMarginInline
struct
Specifies the margin between the snap position and the container in the inline direction
ScrollMarginInline.Key
ScrollMarginInline.Process
func (p ScrollMarginInline) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollMarginInlineEnd
struct
Specifies the end margin between the snap position and the container in the inline direction
ScrollMarginInlineEnd.Key
ScrollMarginInlineEnd.Process
func (p ScrollMarginInlineEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollMarginInlineStart
struct
Specifies the start margin between the snap position and the container in the inline direction
ScrollMarginInlineStart.Key
ScrollMarginInlineStart.Process
func (p ScrollMarginInlineStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollMarginLeft
struct
Specifies the margin between the snap position on the left side and the container
ScrollMarginLeft.Key
ScrollMarginLeft.Process
func (p ScrollMarginLeft) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollMarginRight
struct
Specifies the margin between the snap position on the right side and the container
ScrollMarginRight.Key
ScrollMarginRight.Process
func (p ScrollMarginRight) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollMarginTop
struct
Specifies the margin between the snap position on the top side and the container
ScrollMarginTop.Key
ScrollMarginTop.Process
func (p ScrollMarginTop) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollPadding
struct
Specifies the distance from the container to the snap position on the child elements
ScrollPadding.Key
ScrollPadding.Process
func (p ScrollPadding) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollPaddingBlock
struct
Specifies the distance in block direction from the container to the snap position on the child elements
ScrollPaddingBlock.Key
ScrollPaddingBlock.Process
func (p ScrollPaddingBlock) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollPaddingBlockEnd
struct
Specifies the distance in block direction from the end of the container to the snap position on the child elements
ScrollPaddingBlockEnd.Key
ScrollPaddingBlockEnd.Process
func (p ScrollPaddingBlockEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollPaddingBlockStart
struct
Specifies the distance in block direction from the start of the container to the snap position on the child elements
ScrollPaddingBlockStart.Key
ScrollPaddingBlockStart.Process
func (p ScrollPaddingBlockStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollPaddingBottom
struct
Specifies the distance from the bottom of the container to the snap position on the child elements
ScrollPaddingBottom.Key
ScrollPaddingBottom.Process
func (p ScrollPaddingBottom) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollPaddingInline
struct
Specifies the distance in inline direction from the container to the snap position on the child elements
ScrollPaddingInline.Key
ScrollPaddingInline.Process
func (p ScrollPaddingInline) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollPaddingInlineEnd
struct
Specifies the distance in inline direction from the end of the container to the snap position on the child elements
ScrollPaddingInlineEnd.Key
ScrollPaddingInlineEnd.Process
func (p ScrollPaddingInlineEnd) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollPaddingInlineStart
struct
Specifies the distance in inline direction from the start of the container to the snap position on the child elements
ScrollPaddingInlineStart.Key
ScrollPaddingInlineStart.Process
func (p ScrollPaddingInlineStart) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollPaddingLeft
struct
Specifies the distance from the left side of the container to the snap position on the child elements
ScrollPaddingLeft.Key
ScrollPaddingLeft.Process
func (p ScrollPaddingLeft) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollPaddingRight
struct
Specifies the distance from the right side of the container to the snap position on the child elements
ScrollPaddingRight.Key
ScrollPaddingRight.Process
func (p ScrollPaddingRight) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollPaddingTop
struct
Specifies the distance from the top of the container to the snap position on the child elements
ScrollPaddingTop.Key
ScrollPaddingTop.Process
func (p ScrollPaddingTop) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollSnapAlign
struct
Specifies where to position elements when the user stops scrolling
ScrollSnapAlign.Key
ScrollSnapAlign.Process
func (p ScrollSnapAlign) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollSnapStop
struct
Specifies scroll behaviour after fast swipe on trackpad or touch screen
ScrollSnapStop.Key
ScrollSnapStop.Process
func (p ScrollSnapStop) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollSnapType
struct
Specifies how snap behaviour should be when scrolling
ScrollSnapType.Key
ScrollSnapType.Process
func (p ScrollSnapType) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ScrollbarColor
struct
Specifies the color of the scrollbar of an element
ScrollbarColor.Key
ScrollbarColor.Process
func (p ScrollbarColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TabSize
struct
Specifies the width of a tab character
TabSize.Key
TabSize.Process
func (p TabSize) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TableLayout
struct
Defines the algorithm used to lay out table cells, rows, and columns
TableLayout.Key
TableLayout.Process
func (p TableLayout) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextAlign
struct
Specifies the horizontal alignment of text
TextAlign.Key
TextAlign.Process
func (p TextAlign) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
left|right|center|justify|initial|inherit
TextAlignLast
struct
Describes how the last line of a block or a line right before a forced line break is aligned when text-align is "justify"
TextAlignLast.Key
TextAlignLast.Process
func (p TextAlignLast) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextCombineUpright
struct
Specifies the combination of multiple characters into the space of a single character
TextCombineUpright.Key
TextCombineUpright.Process
func (p TextCombineUpright) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextDecoration
struct
Specifies the decoration added to text
TextDecoration.Key
TextDecoration.Process
func (p TextDecoration) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextDecorationColor
struct
Specifies the color of the text-decoration
TextDecorationColor.Key
TextDecorationColor.Process
func (p TextDecorationColor) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextDecorationLine
struct
Specifies the type of line in a text-decoration
TextDecorationLine.Key
TextDecorationLine.Process
func (p TextDecorationLine) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextDecorationStyle
struct
Specifies the style of the line in a text decoration
TextDecorationStyle.Key
TextDecorationStyle.Process
func (p TextDecorationStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextDecorationThickness
struct
Specifies the thickness of the decoration line
TextDecorationThickness.Key
TextDecorationThickness.Process
func (p TextDecorationThickness) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextEmphasis
struct
Applies emphasis marks to text
TextEmphasis.Key
TextEmphasis.Process
func (p TextEmphasis) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextIndent
struct
Specifies the indentation of the first line in a text-block
TextIndent.Key
TextIndent.Process
func (p TextIndent) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextJustify
struct
Specifies the justification method used when text-align is "justify"
TextJustify.Key
TextJustify.Process
func (p TextJustify) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextOrientation
struct
Defines the orientation of characters in a line
TextOrientation.Key
TextOrientation.Process
func (p TextOrientation) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextOverflow
struct
Specifies what should happen when text overflows the containing element
TextOverflow.Key
TextOverflow.Process
func (p TextOverflow) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextShadow
struct
Adds shadow to text
TextShadow.Key
TextShadow.Process
func (p TextShadow) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextTransform
struct
Controls the capitalization of text
TextTransform.Key
TextTransform.Process
func (p TextTransform) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TextUnderlinePosition
struct
Specifies the position of the underline which is set using the text-decoration property
TextUnderlinePosition.Key
TextUnderlinePosition.Process
func (p TextUnderlinePosition) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Top
struct
Specifies the top position of a positioned element
Top.Key
Top.Process
func (p Top) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
auto|length|initial|inherit
Transform
struct
Applies a 2D or 3D transformation to an element
Transform.Key
Transform.Process
func (p Transform) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
none|transform-functions|initial|inherit
TransformOrigin
struct
Allows you to change the position on transformed elements
TransformOrigin.Key
TransformOrigin.Process
func (p TransformOrigin) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TransformStyle
struct
Specifies how nested elements are rendered in 3D space
TransformStyle.Key
TransformStyle.Process
func (p TransformStyle) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Transition
struct
A shorthand property for all the transition-* properties
Transition.Key
Transition.Process
func (p Transition) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TransitionDelay
struct
Specifies when the transition effect will start
TransitionDelay.Key
TransitionDelay.Process
func (p TransitionDelay) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TransitionDuration
struct
Specifies how many seconds or milliseconds a transition effect takes to complete
TransitionDuration.Key
TransitionDuration.Process
func (p TransitionDuration) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TransitionProperty
struct
Specifies the name of the CSS property the transition effect is for
TransitionProperty.Key
TransitionProperty.Process
func (p TransitionProperty) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
TransitionTimingFunction
struct
Specifies the speed curve of the transition effect
TransitionTimingFunction.Key
TransitionTimingFunction.Process
func (p TransitionTimingFunction) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Translate
struct
Specifies the position of an element
Translate.Key
Translate.Process
func (p Translate) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
UnicodeBidi
struct
Used together with the direction property to set or return whether the text should be overridden to support multiple languages in the same document
UnicodeBidi.Key
UnicodeBidi.Process
func (p UnicodeBidi) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
UserSelect
struct
Specifies whether the text of an element can be selected
UserSelect.Key
UserSelect.Process
func (p UserSelect) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
VerticalAlign
struct
Sets the vertical alignment of an element
VerticalAlign.Key
VerticalAlign.Process
func (p VerticalAlign) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Visibility
struct
Specifies whether or not an element is visible
Visibility.Key
Visibility.Process
func (p Visibility) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
visibility: visible|hidden|collapse|initial|inherit;
WhiteSpace
struct
Specifies how white-space inside an element is handled
WhiteSpace.Key
WhiteSpace.Process
func (p WhiteSpace) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Widows
struct
Sets the minimum number of lines that must be left at the top of a page or column
Widows.Key
Widows.Process
func (p Widows) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
Width
struct
Sets the width of an element
Width.Key
Width.Process
func (p Width) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
WordBreak
struct
Specifies how words should break when reaching the end of a line
WordBreak.Key
WordBreak.Process
func (p WordBreak) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
WordSpacing
struct
Increases or decreases the space between words in a text
WordSpacing.Key
WordSpacing.Process
func (p WordSpacing) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
WordWrap
struct
Allows long, unbreakable words to be broken and wrap to the next line
WordWrap.Key
WordWrap.Process
func (p WordWrap) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
WritingMode
struct
Specifies whether lines of text are laid out horizontally or vertically
WritingMode.Key
WritingMode.Process
func (p WritingMode) Process(panel *ui.Panel, elm *document.Element, values []rules.PropertyValue, host *engine.Host) error
ZIndex
struct
Sets the stack order of a positioned element