| OLD | NEW |
| 1 // FIXME: When we have all the properties using the new StyleBuilder, we | 1 // This file specifies all the CSS properties we support and the necessary |
| 2 // should use this for make_css_property_names.py | 2 // information for our code generation. The various supported arguments |
| 3 // Note that type_name is currently only used for non-custom value application | 3 // are described below with example usage |
| 4 // and when explicitly referred to in generated applicators. | 4 |
| 5 // Note: Mandatory blank line to skip parameter parsing phase | 5 |
| 6 // - longhands=property;other-property |
| 7 // The property is a shorthand for several other properties. |
| 8 |
| 9 |
| 10 // The remaining arguments are used for the StyleBuilder and allow us to |
| 11 // succinctly describe how to apply properties. When default handlers are not |
| 12 // sufficient, we should prefer to use converter, and failing that define |
| 13 // custom property handlers in StyleBuilderCustom.cpp. We only should use |
| 14 // StyleBuilderFunctions.cpp.tmpl to define handlers when there are multiple |
| 15 // properties requiring the same handling, but converter doesn't suffice. |
| 16 |
| 17 // - font |
| 18 // The default property handlers call into the FontBuilder instead of setting |
| 19 // values directly onto the RenderStyle |
| 20 // - svg |
| 21 // The default property handlers access the SVGRenderStyle |
| 22 |
| 23 // - name_for_methods=BlendMode |
| 24 // Tweaks how we choose defaults for getter, setter, initial and type_name. |
| 25 // For example, setting this to BlendMode will make us use a setter of setBlendM
ode |
| 26 // - initial |
| 27 // The initial value accessor on the RenderStyle, defaults to e.g. initialBoxSha
dow |
| 28 // - getter |
| 29 // The RenderStyle getter, defaults to e.g. borderBottomLeft |
| 30 // - setter |
| 31 // The RenderStyle setter, defaults to e.g. setBorderBottomLeft |
| 32 // - type_name |
| 33 // The computed type for the property. Only required for the default value |
| 34 // application, defaults to e.g. EDisplay |
| 35 |
| 36 // - converter=convertRadius |
| 37 // The StyleBuilder will call the specified function on StyleBuilderConverter |
| 38 // to convert a CSSValue to an appropriate platform value |
| 39 |
| 40 // - custom_initial |
| 41 // - custom_inherit |
| 42 // - custom_value |
| 43 // - custom_all |
| 44 // Handlers of the given types will be declared but not defined. Setting |
| 45 // custom_all is equivalent to setting the other three flags |
| 46 |
| 47 // - use_handlers_for=CSSPropertyTransform |
| 48 // Use handlers for the specified property instead of defining new ones |
| 49 |
| 50 // - builder_skip |
| 51 // Ignore this property in the StyleBuilder |
| 52 |
| 53 // - direction_aware |
| 54 // This property resolves to a different property based on the current direction |
| 55 // and writing mode. |
| 56 |
| 57 |
| 58 // Properties with StyleBuilder handling |
| 59 |
| 60 // High Priority and all other font properties. |
| 61 // Other properties can depend upon high priority properties (e.g. font-size / e
ms) |
| 62 color custom_all |
| 63 // FIXME: This is a mess due to crbug.com/353932. Shorthands shouldn't have |
| 64 // any StyleBuilder handling! |
| 65 font custom_all, longhands=font-family;font-size;font-style;font-variant;font-we
ight;font-stretch;line-height |
| 66 font-family custom_all |
| 67 font-kerning font, type_name=FontDescription::Kerning, name_for_methods=Kerning |
| 68 font-size custom_all |
| 69 font-stretch font, type_name=FontStretch, name_for_methods=Stretch |
| 70 font-style font, type_name=FontStyle, name_for_methods=Style |
| 71 font-variant font, type_name=FontVariant, name_for_methods=Variant |
| 72 font-variant-ligatures font, name_for_methods=VariantLigatures, converter=conver
tFontVariantLigatures |
| 73 font-weight font, type_name=FontWeight, name_for_methods=Weight, converter=conve
rtFontWeight |
| 74 -webkit-font-feature-settings font, name_for_methods=FeatureSettings, converter=
convertFontFeatureSettings |
| 75 -webkit-font-smoothing font, type_name=FontSmoothingMode |
| 76 -webkit-locale custom_value |
| 77 -webkit-text-orientation custom_value |
| 78 text-rendering font, type_name=TextRenderingMode |
| 79 zoom custom_all |
| 6 | 80 |
| 7 align-content | 81 align-content |
| 8 align-items custom_all | 82 align-items custom_all |
| 83 alignment-baseline svg |
| 9 align-self custom_all | 84 align-self custom_all |
| 85 backface-visibility |
| 10 background-attachment custom_all | 86 background-attachment custom_all |
| 11 background-blend-mode custom_all | 87 background-blend-mode custom_all |
| 12 background-clip custom_all | 88 background-clip custom_all |
| 13 background-color custom_all | 89 background-color custom_all |
| 14 background-image custom_all | 90 background-image custom_all |
| 15 background-origin custom_all | 91 background-origin custom_all |
| 16 background-position-x custom_all | 92 background-position-x custom_all |
| 17 background-position-y custom_all | 93 background-position-y custom_all |
| 18 background-repeat-x custom_all | 94 background-repeat-x custom_all |
| 19 background-repeat-y custom_all | 95 background-repeat-y custom_all |
| 20 background-size custom_all | 96 background-size custom_all |
| 97 baseline-shift svg, custom_inherit, custom_value |
| 21 border-bottom-color custom_all | 98 border-bottom-color custom_all |
| 22 border-bottom-left-radius initial=initialBorderRadius, converter=convertRadius | 99 border-bottom-left-radius initial=initialBorderRadius, converter=convertRadius |
| 23 border-bottom-right-radius initial=initialBorderRadius, converter=convertRadius | 100 border-bottom-right-radius initial=initialBorderRadius, converter=convertRadius |
| 24 border-bottom-style type_name=EBorderStyle, initial=initialBorderStyle | 101 border-bottom-style type_name=EBorderStyle, initial=initialBorderStyle |
| 25 border-bottom-width initial=initialBorderWidth, converter=convertLineWidth<unsig
ned> | 102 border-bottom-width initial=initialBorderWidth, converter=convertLineWidth<unsig
ned> |
| 26 border-collapse | 103 border-collapse |
| 27 border-image-outset custom_all | 104 border-image-outset custom_all |
| 28 border-image-repeat custom_all | 105 border-image-repeat custom_all |
| 29 border-image-slice custom_all | 106 border-image-slice custom_all |
| 30 border-image-source custom_value | 107 border-image-source custom_value |
| 31 border-image-width custom_all | 108 border-image-width custom_all |
| 32 border-left-color custom_all | 109 border-left-color custom_all |
| 33 border-left-style type_name=EBorderStyle, initial=initialBorderStyle | 110 border-left-style type_name=EBorderStyle, initial=initialBorderStyle |
| 34 border-left-width initial=initialBorderWidth, converter=convertLineWidth<unsigne
d> | 111 border-left-width initial=initialBorderWidth, converter=convertLineWidth<unsigne
d> |
| 35 border-right-color custom_all | 112 border-right-color custom_all |
| 36 border-right-style type_name=EBorderStyle, initial=initialBorderStyle | 113 border-right-style type_name=EBorderStyle, initial=initialBorderStyle |
| 37 border-right-width initial=initialBorderWidth, converter=convertLineWidth<unsign
ed> | 114 border-right-width initial=initialBorderWidth, converter=convertLineWidth<unsign
ed> |
| 38 border-top-color custom_all | 115 border-top-color custom_all |
| 39 border-top-left-radius initial=initialBorderRadius, converter=convertRadius | 116 border-top-left-radius initial=initialBorderRadius, converter=convertRadius |
| 40 border-top-right-radius initial=initialBorderRadius, converter=convertRadius | 117 border-top-right-radius initial=initialBorderRadius, converter=convertRadius |
| 41 border-top-style type_name=EBorderStyle, initial=initialBorderStyle | 118 border-top-style type_name=EBorderStyle, initial=initialBorderStyle |
| 42 border-top-width initial=initialBorderWidth, converter=convertLineWidth<unsigned
> | 119 border-top-width initial=initialBorderWidth, converter=convertLineWidth<unsigned
> |
| 43 bottom initial=initialOffset, converter=convertLengthOrAuto | 120 bottom initial=initialOffset, converter=convertLengthOrAuto |
| 44 box-shadow converter=convertShadow | 121 box-shadow converter=convertShadow |
| 45 box-sizing | 122 box-sizing |
| 123 buffered-rendering svg |
| 46 caption-side | 124 caption-side |
| 47 clear | 125 clear |
| 48 clip custom_all | 126 clip custom_all |
| 49 color custom_all | 127 clip-path svg, name_for_methods=ClipperResource, converter=convertFragmentIdenti
fier |
| 128 clip-rule svg, type_name=WindRule |
| 129 color-interpolation svg |
| 130 color-interpolation-filters svg, type_name=EColorInterpolation |
| 131 color-rendering svg |
| 132 column-fill type_name=ColumnFill |
| 50 content custom_all | 133 content custom_all |
| 51 counter-increment custom_all | 134 counter-increment custom_all |
| 52 counter-reset custom_all | 135 counter-reset custom_all |
| 53 cursor custom_all | 136 cursor custom_all |
| 54 direction custom_value | 137 direction custom_value |
| 55 display | 138 display |
| 139 dominant-baseline svg |
| 56 empty-cells type_name=EEmptyCell | 140 empty-cells type_name=EEmptyCell |
| 141 fill svg, setter=setFillPaint, custom_all |
| 142 fill-opacity svg, converter=convertNumberOrPercentage |
| 143 fill-rule svg, type_name=WindRule |
| 144 filter svg, name_for_methods=FilterResource, converter=convertFragmentIdentifier |
| 57 flex-basis converter=convertLengthOrAuto | 145 flex-basis converter=convertLengthOrAuto |
| 58 flex-direction | 146 flex-direction |
| 59 flex-grow type_name=float | 147 flex-grow type_name=float |
| 60 flex-shrink type_name=float | 148 flex-shrink type_name=float |
| 61 flex-wrap | 149 flex-wrap |
| 62 float type_name=EFloat, name_for_methods=Floating | 150 float type_name=EFloat, name_for_methods=Floating |
| 63 font custom_all | 151 flood-color svg, converter=convertSVGColor |
| 64 font-family custom_all | 152 flood-opacity svg, converter=convertNumberOrPercentage |
| 65 font-kerning font, type_name=FontDescription::Kerning, name_for_methods=Kerning | 153 glyph-orientation-horizontal svg, converter=convertGlyphOrientation |
| 66 font-size custom_all | 154 glyph-orientation-vertical svg, custom_value |
| 67 font-stretch font, type_name=FontStretch, name_for_methods=Stretch | 155 grid-auto-columns converter=convertGridTrackSize |
| 68 font-style font, type_name=FontStyle, name_for_methods=Style | |
| 69 font-variant font, type_name=FontVariant, name_for_methods=Variant | |
| 70 font-variant-ligatures font, name_for_methods=VariantLigatures, converter=conver
tFontVariantLigatures | |
| 71 font-weight font, type_name=FontWeight, name_for_methods=Weight, converter=conve
rtFontWeight | |
| 72 grid-auto-flow custom_value | 156 grid-auto-flow custom_value |
| 73 grid-auto-columns converter=convertGridTrackSize | |
| 74 grid-auto-rows converter=convertGridTrackSize | 157 grid-auto-rows converter=convertGridTrackSize |
| 158 grid-column-end converter=convertGridPosition |
| 75 grid-column-start converter=convertGridPosition | 159 grid-column-start converter=convertGridPosition |
| 76 grid-column-end converter=convertGridPosition | 160 grid-row-end converter=convertGridPosition |
| 77 grid-row-start converter=convertGridPosition | 161 grid-row-start converter=convertGridPosition |
| 78 grid-row-end converter=convertGridPosition | 162 grid-template-areas custom_all |
| 79 grid-template-columns custom_all | 163 grid-template-columns custom_all |
| 80 grid-template-rows custom_all | 164 grid-template-rows custom_all |
| 81 grid-template-areas custom_all | |
| 82 height initial=initialSize, converter=convertLengthSizing | 165 height initial=initialSize, converter=convertLengthSizing |
| 166 image-rendering |
| 167 isolation |
| 83 justify-content | 168 justify-content |
| 84 image-rendering | |
| 85 internal-callback custom_all | |
| 86 isolation | |
| 87 justify-items custom_all | 169 justify-items custom_all |
| 88 justify-self custom_all | 170 justify-self custom_all |
| 89 left initial=initialOffset, converter=convertLengthOrAuto | 171 left initial=initialOffset, converter=convertLengthOrAuto |
| 90 letter-spacing initial=initialLetterWordSpacing, converter=convertSpacing | 172 letter-spacing initial=initialLetterWordSpacing, converter=convertSpacing |
| 173 lighting-color svg, converter=convertSVGColor |
| 91 line-height getter=specifiedLineHeight, custom_value | 174 line-height getter=specifiedLineHeight, custom_value |
| 92 list-style-image custom_value | 175 list-style-image custom_value |
| 93 list-style-position | 176 list-style-position |
| 94 list-style-type | 177 list-style-type |
| 95 margin-bottom initial=initialMargin, converter=convertLengthOrAuto | 178 margin-bottom initial=initialMargin, converter=convertLengthOrAuto |
| 96 margin-left initial=initialMargin, converter=convertLengthOrAuto | 179 margin-left initial=initialMargin, converter=convertLengthOrAuto |
| 97 margin-right initial=initialMargin, converter=convertLengthOrAuto | 180 margin-right initial=initialMargin, converter=convertLengthOrAuto |
| 98 margin-top initial=initialMargin, converter=convertLengthOrAuto | 181 margin-top initial=initialMargin, converter=convertLengthOrAuto |
| 182 marker-end svg, name_for_methods=MarkerEndResource, converter=convertFragmentIde
ntifier |
| 183 marker-mid svg, name_for_methods=MarkerMidResource, converter=convertFragmentIde
ntifier |
| 184 marker-start svg, name_for_methods=MarkerStartResource, converter=convertFragmen
tIdentifier |
| 185 mask svg, name_for_methods=MaskerResource, converter=convertFragmentIdentifier |
| 99 mask-source-type custom_all | 186 mask-source-type custom_all |
| 187 mask-type svg |
| 100 max-height initial=initialMaxSize, converter=convertLengthMaxSizing | 188 max-height initial=initialMaxSize, converter=convertLengthMaxSizing |
| 101 max-width initial=initialMaxSize, converter=convertLengthMaxSizing | 189 max-width initial=initialMaxSize, converter=convertLengthMaxSizing |
| 102 min-height initial=initialMinSize, converter=convertLengthSizing | 190 min-height initial=initialMinSize, converter=convertLengthSizing |
| 103 min-width initial=initialMinSize, converter=convertLengthSizing | 191 min-width initial=initialMinSize, converter=convertLengthSizing |
| 104 mix-blend-mode type_name=blink::WebBlendMode, name_for_methods=BlendMode | 192 mix-blend-mode type_name=blink::WebBlendMode, name_for_methods=BlendMode |
| 105 object-fit type_name=ObjectFit | 193 object-fit type_name=ObjectFit |
| 106 object-position converter=convertLengthPoint | 194 object-position converter=convertLengthPoint |
| 107 opacity type_name=float | 195 opacity type_name=float |
| 108 order type_name=int | 196 order type_name=int |
| 109 orphans type_name=short, custom_all | 197 orphans type_name=short, custom_all |
| 110 outline-color custom_all | 198 outline-color custom_all |
| 111 outline-offset converter=convertComputedLength<int> | 199 outline-offset converter=convertComputedLength<int> |
| 112 outline-style custom_all | 200 outline-style custom_all |
| 113 outline-width converter=convertLineWidth<unsigned short> | 201 outline-width converter=convertLineWidth<unsigned short> |
| 114 overflow-wrap | 202 overflow-wrap |
| 115 overflow-x type_name=EOverflow | 203 overflow-x type_name=EOverflow |
| 116 overflow-y type_name=EOverflow | 204 overflow-y type_name=EOverflow |
| 117 padding-bottom initial=initialPadding, converter=convertLength | 205 padding-bottom initial=initialPadding, converter=convertLength |
| 118 padding-left initial=initialPadding, converter=convertLength | 206 padding-left initial=initialPadding, converter=convertLength |
| 119 padding-right initial=initialPadding, converter=convertLength | 207 padding-right initial=initialPadding, converter=convertLength |
| 120 padding-top initial=initialPadding, converter=convertLength | 208 padding-top initial=initialPadding, converter=convertLength |
| 121 page-break-after type_name=EPageBreak, initial=initialPageBreak | 209 page-break-after type_name=EPageBreak, initial=initialPageBreak |
| 122 page-break-before type_name=EPageBreak, initial=initialPageBreak | 210 page-break-before type_name=EPageBreak, initial=initialPageBreak |
| 123 page-break-inside type_name=EPageBreak, initial=initialPageBreak | 211 page-break-inside type_name=EPageBreak, initial=initialPageBreak |
| 212 paint-order svg, converter=convertPaintOrder |
| 124 perspective custom_value | 213 perspective custom_value |
| 214 perspective-origin custom_all |
| 125 pointer-events | 215 pointer-events |
| 126 position | 216 position |
| 127 quotes converter=convertQuotes | 217 quotes converter=convertQuotes |
| 128 resize custom_value | 218 resize custom_value |
| 129 right initial=initialOffset, converter=convertLengthOrAuto | 219 right initial=initialOffset, converter=convertLengthOrAuto |
| 130 scroll-behavior type_name=ScrollBehavior | 220 scroll-behavior type_name=ScrollBehavior |
| 131 shape-image-threshold type_name=float | 221 shape-image-threshold type_name=float |
| 132 shape-margin converter=convertLength | 222 shape-margin converter=convertLength |
| 133 shape-outside custom_value | 223 shape-outside custom_value |
| 224 shape-rendering svg |
| 134 size custom_all | 225 size custom_all |
| 135 speak | 226 speak |
| 227 stop-color svg, converter=convertSVGColor |
| 228 stop-opacity svg, converter=convertNumberOrPercentage |
| 229 stroke svg, setter=setStrokePaint, custom_all |
| 230 stroke-dasharray svg, name_for_methods=StrokeDashArray, converter=convertStrokeD
asharray |
| 231 stroke-dashoffset svg, name_for_methods=StrokeDashOffset, converter=convertSVGLe
ngth |
| 232 stroke-linecap svg, type_name=LineCap, name_for_methods=CapStyle |
| 233 stroke-linejoin svg, type_name=LineJoin, name_for_methods=JoinStyle |
| 234 stroke-miterlimit svg, type_name=float, name_for_methods=StrokeMiterLimit |
| 235 stroke-opacity svg, converter=convertNumberOrPercentage |
| 236 stroke-width svg, converter=convertSVGLength |
| 136 table-layout | 237 table-layout |
| 137 tab-size type_name=unsigned | 238 tab-size type_name=unsigned |
| 138 text-align custom_value | 239 text-align custom_value |
| 139 text-align-last type_name=TextAlignLast | 240 text-align-last type_name=TextAlignLast |
| 140 text-decoration converter=convertFlags<TextDecoration> | 241 text-anchor svg |
| 141 text-decoration-line use_handlers_for=CSSPropertyTextDecoration | 242 // FIXME: We shouldn't switch between shorthand/not shorthand based on a runtime
flag |
| 243 text-decoration use_handlers_for=CSSPropertyTextDecorationLine, longhands=text-d
ecoration-line;text-decoration-style;text-decoration-color |
| 142 text-decoration-color custom_all | 244 text-decoration-color custom_all |
| 245 text-decoration-line name_for_methods=TextDecoration, converter=convertFlags<Tex
tDecoration> |
| 143 text-decoration-style type_name=TextDecorationStyle | 246 text-decoration-style type_name=TextDecorationStyle |
| 144 text-indent custom_all | 247 text-indent custom_all |
| 145 text-justify type_name=TextJustify | 248 text-justify type_name=TextJustify |
| 146 text-overflow type_name=TextOverflow | 249 text-overflow type_name=TextOverflow |
| 147 text-rendering font, type_name=TextRenderingMode | |
| 148 text-shadow converter=convertShadow | 250 text-shadow converter=convertShadow |
| 149 text-transform | 251 text-transform |
| 252 text-underline-position type_name=TextUnderlinePosition |
| 150 top initial=initialOffset, converter=convertLengthOrAuto | 253 top initial=initialOffset, converter=convertLengthOrAuto |
| 151 touch-action converter=convertFlags<TouchAction> | 254 touch-action converter=convertFlags<TouchAction> |
| 152 touch-action-delay type_name=TouchActionDelay | 255 touch-action-delay type_name=TouchActionDelay |
| 256 transform custom_value |
| 257 transform-origin custom_all |
| 258 transform-style name_for_methods=TransformStyle3D |
| 153 unicode-bidi | 259 unicode-bidi |
| 260 vector-effect svg |
| 154 vertical-align custom_inherit, custom_value | 261 vertical-align custom_inherit, custom_value |
| 155 visibility | 262 visibility |
| 156 white-space | |
| 157 widows type_name=short, custom_all | |
| 158 width initial=initialSize, converter=convertLengthSizing | |
| 159 will-change custom_all | |
| 160 word-break | |
| 161 word-spacing initial=initialLetterWordSpacing, converter=convertSpacing | |
| 162 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' prope
rty. So using the same handlers. | 263 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' prope
rty. So using the same handlers. |
| 163 word-wrap name_for_methods=OverflowWrap | 264 word-wrap name_for_methods=OverflowWrap |
| 164 zoom custom_all | |
| 165 z-index type_name=int, custom_all | |
| 166 | |
| 167 -webkit-animation-delay custom_all | 265 -webkit-animation-delay custom_all |
| 168 -webkit-animation-direction custom_all | 266 -webkit-animation-direction custom_all |
| 169 -webkit-animation-duration custom_all | 267 -webkit-animation-duration custom_all |
| 170 -webkit-animation-fillMode custom_all | 268 -webkit-animation-fill-mode custom_all |
| 171 -webkit-animation-iteration-count custom_all | 269 -webkit-animation-iteration-count custom_all |
| 172 -webkit-animation-name custom_all | 270 -webkit-animation-name custom_all |
| 173 -webkit-animation-play-state custom_all | 271 -webkit-animation-play-state custom_all |
| 174 -webkit-animation-timing-function custom_all | 272 -webkit-animation-timing-function custom_all |
| 273 -webkit-appearance type_name=ControlPart |
| 175 -webkit-app-region custom_all | 274 -webkit-app-region custom_all |
| 176 -webkit-appearance type_name=ControlPart | |
| 177 -webkit-aspect-ratio custom_all | 275 -webkit-aspect-ratio custom_all |
| 178 backface-visibility | 276 -webkit-backface-visibility use_handlers_for=CSSPropertyBackfaceVisibility |
| 179 -webkit-backface-visibility | |
| 180 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip | 277 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip |
| 181 -webkit-background-composite custom_all | 278 -webkit-background-composite custom_all |
| 182 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin | 279 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin |
| 183 -webkit-background-size use_handlers_for=CSSPropertyBackgroundSize | 280 -webkit-background-size use_handlers_for=CSSPropertyBackgroundSize |
| 184 -webkit-border-fit | 281 -webkit-border-fit |
| 185 -webkit-border-horizontal-spacing name_for_methods=HorizontalBorderSpacing, conv
erter=convertComputedLength<short> | 282 -webkit-border-horizontal-spacing name_for_methods=HorizontalBorderSpacing, conv
erter=convertComputedLength<short> |
| 186 -webkit-border-image initial=initialNinePieceImage, custom_value | 283 -webkit-border-image initial=initialNinePieceImage, custom_value |
| 187 -webkit-border-vertical-spacing name_for_methods=VerticalBorderSpacing, converte
r=convertComputedLength<short> | 284 -webkit-border-vertical-spacing name_for_methods=VerticalBorderSpacing, converte
r=convertComputedLength<short> |
| 188 -webkit-box-align type_name=EBoxAlignment | 285 -webkit-box-align type_name=EBoxAlignment |
| 189 -webkit-box-decoration-break | 286 -webkit-box-decoration-break |
| 190 -webkit-box-direction | 287 -webkit-box-direction |
| 288 -webkit-box-flex type_name=float |
| 191 -webkit-box-flex-group type_name=unsigned int | 289 -webkit-box-flex-group type_name=unsigned int |
| 192 -webkit-box-flex type_name=float | |
| 193 -webkit-box-lines | 290 -webkit-box-lines |
| 194 -webkit-box-ordinal-group type_name=unsigned int | 291 -webkit-box-ordinal-group type_name=unsigned int |
| 195 -webkit-box-orient | 292 -webkit-box-orient |
| 196 -webkit-box-pack | 293 -webkit-box-pack |
| 197 -webkit-box-reflect converter=convertBoxReflect | 294 -webkit-box-reflect converter=convertBoxReflect |
| 198 -webkit-box-shadow use_handlers_for=CSSPropertyBoxShadow | 295 -webkit-box-shadow use_handlers_for=CSSPropertyBoxShadow |
| 199 -webkit-clip-path custom_value | 296 -webkit-clip-path custom_value |
| 200 -webkit-column-break-after type_name=EPageBreak, initial=initialPageBreak | 297 -webkit-column-break-after type_name=EPageBreak, initial=initialPageBreak |
| 201 -webkit-column-break-before type_name=EPageBreak, initial=initialPageBreak | 298 -webkit-column-break-before type_name=EPageBreak, initial=initialPageBreak |
| 202 -webkit-column-break-inside type_name=EPageBreak, initial=initialPageBreak | 299 -webkit-column-break-inside type_name=EPageBreak, initial=initialPageBreak |
| 203 -webkit-column-count type_name=unsigned short, custom_all | 300 -webkit-column-count type_name=unsigned short, custom_all |
| 204 column-fill type_name=ColumnFill | |
| 205 -webkit-column-gap type_name=float, custom_all | 301 -webkit-column-gap type_name=float, custom_all |
| 206 -webkit-column-rule-color custom_all | 302 -webkit-column-rule-color custom_all |
| 207 -webkit-column-rule-style type_name=EBorderStyle, initial=initialBorderStyle | 303 -webkit-column-rule-style type_name=EBorderStyle, initial=initialBorderStyle |
| 208 -webkit-column-rule-width converter=convertLineWidth<unsigned short> | 304 -webkit-column-rule-width converter=convertLineWidth<unsigned short> |
| 209 -webkit-column-span type_name=ColumnSpan | 305 -webkit-column-span type_name=ColumnSpan |
| 210 -webkit-column-width type_name=float, custom_all | 306 -webkit-column-width type_name=float, custom_all |
| 211 -webkit-filter custom_value | 307 -webkit-filter custom_value |
| 212 -webkit-font-feature-settings font, name_for_methods=FeatureSettings, converter=
convertFontFeatureSettings | |
| 213 -webkit-font-smoothing font, type_name=FontSmoothingMode | |
| 214 -webkit-highlight converter=convertString<CSSValueNone> | 308 -webkit-highlight converter=convertString<CSSValueNone> |
| 215 -webkit-hyphenate-character name_for_methods=HyphenationString, converter=conver
tString<CSSValueAuto> | 309 -webkit-hyphenate-character name_for_methods=HyphenationString, converter=conver
tString<CSSValueAuto> |
| 216 -webkit-line-box-contain converter=convertLineBoxContain | 310 -webkit-line-box-contain converter=convertLineBoxContain |
| 217 -webkit-line-break type_name=LineBreak | 311 -webkit-line-break type_name=LineBreak |
| 218 -webkit-line-clamp type_name=LineClampValue | 312 -webkit-line-clamp type_name=LineClampValue |
| 219 -webkit-locale custom_value | |
| 220 -webkit-margin-after-collapse type_name=EMarginCollapse | 313 -webkit-margin-after-collapse type_name=EMarginCollapse |
| 221 -webkit-margin-before-collapse type_name=EMarginCollapse | 314 -webkit-margin-before-collapse type_name=EMarginCollapse |
| 222 -webkit-margin-bottom-collapse type_name=EMarginCollapse, name_for_methods=Margi
nAfterCollapse | 315 -webkit-margin-bottom-collapse type_name=EMarginCollapse, name_for_methods=Margi
nAfterCollapse |
| 223 -webkit-margin-top-collapse type_name=EMarginCollapse, name_for_methods=MarginBe
foreCollapse | 316 -webkit-margin-top-collapse type_name=EMarginCollapse, name_for_methods=MarginBe
foreCollapse |
| 224 -internal-marquee-direction name_for_methods=MarqueeDirection | |
| 225 -internal-marquee-increment name_for_methods=MarqueeIncrement, converter=convert
Length | |
| 226 -internal-marquee-repetition type_name=int, name_for_methods=MarqueeLoopCount, c
ustom_value | |
| 227 -internal-marquee-speed name_for_methods=MarqueeSpeed, converter=convertNumberOr
Percentage | |
| 228 -internal-marquee-style name_for_methods=MarqueeBehavior | |
| 229 -webkit-mask-box-image-outset custom_all | 317 -webkit-mask-box-image-outset custom_all |
| 230 -webkit-mask-box-image-repeat custom_all | 318 -webkit-mask-box-image-repeat custom_all |
| 231 -webkit-mask-box-image-slice custom_all | 319 -webkit-mask-box-image-slice custom_all |
| 232 -webkit-mask-box-image-source custom_value | 320 -webkit-mask-box-image-source custom_value |
| 233 -webkit-mask-box-image-width custom_all | 321 -webkit-mask-box-image-width custom_all |
| 234 -webkit-mask-clip custom_all | 322 -webkit-mask-clip custom_all |
| 235 -webkit-mask-composite custom_all | 323 -webkit-mask-composite custom_all |
| 236 -webkit-mask-image custom_all | 324 -webkit-mask-image custom_all |
| 237 -webkit-mask-origin custom_all | 325 -webkit-mask-origin custom_all |
| 238 -webkit-mask-position-x custom_all | 326 -webkit-mask-position-x custom_all |
| 239 -webkit-mask-position-y custom_all | 327 -webkit-mask-position-y custom_all |
| 240 -webkit-mask-repeat-x custom_all | 328 -webkit-mask-repeat-x custom_all |
| 241 -webkit-mask-repeat-y custom_all | 329 -webkit-mask-repeat-y custom_all |
| 242 -webkit-mask-size custom_all | 330 -webkit-mask-size custom_all |
| 243 -webkit-perspective custom_all | 331 -webkit-perspective custom_all |
| 244 perspective-origin custom_all | |
| 245 -webkit-perspective-origin custom_all | 332 -webkit-perspective-origin custom_all |
| 246 -webkit-perspective-origin-x converter=convertLength | 333 -webkit-perspective-origin-x converter=convertLength |
| 247 -webkit-perspective-origin-y converter=convertLength | 334 -webkit-perspective-origin-y converter=convertLength |
| 248 -webkit-print-color-adjust type_name=PrintColorAdjust | 335 -webkit-print-color-adjust type_name=PrintColorAdjust |
| 249 -webkit-rtl-ordering type_name=Order, setter=setRTLOrdering, initial=initialRTLO
rdering | 336 -webkit-rtl-ordering type_name=Order, setter=setRTLOrdering, initial=initialRTLO
rdering |
| 250 -webkit-ruby-position type_name=RubyPosition | 337 -webkit-ruby-position type_name=RubyPosition |
| 251 -webkit-tap-highlight-color converter=convertColor | 338 -webkit-tap-highlight-color converter=convertColor |
| 252 -webkit-text-combine type_name=TextCombine | 339 -webkit-text-combine type_name=TextCombine |
| 253 -webkit-text-emphasis-color custom_all | 340 -webkit-text-emphasis-color custom_all |
| 254 -webkit-text-emphasis-position type_name=TextEmphasisPosition | 341 -webkit-text-emphasis-position type_name=TextEmphasisPosition |
| 255 -webkit-text-emphasis-style custom_all | 342 -webkit-text-emphasis-style custom_all |
| 256 -webkit-text-fill-color custom_all | 343 -webkit-text-fill-color custom_all |
| 257 -webkit-text-orientation custom_value | |
| 258 -webkit-text-security | 344 -webkit-text-security |
| 259 -webkit-text-stroke-color custom_all | 345 -webkit-text-stroke-color custom_all |
| 260 -webkit-text-stroke-width converter=convertTextStrokeWidth | 346 -webkit-text-stroke-width converter=convertTextStrokeWidth |
| 261 text-underline-position type_name=TextUnderlinePosition | |
| 262 transform custom_value | |
| 263 -webkit-transform use_handlers_for=CSSPropertyTransform | 347 -webkit-transform use_handlers_for=CSSPropertyTransform |
| 264 transform-origin custom_all | |
| 265 -webkit-transform-origin-x converter=convertLength | 348 -webkit-transform-origin-x converter=convertLength |
| 266 -webkit-transform-origin-y converter=convertLength | 349 -webkit-transform-origin-y converter=convertLength |
| 267 -webkit-transform-origin-z converter=convertComputedLength<float> | 350 -webkit-transform-origin-z converter=convertComputedLength<float> |
| 268 transform-style name_for_methods=TransformStyle3D | |
| 269 -webkit-transform-style name_for_methods=TransformStyle3D | 351 -webkit-transform-style name_for_methods=TransformStyle3D |
| 270 -webkit-transition-delay custom_all | 352 -webkit-transition-delay custom_all |
| 271 -webkit-transition-duration custom_all | 353 -webkit-transition-duration custom_all |
| 272 -webkit-transition-property custom_all | 354 -webkit-transition-property custom_all |
| 273 -webkit-transition-timing-function custom_all | 355 -webkit-transition-timing-function custom_all |
| 274 -webkit-user-drag | 356 -webkit-user-drag |
| 275 -webkit-user-modify | 357 -webkit-user-modify |
| 276 -webkit-user-select | 358 -webkit-user-select |
| 277 -webkit-writing-mode custom_value | 359 -webkit-writing-mode custom_value |
| 360 white-space |
| 361 widows type_name=short, custom_all |
| 362 width initial=initialSize, converter=convertLengthSizing |
| 363 will-change custom_all |
| 364 word-break |
| 365 word-spacing initial=initialLetterWordSpacing, converter=convertSpacing |
| 366 writing-mode svg, type_name=SVGWritingMode |
| 367 z-index type_name=int, custom_all |
| 278 | 368 |
| 279 alignment-baseline svg | 369 // Internal properties |
| 280 baseline-shift svg, custom_inherit, custom_value | 370 |
| 281 buffered-rendering svg | 371 -internal-marquee-direction name_for_methods=MarqueeDirection |
| 282 clip-path svg, name_for_methods=ClipperResource, converter=convertFragmentIdenti
fier | 372 -internal-marquee-increment name_for_methods=MarqueeIncrement, converter=convert
Length |
| 283 clip-rule svg, type_name=WindRule | 373 -internal-marquee-repetition type_name=int, name_for_methods=MarqueeLoopCount, c
ustom_value |
| 284 color-interpolation svg | 374 -internal-marquee-speed name_for_methods=MarqueeSpeed, converter=convertNumberOr
Percentage |
| 285 color-interpolation-filters svg, type_name=EColorInterpolation | 375 -internal-marquee-style name_for_methods=MarqueeBehavior |
| 286 color-rendering svg | 376 -internal-callback custom_all |
| 287 dominant-baseline svg | 377 |
| 288 fill svg, setter=setFillPaint, custom_all | 378 // Non-standard direction aware properties |
| 289 fill-opacity svg, converter=convertNumberOrPercentage | |
| 290 fill-rule svg, type_name=WindRule | |
| 291 filter svg, name_for_methods=FilterResource, converter=convertFragmentIdentifier | |
| 292 flood-color svg, converter=convertSVGColor | |
| 293 flood-opacity svg, converter=convertNumberOrPercentage | |
| 294 glyph-orientation-horizontal svg, converter=convertGlyphOrientation | |
| 295 glyph-orientation-vertical svg, custom_value | |
| 296 lighting-color svg, converter=convertSVGColor | |
| 297 marker-start svg, name_for_methods=MarkerStartResource, converter=convertFragmen
tIdentifier | |
| 298 marker-mid svg, name_for_methods=MarkerMidResource, converter=convertFragmentIde
ntifier | |
| 299 marker-end svg, name_for_methods=MarkerEndResource, converter=convertFragmentIde
ntifier | |
| 300 mask svg, name_for_methods=MaskerResource, converter=convertFragmentIdentifier | |
| 301 mask-type svg | |
| 302 paint-order svg, converter=convertPaintOrder | |
| 303 shape-rendering svg | |
| 304 stop-color svg, converter=convertSVGColor | |
| 305 stop-opacity svg, converter=convertNumberOrPercentage | |
| 306 stroke svg, setter=setStrokePaint, custom_all | |
| 307 stroke-dasharray svg, name_for_methods=StrokeDashArray, converter=convertStrokeD
asharray | |
| 308 stroke-dashoffset svg, name_for_methods=StrokeDashOffset, converter=convertSVGLe
ngth | |
| 309 stroke-linecap svg, type_name=LineCap, name_for_methods=CapStyle | |
| 310 stroke-linejoin svg, type_name=LineJoin, name_for_methods=JoinStyle | |
| 311 stroke-miterlimit svg, type_name=float, name_for_methods=StrokeMiterLimit | |
| 312 stroke-opacity svg, converter=convertNumberOrPercentage | |
| 313 stroke-width svg, converter=convertSVGLength | |
| 314 text-anchor svg | |
| 315 vector-effect svg | |
| 316 writing-mode svg, type_name=SVGWritingMode | |
| 317 | 379 |
| 318 -webkit-border-end-color direction_aware | 380 -webkit-border-end-color direction_aware |
| 319 -webkit-border-end-style direction_aware | 381 -webkit-border-end-style direction_aware |
| 320 -webkit-border-end-width direction_aware | 382 -webkit-border-end-width direction_aware |
| 321 -webkit-border-start-color direction_aware | 383 -webkit-border-start-color direction_aware |
| 322 -webkit-border-start-style direction_aware | 384 -webkit-border-start-style direction_aware |
| 323 -webkit-border-start-width direction_aware | 385 -webkit-border-start-width direction_aware |
| 324 -webkit-border-before-color direction_aware | 386 -webkit-border-before-color direction_aware |
| 325 -webkit-border-before-style direction_aware | 387 -webkit-border-before-style direction_aware |
| 326 -webkit-border-before-width direction_aware | 388 -webkit-border-before-width direction_aware |
| 327 -webkit-border-after-color direction_aware | 389 -webkit-border-after-color direction_aware |
| 328 -webkit-border-after-style direction_aware | 390 -webkit-border-after-style direction_aware |
| 329 -webkit-border-after-width direction_aware | 391 -webkit-border-after-width direction_aware |
| 330 -webkit-margin-end direction_aware | 392 -webkit-margin-end direction_aware |
| 331 -webkit-margin-start direction_aware | 393 -webkit-margin-start direction_aware |
| 332 -webkit-margin-before direction_aware | 394 -webkit-margin-before direction_aware |
| 333 -webkit-margin-after direction_aware | 395 -webkit-margin-after direction_aware |
| 334 -webkit-padding-end direction_aware | 396 -webkit-padding-end direction_aware |
| 335 -webkit-padding-start direction_aware | 397 -webkit-padding-start direction_aware |
| 336 -webkit-padding-before direction_aware | 398 -webkit-padding-before direction_aware |
| 337 -webkit-padding-after direction_aware | 399 -webkit-padding-after direction_aware |
| 338 -webkit-logical-width direction_aware | 400 -webkit-logical-width direction_aware |
| 339 -webkit-logical-height direction_aware | 401 -webkit-logical-height direction_aware |
| 340 -webkit-min-logical-width direction_aware | 402 -webkit-min-logical-width direction_aware |
| 341 -webkit-min-logical-height direction_aware | 403 -webkit-min-logical-height direction_aware |
| 342 -webkit-max-logical-width direction_aware | 404 -webkit-max-logical-width direction_aware |
| 343 -webkit-max-logical-height direction_aware | 405 -webkit-max-logical-height direction_aware |
| 344 | 406 |
| 345 // FIXME: We should look over these and see if some should actually be | 407 // Properties that we ignore in the StyleBuilder. Note that unprefixed animation |
| 346 // marked as unreachable. | 408 // and transition properties are here due to the way they have been unprefixed |
| 347 animation-delay skip | 409 // FIXME: We should see if any of these should actually be unreachable |
| 348 animation-direction skip | 410 |
| 349 animation-duration skip | 411 all builder_skip |
| 350 animation-fill-mode skip | 412 animation-delay builder_skip |
| 351 animation-iteration-count skip | 413 animation-direction builder_skip |
| 352 animation-name skip | 414 animation-duration builder_skip |
| 353 animation-play-state skip | 415 animation-fill-mode builder_skip |
| 354 animation-timing-function skip | 416 animation-iteration-count builder_skip |
| 355 transition-delay skip | 417 animation-name builder_skip |
| 356 transition-duration skip | 418 animation-play-state builder_skip |
| 357 transition-property skip | 419 animation-timing-function builder_skip |
| 358 transition-timing-function skip | 420 enable-background builder_skip |
| 359 page skip | 421 max-zoom builder_skip |
| 360 src skip | 422 min-zoom builder_skip |
| 361 unicode-range skip | 423 orientation builder_skip |
| 362 -webkit-font-size-delta skip | 424 page builder_skip |
| 363 -webkit-text-decorations-in-effect skip | 425 src builder_skip |
| 364 max-zoom skip | 426 transition-delay builder_skip |
| 365 min-zoom skip | 427 transition-duration builder_skip |
| 366 user-zoom skip | 428 transition-property builder_skip |
| 367 orientation skip | 429 transition-timing-function builder_skip |
| 368 enable-background skip | 430 unicode-range builder_skip |
| 369 invalid skip | 431 user-zoom builder_skip |
| 370 all skip | 432 -webkit-font-size-delta builder_skip |
| 433 -webkit-text-decorations-in-effect builder_skip |
| 434 |
| 435 // Shorthands |
| 436 |
| 437 animation longhands=animation-name;animation-duration;animation-timing-function;
animation-delay;animation-iteration-count;animation-direction;animation-fill-mod
e;animation-play-state |
| 438 background longhands=background-image;background-position-x;background-position-
y;background-size;background-repeat-x;background-repeat-y;background-attachment;
background-origin;background-clip;background-color |
| 439 background-position longhands=background-position-x;background-position-y |
| 440 background-repeat longhands=background-repeat-x;background-repeat-y |
| 441 border longhands=border-top-color;border-top-style;border-top-width;border-right
-color;border-right-style;border-right-width;border-bottom-color;border-bottom-s
tyle;border-bottom-width;border-left-color;border-left-style;border-left-width |
| 442 border-bottom longhands=border-bottom-width;border-bottom-style;border-bottom-co
lor |
| 443 border-color longhands=border-top-color;border-right-color;border-bottom-color;b
order-left-color |
| 444 border-image longhands=border-image-source;border-image-slice;border-image-width
;border-image-outset;border-image-repeat |
| 445 border-left longhands=border-left-width;border-left-style;border-left-color |
| 446 border-radius longhands=border-top-left-radius;border-top-right-radius;border-bo
ttom-right-radius;border-bottom-left-radius |
| 447 border-right longhands=border-right-width;border-right-style;border-right-color |
| 448 border-spacing longhands=-webkit-border-horizontal-spacing;-webkit-border-vertic
al-spacing |
| 449 border-style longhands=border-top-style;border-right-style;border-bottom-style;b
order-left-style |
| 450 border-top longhands=border-top-width;border-top-style;border-top-color |
| 451 border-width longhands=border-top-width;border-right-width;border-bottom-width;b
order-left-width |
| 452 flex longhands=flex-grow;flex-shrink;flex-basis |
| 453 flex-flow longhands=flex-direction;flex-wrap |
| 454 grid longhands=grid-template;grid-auto-flow;grid-auto-columns;grid-auto-rows |
| 455 grid-area longhands=grid-row-start;grid-column-start;grid-row-end;grid-column-en
d |
| 456 grid-column longhands=grid-column-start;grid-column-end |
| 457 grid-row longhands=grid-row-start;grid-row-end |
| 458 grid-template longhands=grid-template-columns;grid-template-rows;grid-template-a
reas |
| 459 list-style longhands=list-style-type;list-style-position;list-style-image |
| 460 margin longhands=margin-top;margin-right;margin-bottom;margin-left |
| 461 marker longhands=marker-start;marker-mid;marker-end |
| 462 outline longhands=outline-color;outline-style;outline-width |
| 463 overflow longhands=overflow-x;overflow-y |
| 464 padding longhands=padding-top;padding-right;padding-bottom;padding-left |
| 465 transition longhands=transition-property;transition-duration;transition-timing-f
unction;transition-delay |
| 466 -webkit-animation longhands=-webkit-animation-name;-webkit-animation-duration;-w
ebkit-animation-timing-function;-webkit-animation-delay;-webkit-animation-iterat
ion-count;-webkit-animation-direction;-webkit-animation-fill-mode;-webkit-animat
ion-play-state |
| 467 -webkit-border-after longhands=-webkit-border-after-width;-webkit-border-after-s
tyle;-webkit-border-after-color |
| 468 -webkit-border-before longhands=-webkit-border-before-width;-webkit-border-befor
e-style;-webkit-border-before-color |
| 469 -webkit-border-end longhands=-webkit-border-end-width;-webkit-border-end-style;-
webkit-border-end-color |
| 470 // "-webkit-border-radius: 1px 2px" behaves as "border-radius: 1px / 2px" |
| 471 -webkit-border-radius longhands=border-top-left-radius;border-top-right-radius;b
order-bottom-right-radius;border-bottom-left-radius |
| 472 -webkit-border-start longhands=-webkit-border-start-width;-webkit-border-start-s
tyle;-webkit-border-start-color |
| 473 -webkit-column-rule longhands=-webkit-column-rule-width;-webkit-column-rule-styl
e;-webkit-column-rule-color |
| 474 -webkit-columns longhands=-webkit-column-width;-webkit-column-count |
| 475 -webkit-margin-collapse longhands=-webkit-margin-before-collapse;-webkit-margin-
after-collapse |
| 476 -webkit-mask longhands=-webkit-mask-image;-webkit-mask-position-x;-webkit-mask-p
osition-y;-webkit-mask-size;-webkit-mask-repeat-x;-webkit-mask-repeat-y;-webkit-
mask-origin;-webkit-mask-clip |
| 477 -webkit-mask-box-image longhands=-webkit-mask-box-image-source;-webkit-mask-box-
image-slice;-webkit-mask-box-image-width;-webkit-mask-box-image-outset;-webkit-m
ask-box-image-repeat |
| 478 -webkit-mask-position longhands=-webkit-mask-position-x;-webkit-mask-position-y |
| 479 -webkit-mask-repeat longhands=-webkit-mask-repeat-x;-webkit-mask-repeat-y |
| 480 -webkit-text-emphasis longhands=-webkit-text-emphasis-style;-webkit-text-emphasi
s-color |
| 481 -webkit-text-stroke longhands=-webkit-text-stroke-width;-webkit-text-stroke-colo
r |
| 482 -webkit-transform-origin longhands=-webkit-transform-origin-x;-webkit-transform-
origin-y;-webkit-transform-origin-z |
| 483 -webkit-transition longhands=-webkit-transition-property;-webkit-transition-dura
tion;-webkit-transition-timing-function;-webkit-transition-delay |
| OLD | NEW |