Chromium Code Reviews| Index: third_party/WebKit/Source/core/css/CSSProperties.in |
| diff --git a/third_party/WebKit/Source/core/css/CSSProperties.in b/third_party/WebKit/Source/core/css/CSSProperties.in |
| index f4d6b9692f4a4e928f61af4361e83284e536787c..111bbab23390ea547ad4c96ed7a896c75e99dbc5 100644 |
| --- a/third_party/WebKit/Source/core/css/CSSProperties.in |
| +++ b/third_party/WebKit/Source/core/css/CSSProperties.in |
| @@ -142,47 +142,51 @@ |
| // This property resolves to a different property based on the current direction |
| // and writing mode. |
| +// - priority |
| +// The priority level for computing the property, a number from 0 to 2, with |
| +// lower values computed first. Properties with the same priority level are |
| +// grouped and computed in alphabetical order. The default value is 2. |
|
alancutter (OOO until 2018)
2017/01/11 03:24:20
I'm not comfortable with using numbers for the pri
sashab
2017/01/11 03:57:44
Done, not sure what you meant with ResolveVariable
|
| // Properties with StyleBuilder handling |
| // Animation Priority properties |
| -animation-delay custom_all |
| -animation-direction keywords=[normal|reverse|alternate|alternate-reverse], repeated, custom_all |
| -animation-duration custom_all |
| -animation-fill-mode custom_all |
| -animation-iteration-count keywords=[infinite], repeated, custom_all |
| -animation-name custom_all |
| -animation-play-state custom_all |
| -animation-timing-function custom_all |
| -transition-delay custom_all |
| -transition-duration custom_all |
| -transition-property custom_all |
| -transition-timing-function custom_all |
| +animation-delay custom_all, priority=0 |
| +animation-direction keywords=[normal|reverse|alternate|alternate-reverse], repeated, custom_all, priority=0 |
| +animation-duration custom_all, priority=0 |
| +animation-fill-mode custom_all, priority=0 |
| +animation-iteration-count keywords=[infinite], repeated, custom_all, priority=0 |
| +animation-name custom_all, priority=0 |
| +animation-play-state custom_all, priority=0 |
| +animation-timing-function custom_all, priority=0 |
| +transition-delay custom_all, priority=0 |
| +transition-duration custom_all, priority=0 |
| +transition-property custom_all, priority=0 |
| +transition-timing-function custom_all, priority=0 |
| // High Priority and all other font properties. |
| // Other properties can depend upon high priority properties (e.g. font-size / ems) |
| -color interpolable, inherited, custom_all |
| -direction inherited, custom_value, keyword_only, keywords=[ltr|rtl], initial_keyword=ltr, field_storage_type=platform/text/TextDirection |
| -font-family inherited, font, type_name=FontDescription::FamilyDescription, name_for_methods=FamilyDescription, converter=convertFontFamily |
| -font-kerning inherited, font, type_name=FontDescription::Kerning, name_for_methods=Kerning |
| -font-size interpolable, inherited, font, name_for_methods=Size, getter=getSize, converter=convertFontSize |
| -font-size-adjust runtime_flag=CSSFontSizeAdjust, interpolable, inherited, font, name_for_methods=SizeAdjust, converter=convertFontSizeAdjust |
| -font-stretch inherited, font, type_name=FontStretch, name_for_methods=Stretch |
| -font-style inherited, font, type_name=FontStyle, name_for_methods=Style |
| -font-variant-ligatures inherited, font, type_name=VariantLigatures, name_for_methods=VariantLigatures, converter=convertFontVariantLigatures |
| -font-variant-caps inherited, font, name_for_methods=VariantCaps, converter=convertFontVariantCaps |
| -font-variant-numeric inherited, font, name_for_methods=VariantNumeric, converter=convertFontVariantNumeric |
| -font-weight interpolable, inherited, font, type_name=FontWeight, name_for_methods=Weight, converter=convertFontWeight |
| -font-feature-settings inherited, font, name_for_methods=FeatureSettings, converter=convertFontFeatureSettings |
| -font-variation-settings runtime_flag=CSSVariableFonts, inherited, font, name_for_methods=VariationSettings, converter=convertFontVariationSettings |
| --webkit-font-smoothing inherited, font, type_name=FontSmoothingMode |
| --webkit-locale inherited, font, custom_value |
| -text-orientation inherited, custom_value, type_name=TextOrientation |
| --webkit-text-orientation inherited, custom_value, type_name=TextOrientation |
| -writing-mode inherited, custom_value, type_name=WritingMode, keyword_only, keywords=[horizontal-tb|vertical-rl|vertical-lr], initial_keyword=horizontal-tb, field_storage_type=platform/text/WritingMode |
| --webkit-writing-mode inherited, custom_value, type_name=WritingMode |
| -text-rendering inherited, font, type_name=TextRenderingMode |
| -zoom custom_all, api_class |
| +color interpolable, inherited, custom_all, priority=1 |
| +direction inherited, custom_value, keyword_only, keywords=[ltr|rtl], initial_keyword=ltr, field_storage_type=platform/text/TextDirection, priority=1 |
| +font-family inherited, font, type_name=FontDescription::FamilyDescription, name_for_methods=FamilyDescription, converter=convertFontFamily, priority=1 |
| +font-kerning inherited, font, type_name=FontDescription::Kerning, name_for_methods=Kerning, priority=1 |
| +font-size interpolable, inherited, font, name_for_methods=Size, getter=getSize, converter=convertFontSize, priority=1 |
| +font-size-adjust runtime_flag=CSSFontSizeAdjust, interpolable, inherited, font, name_for_methods=SizeAdjust, converter=convertFontSizeAdjust, priority=1 |
| +font-stretch inherited, font, type_name=FontStretch, name_for_methods=Stretch, priority=1 |
| +font-style inherited, font, type_name=FontStyle, name_for_methods=Style, priority=1 |
| +font-variant-ligatures inherited, font, type_name=VariantLigatures, name_for_methods=VariantLigatures, converter=convertFontVariantLigatures, priority=1 |
| +font-variant-caps inherited, font, name_for_methods=VariantCaps, converter=convertFontVariantCaps, priority=1 |
| +font-variant-numeric inherited, font, name_for_methods=VariantNumeric, converter=convertFontVariantNumeric, priority=1 |
| +font-weight interpolable, inherited, font, type_name=FontWeight, name_for_methods=Weight, converter=convertFontWeight, priority=1 |
| +font-feature-settings inherited, font, name_for_methods=FeatureSettings, converter=convertFontFeatureSettings, priority=1 |
| +font-variation-settings runtime_flag=CSSVariableFonts, inherited, font, name_for_methods=VariationSettings, converter=convertFontVariationSettings, priority=1 |
| +-webkit-font-smoothing inherited, font, type_name=FontSmoothingMode, priority=1 |
| +-webkit-locale inherited, font, custom_value, priority=1 |
| +text-orientation inherited, custom_value, type_name=TextOrientation, priority=1 |
| +-webkit-text-orientation inherited, custom_value, type_name=TextOrientation, priority=1 |
| +writing-mode inherited, custom_value, type_name=WritingMode, keyword_only, keywords=[horizontal-tb|vertical-rl|vertical-lr], initial_keyword=horizontal-tb, field_storage_type=platform/text/WritingMode, priority=1 |
| +-webkit-writing-mode inherited, custom_value, type_name=WritingMode, priority=1 |
| +text-rendering inherited, font, type_name=TextRenderingMode, priority=1 |
| +zoom custom_all, api_class, priority=1 |
| align-content initial=initialContentAlignment, converter=convertContentAlignmentData |
| align-items initial=initialDefaultAlignment, converter=convertSelfOrDefaultAlignmentData |