| 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 should be virtually identical to the | 7 // Properties specifying alias_for should be virtually identical to the |
| 8 // properties they alias. Minor parsing differences are allowed as long as | 8 // properties they alias. Minor parsing differences are allowed as long as |
| 9 // the CSSValues created are of the same format of the aliased property. | 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 // This doesn't currently work with alias_for. |
| 15 | 15 |
| 16 | 16 |
| 17 // - descriptor_only |
| 18 // These are actually descriptors and not CSS properties. Properties with |
| 19 // the same name as a descriptor do not get this flag. |
| 20 |
| 21 |
| 17 // - longhands=property;other-property | 22 // - longhands=property;other-property |
| 18 // The property is a shorthand for several other properties. | 23 // The property is a shorthand for several other properties. |
| 19 | 24 |
| 20 | 25 |
| 21 // Flags which go into CSSOMTypes: | 26 // Flags which go into CSSOMTypes: |
| 22 // - typedom_types=[Type|OtherType] | 27 // - typedom_types=[Type|OtherType] |
| 23 // The property can take types specified in typedom_types for CSS Typed OM. | 28 // The property can take types specified in typedom_types for CSS Typed OM. |
| 24 // Keyword does not need to be specified as every property can take keywords. | 29 // Keyword does not need to be specified as every property can take keywords. |
| 25 // - keywords=[keyword1|keyword2] | 30 // - keywords=[keyword1|keyword2] |
| 26 // The property can take these keywords. | 31 // The property can take these keywords. |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 436 -webkit-logical-height direction_aware | 441 -webkit-logical-height direction_aware |
| 437 -webkit-min-logical-width direction_aware | 442 -webkit-min-logical-width direction_aware |
| 438 -webkit-min-logical-height direction_aware | 443 -webkit-min-logical-height direction_aware |
| 439 -webkit-max-logical-width direction_aware | 444 -webkit-max-logical-width direction_aware |
| 440 -webkit-max-logical-height direction_aware | 445 -webkit-max-logical-height direction_aware |
| 441 | 446 |
| 442 // Properties that we ignore in the StyleBuilder. | 447 // Properties that we ignore in the StyleBuilder. |
| 443 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBuilde
r | 448 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBuilde
r |
| 444 | 449 |
| 445 all builder_skip | 450 all builder_skip |
| 446 font-display builder_skip, runtime_flag=CSSFontDisplay | |
| 447 max-zoom builder_skip | |
| 448 min-zoom builder_skip | |
| 449 orientation builder_skip | |
| 450 page builder_skip | 451 page builder_skip |
| 451 src builder_skip | |
| 452 unicode-range builder_skip | |
| 453 user-zoom builder_skip | |
| 454 -webkit-font-size-delta builder_skip | 452 -webkit-font-size-delta builder_skip |
| 455 -webkit-text-decorations-in-effect inherited, builder_skip | 453 -webkit-text-decorations-in-effect inherited, builder_skip |
| 456 | 454 |
| 455 // Descriptors |
| 456 |
| 457 font-display descriptor_only, runtime_flag=CSSFontDisplay |
| 458 max-zoom descriptor_only |
| 459 min-zoom descriptor_only |
| 460 orientation descriptor_only |
| 461 src descriptor_only |
| 462 unicode-range descriptor_only |
| 463 user-zoom descriptor_only |
| 464 |
| 457 // Shorthands | 465 // Shorthands |
| 458 | 466 |
| 459 animation longhands=animation-name;animation-duration;animation-timing-function;
animation-delay;animation-iteration-count;animation-direction;animation-fill-mod
e;animation-play-state | 467 animation longhands=animation-name;animation-duration;animation-timing-function;
animation-delay;animation-iteration-count;animation-direction;animation-fill-mod
e;animation-play-state |
| 460 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 | 468 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 |
| 461 background-position longhands=background-position-x;background-position-y | 469 background-position longhands=background-position-x;background-position-y |
| 462 background-repeat longhands=background-repeat-x;background-repeat-y | 470 background-repeat longhands=background-repeat-x;background-repeat-y |
| 463 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;b
order-image-source;border-image-slice;border-image-width;border-image-outset;bor
der-image-repeat | 471 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;b
order-image-source;border-image-slice;border-image-width;border-image-outset;bor
der-image-repeat |
| 464 border-bottom longhands=border-bottom-width;border-bottom-style;border-bottom-co
lor | 472 border-bottom longhands=border-bottom-width;border-bottom-style;border-bottom-co
lor |
| 465 border-color longhands=border-top-color;border-right-color;border-bottom-color;b
order-left-color | 473 border-color longhands=border-top-color;border-right-color;border-bottom-color;b
order-left-color |
| 466 border-image longhands=border-image-source;border-image-slice;border-image-width
;border-image-outset;border-image-repeat | 474 border-image longhands=border-image-source;border-image-slice;border-image-width
;border-image-outset;border-image-repeat |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 -webkit-shape-margin alias_for=shape-margin | 577 -webkit-shape-margin alias_for=shape-margin |
| 570 -webkit-shape-outside alias_for=shape-outside | 578 -webkit-shape-outside alias_for=shape-outside |
| 571 -webkit-transform alias_for=transform | 579 -webkit-transform alias_for=transform |
| 572 -webkit-transform-origin alias_for=transform-origin | 580 -webkit-transform-origin alias_for=transform-origin |
| 573 -webkit-transform-style alias_for=transform-style | 581 -webkit-transform-style alias_for=transform-style |
| 574 -webkit-transition alias_for=transition | 582 -webkit-transition alias_for=transition |
| 575 -webkit-transition-delay alias_for=transition-delay | 583 -webkit-transition-delay alias_for=transition-delay |
| 576 -webkit-transition-duration alias_for=transition-duration | 584 -webkit-transition-duration alias_for=transition-duration |
| 577 -webkit-transition-property alias_for=transition-property | 585 -webkit-transition-property alias_for=transition-property |
| 578 -webkit-transition-timing-function alias_for=transition-timing-function | 586 -webkit-transition-timing-function alias_for=transition-timing-function |
| OLD | NEW |