| OLD | NEW |
| 1 // This file specifies all the CSS properties we support and the necessary | 1 // This file specifies all the CSS properties we support and the necessary |
| 2 // information for our code generation. The various supported arguments | 2 // information for our code generation. The various supported arguments |
| 3 // are described below with example usage | 3 // are described below with example usage |
| 4 | 4 |
| 5 | 5 |
| 6 // - alias_for=other-property | 6 // - alias_for=other-property |
| 7 // Properties specifying alias_for do not get their own enum and instead map | 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 | 8 // directly onto the CSSPropertyID they alias. Currently this means that the |
| 9 // UseCounter will not pick up on these (crbug.com/304855) | 9 // UseCounter will not pick up on these (crbug.com/304855) |
| 10 | 10 |
| 11 | 11 |
| 12 // - runtime_flag=CSSGridLayout | 12 // - runtime_flag=CSSFooProperty |
| 13 // The flag on RuntimeEnabledFeatures conditionally enables the property | 13 // The flag on RuntimeEnabledFeatures conditionally enables the property |
| 14 | 14 |
| 15 | 15 |
| 16 // - longhands=property;other-property | 16 // - longhands=property;other-property |
| 17 // The property is a shorthand for several other properties. | 17 // The property is a shorthand for several other properties. |
| 18 | 18 |
| 19 | 19 |
| 20 // Flags which go into CSSPropertyMetadata: | 20 // Flags which go into CSSPropertyMetadata: |
| 21 // - animatable | 21 // - animatable |
| 22 // The animatable flag indicates whether a property can be animated by CSS | 22 // The animatable flag indicates whether a property can be animated by CSS |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 content custom_all | 145 content custom_all |
| 146 cursor inherited, custom_all | 146 cursor inherited, custom_all |
| 147 display | 147 display |
| 148 empty-cells inherited, type_name=EEmptyCell | 148 empty-cells inherited, type_name=EEmptyCell |
| 149 flex-basis animatable, converter=convertLengthOrAuto | 149 flex-basis animatable, converter=convertLengthOrAuto |
| 150 flex-direction | 150 flex-direction |
| 151 flex-grow animatable, type_name=float | 151 flex-grow animatable, type_name=float |
| 152 flex-shrink animatable, type_name=float | 152 flex-shrink animatable, type_name=float |
| 153 flex-wrap | 153 flex-wrap |
| 154 float type_name=EFloat, name_for_methods=Floating | 154 float type_name=EFloat, name_for_methods=Floating |
| 155 grid-auto-columns runtime_flag=CSSGridLayout, converter=convertGridTrackSize | |
| 156 grid-auto-flow runtime_flag=CSSGridLayout, custom_value | |
| 157 grid-auto-rows runtime_flag=CSSGridLayout, converter=convertGridTrackSize | |
| 158 grid-column-end runtime_flag=CSSGridLayout, converter=convertGridPosition | |
| 159 grid-column-start runtime_flag=CSSGridLayout, converter=convertGridPosition | |
| 160 grid-row-end runtime_flag=CSSGridLayout, converter=convertGridPosition | |
| 161 grid-row-start runtime_flag=CSSGridLayout, converter=convertGridPosition | |
| 162 grid-template-areas runtime_flag=CSSGridLayout, custom_all | |
| 163 grid-template-columns runtime_flag=CSSGridLayout, custom_all | |
| 164 grid-template-rows runtime_flag=CSSGridLayout, custom_all | |
| 165 height animatable, initial=initialSize, converter=convertLengthSizing | 155 height animatable, initial=initialSize, converter=convertLengthSizing |
| 166 image-rendering inherited | 156 image-rendering inherited |
| 167 isolation runtime_flag=CSSCompositing | 157 isolation runtime_flag=CSSCompositing |
| 168 justify-content | 158 justify-content |
| 169 justify-items runtime_flag=CSSGridLayout, custom_all | |
| 170 justify-self runtime_flag=CSSGridLayout, custom_all | |
| 171 left animatable, initial=initialOffset, converter=convertLengthOrAuto | 159 left animatable, initial=initialOffset, converter=convertLengthOrAuto |
| 172 letter-spacing animatable, inherited, initial=initialLetterWordSpacing, converte
r=convertSpacing | 160 letter-spacing animatable, inherited, initial=initialLetterWordSpacing, converte
r=convertSpacing |
| 173 list-style-image animatable, inherited, custom_value | 161 list-style-image animatable, inherited, custom_value |
| 174 list-style-position inherited | 162 list-style-position inherited |
| 175 list-style-type inherited | 163 list-style-type inherited |
| 176 margin-bottom animatable, initial=initialMargin, converter=convertLengthOrAuto | 164 margin-bottom animatable, initial=initialMargin, converter=convertLengthOrAuto |
| 177 margin-left animatable, initial=initialMargin, converter=convertLengthOrAuto | 165 margin-left animatable, initial=initialMargin, converter=convertLengthOrAuto |
| 178 margin-right animatable, initial=initialMargin, converter=convertLengthOrAuto | 166 margin-right animatable, initial=initialMargin, converter=convertLengthOrAuto |
| 179 margin-top animatable, initial=initialMargin, converter=convertLengthOrAuto | 167 margin-top animatable, initial=initialMargin, converter=convertLengthOrAuto |
| 180 mask-source-type runtime_flag=CSSMaskSourceType, custom_all | 168 mask-source-type runtime_flag=CSSMaskSourceType, custom_all |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 border-image longhands=border-image-source;border-image-slice;border-image-width
;border-image-outset;border-image-repeat | 373 border-image longhands=border-image-source;border-image-slice;border-image-width
;border-image-outset;border-image-repeat |
| 386 border-left longhands=border-left-width;border-left-style;border-left-color | 374 border-left longhands=border-left-width;border-left-style;border-left-color |
| 387 border-radius longhands=border-top-left-radius;border-top-right-radius;border-bo
ttom-right-radius;border-bottom-left-radius | 375 border-radius longhands=border-top-left-radius;border-top-right-radius;border-bo
ttom-right-radius;border-bottom-left-radius |
| 388 border-right longhands=border-right-width;border-right-style;border-right-color | 376 border-right longhands=border-right-width;border-right-style;border-right-color |
| 389 border-spacing longhands=-webkit-border-horizontal-spacing;-webkit-border-vertic
al-spacing | 377 border-spacing longhands=-webkit-border-horizontal-spacing;-webkit-border-vertic
al-spacing |
| 390 border-style longhands=border-top-style;border-right-style;border-bottom-style;b
order-left-style | 378 border-style longhands=border-top-style;border-right-style;border-bottom-style;b
order-left-style |
| 391 border-top longhands=border-top-width;border-top-style;border-top-color | 379 border-top longhands=border-top-width;border-top-style;border-top-color |
| 392 border-width longhands=border-top-width;border-right-width;border-bottom-width;b
order-left-width | 380 border-width longhands=border-top-width;border-right-width;border-bottom-width;b
order-left-width |
| 393 flex longhands=flex-grow;flex-shrink;flex-basis | 381 flex longhands=flex-grow;flex-shrink;flex-basis |
| 394 flex-flow longhands=flex-direction;flex-wrap | 382 flex-flow longhands=flex-direction;flex-wrap |
| 395 grid runtime_flag=CSSGridLayout, longhands=grid-template;grid-auto-flow;grid-aut
o-columns;grid-auto-rows | |
| 396 grid-area runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-column-start
;grid-row-end;grid-column-end | |
| 397 grid-column runtime_flag=CSSGridLayout, longhands=grid-column-start;grid-column-
end | |
| 398 grid-row runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-row-end | |
| 399 grid-template runtime_flag=CSSGridLayout, longhands=grid-template-columns;grid-t
emplate-rows;grid-template-areas | |
| 400 list-style longhands=list-style-type;list-style-position;list-style-image | 383 list-style longhands=list-style-type;list-style-position;list-style-image |
| 401 margin longhands=margin-top;margin-right;margin-bottom;margin-left | 384 margin longhands=margin-top;margin-right;margin-bottom;margin-left |
| 402 outline longhands=outline-color;outline-style;outline-width | 385 outline longhands=outline-color;outline-style;outline-width |
| 403 overflow longhands=overflow-x;overflow-y | 386 overflow longhands=overflow-x;overflow-y |
| 404 padding longhands=padding-top;padding-right;padding-bottom;padding-left | 387 padding longhands=padding-top;padding-right;padding-bottom;padding-left |
| 405 transition longhands=transition-property;transition-duration;transition-timing-f
unction;transition-delay | 388 transition longhands=transition-property;transition-duration;transition-timing-f
unction;transition-delay |
| 406 -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 | 389 -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 |
| 407 -webkit-border-after longhands=-webkit-border-after-width;-webkit-border-after-s
tyle;-webkit-border-after-color | 390 -webkit-border-after longhands=-webkit-border-after-width;-webkit-border-after-s
tyle;-webkit-border-after-color |
| 408 -webkit-border-before longhands=-webkit-border-before-width;-webkit-border-befor
e-style;-webkit-border-before-color | 391 -webkit-border-before longhands=-webkit-border-before-width;-webkit-border-befor
e-style;-webkit-border-before-color |
| 409 -webkit-border-end longhands=-webkit-border-end-width;-webkit-border-end-style;-
webkit-border-end-color | 392 -webkit-border-end longhands=-webkit-border-end-width;-webkit-border-end-style;-
webkit-border-end-color |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 -webkit-flex-flow alias_for=flex-flow | 425 -webkit-flex-flow alias_for=flex-flow |
| 443 -webkit-flex-grow alias_for=flex-grow | 426 -webkit-flex-grow alias_for=flex-grow |
| 444 -webkit-flex-shrink alias_for=flex-shrink | 427 -webkit-flex-shrink alias_for=flex-shrink |
| 445 -webkit-flex-wrap alias_for=flex-wrap | 428 -webkit-flex-wrap alias_for=flex-wrap |
| 446 -webkit-justify-content alias_for=justify-content | 429 -webkit-justify-content alias_for=justify-content |
| 447 -webkit-opacity alias_for=opacity | 430 -webkit-opacity alias_for=opacity |
| 448 -webkit-order alias_for=order | 431 -webkit-order alias_for=order |
| 449 -webkit-shape-image-threshold alias_for=shape-image-threshold | 432 -webkit-shape-image-threshold alias_for=shape-image-threshold |
| 450 -webkit-shape-margin alias_for=shape-margin | 433 -webkit-shape-margin alias_for=shape-margin |
| 451 -webkit-shape-outside alias_for=shape-outside | 434 -webkit-shape-outside alias_for=shape-outside |
| OLD | NEW |