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 should be virtually identical to the |
8 // directly onto the CSSPropertyID they alias. Currently this means that the | 8 // properties they alias. Minor parsing differences are allowed as long as |
9 // UseCounter will not pick up on these (crbug.com/304855) | 9 // the CSSValues created are of the same format of the aliased property. |
10 | 10 |
11 | 11 |
12 // - runtime_flag=CSSGridLayout | 12 // - runtime_flag=CSSGridLayout |
13 // The flag on RuntimeEnabledFeatures conditionally enables the property | 13 // The flag on RuntimeEnabledFeatures conditionally enables the property. |
| 14 // This doesn't currently work with alias_for. |
14 | 15 |
15 | 16 |
16 // - longhands=property;other-property | 17 // - longhands=property;other-property |
17 // The property is a shorthand for several other properties. | 18 // The property is a shorthand for several other properties. |
18 | 19 |
19 | 20 |
20 // Flags which go into CSSPropertyMetadata: | 21 // Flags which go into CSSPropertyMetadata: |
21 // - animatable | 22 // - animatable |
22 // The animatable flag indicates whether a property can be animated by CSS | 23 // The animatable flag indicates whether a property can be animated by CSS |
23 // animations and transitions. If this flag is set, the property should also be | 24 // animations and transitions. If this flag is set, the property should also be |
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
527 -webkit-flex-flow alias_for=flex-flow | 528 -webkit-flex-flow alias_for=flex-flow |
528 -webkit-flex-grow alias_for=flex-grow | 529 -webkit-flex-grow alias_for=flex-grow |
529 -webkit-flex-shrink alias_for=flex-shrink | 530 -webkit-flex-shrink alias_for=flex-shrink |
530 -webkit-flex-wrap alias_for=flex-wrap | 531 -webkit-flex-wrap alias_for=flex-wrap |
531 -webkit-justify-content alias_for=justify-content | 532 -webkit-justify-content alias_for=justify-content |
532 -webkit-opacity alias_for=opacity | 533 -webkit-opacity alias_for=opacity |
533 -webkit-order alias_for=order | 534 -webkit-order alias_for=order |
534 -webkit-shape-image-threshold alias_for=shape-image-threshold | 535 -webkit-shape-image-threshold alias_for=shape-image-threshold |
535 -webkit-shape-margin alias_for=shape-margin | 536 -webkit-shape-margin alias_for=shape-margin |
536 -webkit-shape-outside alias_for=shape-outside | 537 -webkit-shape-outside alias_for=shape-outside |
OLD | NEW |