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 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 350 stroke interpolable, inherited, svg, setter=setStrokePaint, custom_all | 350 stroke interpolable, inherited, svg, setter=setStrokePaint, custom_all |
| 351 stroke-dasharray interpolable, inherited, svg, name_for_methods=StrokeDashArray, converter=convertStrokeDasharray | 351 stroke-dasharray interpolable, inherited, svg, name_for_methods=StrokeDashArray, converter=convertStrokeDasharray |
| 352 stroke-dashoffset interpolable, inherited, svg, name_for_methods=StrokeDashOffse t, converter=convertLength | 352 stroke-dashoffset interpolable, inherited, svg, name_for_methods=StrokeDashOffse t, converter=convertLength |
| 353 stroke-linecap svg, inherited, type_name=LineCap, name_for_methods=CapStyle | 353 stroke-linecap svg, inherited, type_name=LineCap, name_for_methods=CapStyle |
| 354 stroke-linejoin svg, inherited, type_name=LineJoin, name_for_methods=JoinStyle | 354 stroke-linejoin svg, inherited, type_name=LineJoin, name_for_methods=JoinStyle |
| 355 stroke-miterlimit interpolable, inherited, svg, type_name=float, name_for_method s=StrokeMiterLimit | 355 stroke-miterlimit interpolable, inherited, svg, type_name=float, name_for_method s=StrokeMiterLimit |
| 356 stroke-opacity interpolable, inherited, svg, converter=convertNumberOrPercentage | 356 stroke-opacity interpolable, inherited, svg, converter=convertNumberOrPercentage |
| 357 stroke-width interpolable, inherited, svg, converter=convertUnzoomedLength | 357 stroke-width interpolable, inherited, svg, converter=convertUnzoomedLength |
| 358 table-layout | 358 table-layout |
| 359 tab-size inherited, converter=convertLengthOrTabSpaces, type_name=TabSize | 359 tab-size inherited, converter=convertLengthOrTabSpaces, type_name=TabSize |
| 360 text-align inherited, custom_value | 360 // The order of the text-align keywords must match the order of the text-align v alues in |
| 361 // CSSValueKeywords.in. | |
|
sashab
2016/12/15 02:58:31
To fix this, do a pre-patch like the ones in here:
| |
| 362 text-align inherited, custom_value, keyword_only, keywords=[left|right|center|ju stify|webkitLeft|webkitRight|webkitCenter|start|end], initial_keyword=start | |
| 361 text-align-last inherited, type_name=TextAlignLast | 363 text-align-last inherited, type_name=TextAlignLast |
| 362 text-anchor inherited, svg | 364 text-anchor inherited, svg |
| 363 text-combine-upright inherited, type_name=TextCombine, name_for_methods=TextComb ine | 365 text-combine-upright inherited, type_name=TextCombine, name_for_methods=TextComb ine |
| 364 // FIXME: We shouldn't switch between shorthand/not shorthand based on a runtime flag | 366 // FIXME: We shouldn't switch between shorthand/not shorthand based on a runtime flag |
| 365 text-decoration use_handlers_for=CSSPropertyTextDecorationLine, longhands=text-d ecoration-line;text-decoration-style;text-decoration-color | 367 text-decoration use_handlers_for=CSSPropertyTextDecorationLine, longhands=text-d ecoration-line;text-decoration-style;text-decoration-color |
| 366 text-decoration-color runtime_flag=CSS3TextDecorations, interpolable, custom_all | 368 text-decoration-color runtime_flag=CSS3TextDecorations, interpolable, custom_all |
| 367 text-decoration-line runtime_flag=CSS3TextDecorations, name_for_methods=TextDeco ration, type_name=TextDecoration, converter=convertFlags<TextDecoration> | 369 text-decoration-line runtime_flag=CSS3TextDecorations, name_for_methods=TextDeco ration, type_name=TextDecoration, converter=convertFlags<TextDecoration> |
| 368 text-decoration-skip runtime_flag=CSS3TextDecorations, inherited, type_name=Text DecorationSkip, converter=convertFlags<TextDecorationSkip> | 370 text-decoration-skip runtime_flag=CSS3TextDecorations, inherited, type_name=Text DecorationSkip, converter=convertFlags<TextDecorationSkip> |
| 369 text-decoration-style runtime_flag=CSS3TextDecorations, type_name=TextDecoration Style | 371 text-decoration-style runtime_flag=CSS3TextDecorations, type_name=TextDecoration Style |
| 370 text-indent interpolable, inherited, custom_all | 372 text-indent interpolable, inherited, custom_all |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 631 -webkit-text-size-adjust alias_for=text-size-adjust | 633 -webkit-text-size-adjust alias_for=text-size-adjust |
| 632 -webkit-transform alias_for=transform | 634 -webkit-transform alias_for=transform |
| 633 -webkit-transform-origin alias_for=transform-origin | 635 -webkit-transform-origin alias_for=transform-origin |
| 634 -webkit-transform-style alias_for=transform-style | 636 -webkit-transform-style alias_for=transform-style |
| 635 -webkit-transition alias_for=transition | 637 -webkit-transition alias_for=transition |
| 636 -webkit-transition-delay alias_for=transition-delay | 638 -webkit-transition-delay alias_for=transition-delay |
| 637 -webkit-transition-duration alias_for=transition-duration | 639 -webkit-transition-duration alias_for=transition-duration |
| 638 -webkit-transition-property alias_for=transition-property | 640 -webkit-transition-property alias_for=transition-property |
| 639 -webkit-transition-timing-function alias_for=transition-timing-function | 641 -webkit-transition-timing-function alias_for=transition-timing-function |
| 640 -webkit-user-select alias_for=user-select | 642 -webkit-user-select alias_for=user-select |
| OLD | NEW |