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