Chromium Code Reviews| 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 |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 248 marker-mid inherited, svg, name_for_methods=MarkerMidResource, converter=convert FragmentIdentifier | 248 marker-mid inherited, svg, name_for_methods=MarkerMidResource, converter=convert FragmentIdentifier |
| 249 marker-start inherited, svg, name_for_methods=MarkerStartResource, converter=con vertFragmentIdentifier | 249 marker-start inherited, svg, name_for_methods=MarkerStartResource, converter=con vertFragmentIdentifier |
| 250 mask svg, name_for_methods=MaskerResource, converter=convertFragmentIdentifier | 250 mask svg, name_for_methods=MaskerResource, converter=convertFragmentIdentifier |
| 251 mask-source-type runtime_flag=CSSMaskSourceType, custom_all | 251 mask-source-type runtime_flag=CSSMaskSourceType, custom_all |
| 252 mask-type svg | 252 mask-type svg |
| 253 max-height interpolable, initial=initialMaxSize, converter=convertLengthMaxSizin g | 253 max-height interpolable, initial=initialMaxSize, converter=convertLengthMaxSizin g |
| 254 max-width interpolable, initial=initialMaxSize, converter=convertLengthMaxSizing | 254 max-width interpolable, initial=initialMaxSize, converter=convertLengthMaxSizing |
| 255 min-height interpolable, initial=initialMinSize, converter=convertLengthSizing | 255 min-height interpolable, initial=initialMinSize, converter=convertLengthSizing |
| 256 min-width interpolable, initial=initialMinSize, converter=convertLengthSizing | 256 min-width interpolable, initial=initialMinSize, converter=convertLengthSizing |
| 257 mix-blend-mode type_name=blink::WebBlendMode, name_for_methods=BlendMode | 257 mix-blend-mode type_name=blink::WebBlendMode, name_for_methods=BlendMode |
| 258 motion-offset interpolable, converter=convertLength | 258 motion-offset alias_for=offset-distance |
| 259 motion-path converter=convertPathOrNone | 259 motion-path alias_for=offset-path |
| 260 motion-rotation interpolable, converter=convertMotionRotation | 260 motion-rotation alias_for=offset-rotation |
| 261 object-fit type_name=ObjectFit | 261 object-fit type_name=ObjectFit |
| 262 object-position interpolable, converter=convertPosition | 262 object-position interpolable, converter=convertPosition |
| 263 offset-distance interpolable, converter=convertLength | |
| 264 offset-path converter=convertPathOrNone | |
| 265 offset-rotation interpolable, converter=convertOffsetRotation | |
| 263 opacity interpolable, type_name=float | 266 opacity interpolable, type_name=float |
| 264 order type_name=int | 267 order type_name=int |
| 265 orphans interpolable, inherited, type_name=short | 268 orphans interpolable, inherited, type_name=short |
| 266 outline-color interpolable, custom_all | 269 outline-color interpolable, custom_all |
| 267 outline-offset interpolable, converter=convertComputedLength<int> | 270 outline-offset interpolable, converter=convertComputedLength<int> |
| 268 outline-style custom_all | 271 outline-style custom_all |
| 269 outline-width interpolable, converter=convertLineWidth<unsigned short> | 272 outline-width interpolable, converter=convertLineWidth<unsigned short> |
| 270 overflow-anchor runtime_flag=ScrollAnchoring, type_name=EOverflowAnchor | 273 overflow-anchor runtime_flag=ScrollAnchoring, type_name=EOverflowAnchor |
| 271 overflow-wrap inherited | 274 overflow-wrap inherited |
| 272 overflow-x type_name=EOverflow | 275 overflow-x type_name=EOverflow |
| (...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 491 font-variant longhands=font-variant-ligatures;font-variant-caps;font-variant-num eric | 494 font-variant longhands=font-variant-ligatures;font-variant-caps;font-variant-num eric |
| 492 grid runtime_flag=CSSGridLayout, longhands=grid-template-rows;grid-template-colu mns;grid-template-areas;grid-auto-flow;grid-auto-rows;grid-auto-columns;grid-col umn-gap;grid-row-gap | 495 grid runtime_flag=CSSGridLayout, longhands=grid-template-rows;grid-template-colu mns;grid-template-areas;grid-auto-flow;grid-auto-rows;grid-auto-columns;grid-col umn-gap;grid-row-gap |
| 493 grid-area runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-column-start ;grid-row-end;grid-column-end | 496 grid-area runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-column-start ;grid-row-end;grid-column-end |
| 494 grid-column runtime_flag=CSSGridLayout, longhands=grid-column-start;grid-column- end | 497 grid-column runtime_flag=CSSGridLayout, longhands=grid-column-start;grid-column- end |
| 495 grid-gap runtime_flag=CSSGridLayout, longhands=grid-row-gap;grid-column-gap | 498 grid-gap runtime_flag=CSSGridLayout, longhands=grid-row-gap;grid-column-gap |
| 496 grid-row runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-row-end | 499 grid-row runtime_flag=CSSGridLayout, longhands=grid-row-start;grid-row-end |
| 497 grid-template runtime_flag=CSSGridLayout, longhands=grid-template-rows;grid-temp late-columns;grid-template-areas | 500 grid-template runtime_flag=CSSGridLayout, longhands=grid-template-rows;grid-temp late-columns;grid-template-areas |
| 498 list-style longhands=list-style-type;list-style-position;list-style-image | 501 list-style longhands=list-style-type;list-style-position;list-style-image |
| 499 margin longhands=margin-top;margin-right;margin-bottom;margin-left | 502 margin longhands=margin-top;margin-right;margin-bottom;margin-left |
| 500 marker longhands=marker-start;marker-mid;marker-end | 503 marker longhands=marker-start;marker-mid;marker-end |
| 501 motion longhands=motion-path;motion-offset;motion-rotation | 504 motion longhands=offset-path;offset-distance;offset-rotation |
|
alancutter (OOO until 2018)
2016/09/19 00:49:54
Can this be an alias for offset?
suzyh_UTC10 (ex-contributor)
2016/09/19 01:21:04
I think Alan's right, didn't we say we would make
Eric Willigers
2016/09/19 01:54:40
I want more control during parsing that a direct a
suzyh_UTC10 (ex-contributor)
2016/09/19 03:32:30
OK, sounds good. I wasn't sure if using aliases in
Eric Willigers
2016/09/19 04:46:14
UseCounter::mapCSSPropertyIdToCSSSampleIdForHistog
| |
| 505 offset longhands=offset-path;offset-distance;offset-rotation | |
| 502 outline longhands=outline-color;outline-style;outline-width | 506 outline longhands=outline-color;outline-style;outline-width |
| 503 overflow longhands=overflow-x;overflow-y | 507 overflow longhands=overflow-x;overflow-y |
| 504 padding longhands=padding-top;padding-right;padding-bottom;padding-left | 508 padding longhands=padding-top;padding-right;padding-bottom;padding-left |
| 505 page-break-after longhands=break-after | 509 page-break-after longhands=break-after |
| 506 page-break-before longhands=break-before | 510 page-break-before longhands=break-before |
| 507 page-break-inside longhands=break-inside | 511 page-break-inside longhands=break-inside |
| 508 transition longhands=transition-property;transition-duration;transition-timing-f unction;transition-delay | 512 transition longhands=transition-property;transition-duration;transition-timing-f unction;transition-delay |
| 509 -webkit-border-after longhands=-webkit-border-after-width;-webkit-border-after-s tyle;-webkit-border-after-color | 513 -webkit-border-after longhands=-webkit-border-after-width;-webkit-border-after-s tyle;-webkit-border-after-color |
| 510 -webkit-border-before longhands=-webkit-border-before-width;-webkit-border-befor e-style;-webkit-border-before-color | 514 -webkit-border-before longhands=-webkit-border-before-width;-webkit-border-befor e-style;-webkit-border-before-color |
| 511 -webkit-border-end longhands=-webkit-border-end-width;-webkit-border-end-style;- webkit-border-end-color | 515 -webkit-border-end longhands=-webkit-border-end-width;-webkit-border-end-style;- webkit-border-end-color |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 587 -webkit-text-size-adjust alias_for=text-size-adjust | 591 -webkit-text-size-adjust alias_for=text-size-adjust |
| 588 -webkit-transform alias_for=transform | 592 -webkit-transform alias_for=transform |
| 589 -webkit-transform-origin alias_for=transform-origin | 593 -webkit-transform-origin alias_for=transform-origin |
| 590 -webkit-transform-style alias_for=transform-style | 594 -webkit-transform-style alias_for=transform-style |
| 591 -webkit-transition alias_for=transition | 595 -webkit-transition alias_for=transition |
| 592 -webkit-transition-delay alias_for=transition-delay | 596 -webkit-transition-delay alias_for=transition-delay |
| 593 -webkit-transition-duration alias_for=transition-duration | 597 -webkit-transition-duration alias_for=transition-duration |
| 594 -webkit-transition-property alias_for=transition-property | 598 -webkit-transition-property alias_for=transition-property |
| 595 -webkit-transition-timing-function alias_for=transition-timing-function | 599 -webkit-transition-timing-function alias_for=transition-timing-function |
| 596 -webkit-user-select alias_for=user-select | 600 -webkit-user-select alias_for=user-select |
| OLD | NEW |