Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: third_party/WebKit/Source/core/css/CSSProperties.in

Issue 2620233002: Add 'priority' key to CSSProperties.in (Closed)
Patch Set: There goes most of my patch ;) Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // - use_handlers_for=CSSPropertyTransform 135 // - use_handlers_for=CSSPropertyTransform
136 // Use handlers for the specified property instead of defining new ones 136 // Use handlers for the specified property instead of defining new ones
137 137
138 // - builder_skip 138 // - builder_skip
139 // Ignore this property in the StyleBuilder 139 // Ignore this property in the StyleBuilder
140 140
141 // - direction_aware 141 // - direction_aware
142 // This property resolves to a different property based on the current direction 142 // This property resolves to a different property based on the current direction
143 // and writing mode. 143 // and writing mode.
144 144
145 // - priority
146 // The priority level for computing the property, a number from 0 to 2, with
147 // lower values computed first. Properties with the same priority level are
148 // 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
145 149
146 // Properties with StyleBuilder handling 150 // Properties with StyleBuilder handling
147 151
148 // Animation Priority properties 152 // Animation Priority properties
149 animation-delay custom_all 153 animation-delay custom_all, priority=0
150 animation-direction keywords=[normal|reverse|alternate|alternate-reverse], repea ted, custom_all 154 animation-direction keywords=[normal|reverse|alternate|alternate-reverse], repea ted, custom_all, priority=0
151 animation-duration custom_all 155 animation-duration custom_all, priority=0
152 animation-fill-mode custom_all 156 animation-fill-mode custom_all, priority=0
153 animation-iteration-count keywords=[infinite], repeated, custom_all 157 animation-iteration-count keywords=[infinite], repeated, custom_all, priority=0
154 animation-name custom_all 158 animation-name custom_all, priority=0
155 animation-play-state custom_all 159 animation-play-state custom_all, priority=0
156 animation-timing-function custom_all 160 animation-timing-function custom_all, priority=0
157 transition-delay custom_all 161 transition-delay custom_all, priority=0
158 transition-duration custom_all 162 transition-duration custom_all, priority=0
159 transition-property custom_all 163 transition-property custom_all, priority=0
160 transition-timing-function custom_all 164 transition-timing-function custom_all, priority=0
161 165
162 // High Priority and all other font properties. 166 // High Priority and all other font properties.
163 // Other properties can depend upon high priority properties (e.g. font-size / e ms) 167 // Other properties can depend upon high priority properties (e.g. font-size / e ms)
164 color interpolable, inherited, custom_all 168 color interpolable, inherited, custom_all, priority=1
165 direction inherited, custom_value, keyword_only, keywords=[ltr|rtl], initial_key word=ltr, field_storage_type=platform/text/TextDirection 169 direction inherited, custom_value, keyword_only, keywords=[ltr|rtl], initial_key word=ltr, field_storage_type=platform/text/TextDirection, priority=1
166 font-family inherited, font, type_name=FontDescription::FamilyDescription, name_ for_methods=FamilyDescription, converter=convertFontFamily 170 font-family inherited, font, type_name=FontDescription::FamilyDescription, name_ for_methods=FamilyDescription, converter=convertFontFamily, priority=1
167 font-kerning inherited, font, type_name=FontDescription::Kerning, name_for_metho ds=Kerning 171 font-kerning inherited, font, type_name=FontDescription::Kerning, name_for_metho ds=Kerning, priority=1
168 font-size interpolable, inherited, font, name_for_methods=Size, getter=getSize, converter=convertFontSize 172 font-size interpolable, inherited, font, name_for_methods=Size, getter=getSize, converter=convertFontSize, priority=1
169 font-size-adjust runtime_flag=CSSFontSizeAdjust, interpolable, inherited, font, name_for_methods=SizeAdjust, converter=convertFontSizeAdjust 173 font-size-adjust runtime_flag=CSSFontSizeAdjust, interpolable, inherited, font, name_for_methods=SizeAdjust, converter=convertFontSizeAdjust, priority=1
170 font-stretch inherited, font, type_name=FontStretch, name_for_methods=Stretch 174 font-stretch inherited, font, type_name=FontStretch, name_for_methods=Stretch, p riority=1
171 font-style inherited, font, type_name=FontStyle, name_for_methods=Style 175 font-style inherited, font, type_name=FontStyle, name_for_methods=Style, priorit y=1
172 font-variant-ligatures inherited, font, type_name=VariantLigatures, name_for_met hods=VariantLigatures, converter=convertFontVariantLigatures 176 font-variant-ligatures inherited, font, type_name=VariantLigatures, name_for_met hods=VariantLigatures, converter=convertFontVariantLigatures, priority=1
173 font-variant-caps inherited, font, name_for_methods=VariantCaps, converter=conve rtFontVariantCaps 177 font-variant-caps inherited, font, name_for_methods=VariantCaps, converter=conve rtFontVariantCaps, priority=1
174 font-variant-numeric inherited, font, name_for_methods=VariantNumeric, converter =convertFontVariantNumeric 178 font-variant-numeric inherited, font, name_for_methods=VariantNumeric, converter =convertFontVariantNumeric, priority=1
175 font-weight interpolable, inherited, font, type_name=FontWeight, name_for_method s=Weight, converter=convertFontWeight 179 font-weight interpolable, inherited, font, type_name=FontWeight, name_for_method s=Weight, converter=convertFontWeight, priority=1
176 font-feature-settings inherited, font, name_for_methods=FeatureSettings, convert er=convertFontFeatureSettings 180 font-feature-settings inherited, font, name_for_methods=FeatureSettings, convert er=convertFontFeatureSettings, priority=1
177 font-variation-settings runtime_flag=CSSVariableFonts, inherited, font, name_for _methods=VariationSettings, converter=convertFontVariationSettings 181 font-variation-settings runtime_flag=CSSVariableFonts, inherited, font, name_for _methods=VariationSettings, converter=convertFontVariationSettings, priority=1
178 -webkit-font-smoothing inherited, font, type_name=FontSmoothingMode 182 -webkit-font-smoothing inherited, font, type_name=FontSmoothingMode, priority=1
179 -webkit-locale inherited, font, custom_value 183 -webkit-locale inherited, font, custom_value, priority=1
180 text-orientation inherited, custom_value, type_name=TextOrientation 184 text-orientation inherited, custom_value, type_name=TextOrientation, priority=1
181 -webkit-text-orientation inherited, custom_value, type_name=TextOrientation 185 -webkit-text-orientation inherited, custom_value, type_name=TextOrientation, pri ority=1
182 writing-mode inherited, custom_value, type_name=WritingMode, keyword_only, keywo rds=[horizontal-tb|vertical-rl|vertical-lr], initial_keyword=horizontal-tb, fiel d_storage_type=platform/text/WritingMode 186 writing-mode inherited, custom_value, type_name=WritingMode, keyword_only, keywo rds=[horizontal-tb|vertical-rl|vertical-lr], initial_keyword=horizontal-tb, fiel d_storage_type=platform/text/WritingMode, priority=1
183 -webkit-writing-mode inherited, custom_value, type_name=WritingMode 187 -webkit-writing-mode inherited, custom_value, type_name=WritingMode, priority=1
184 text-rendering inherited, font, type_name=TextRenderingMode 188 text-rendering inherited, font, type_name=TextRenderingMode, priority=1
185 zoom custom_all, api_class 189 zoom custom_all, api_class, priority=1
186 190
187 align-content initial=initialContentAlignment, converter=convertContentAlignment Data 191 align-content initial=initialContentAlignment, converter=convertContentAlignment Data
188 align-items initial=initialDefaultAlignment, converter=convertSelfOrDefaultAlign mentData 192 align-items initial=initialDefaultAlignment, converter=convertSelfOrDefaultAlign mentData
189 alignment-baseline svg 193 alignment-baseline svg
190 align-self initial=initialSelfAlignment, converter=convertSelfOrDefaultAlignment Data 194 align-self initial=initialSelfAlignment, converter=convertSelfOrDefaultAlignment Data
191 backdrop-filter interpolable, converter=convertFilterOperations, runtime_flag=CS SBackdropFilter 195 backdrop-filter interpolable, converter=convertFilterOperations, runtime_flag=CS SBackdropFilter
192 backface-visibility 196 backface-visibility
193 background-attachment custom_all 197 background-attachment custom_all
194 background-blend-mode custom_all 198 background-blend-mode custom_all
195 background-clip custom_all 199 background-clip custom_all
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
650 -webkit-text-size-adjust alias_for=text-size-adjust 654 -webkit-text-size-adjust alias_for=text-size-adjust
651 -webkit-transform alias_for=transform 655 -webkit-transform alias_for=transform
652 -webkit-transform-origin alias_for=transform-origin 656 -webkit-transform-origin alias_for=transform-origin
653 -webkit-transform-style alias_for=transform-style 657 -webkit-transform-style alias_for=transform-style
654 -webkit-transition alias_for=transition 658 -webkit-transition alias_for=transition
655 -webkit-transition-delay alias_for=transition-delay 659 -webkit-transition-delay alias_for=transition-delay
656 -webkit-transition-duration alias_for=transition-duration 660 -webkit-transition-duration alias_for=transition-duration
657 -webkit-transition-property alias_for=transition-property 661 -webkit-transition-property alias_for=transition-property
658 -webkit-transition-timing-function alias_for=transition-timing-function 662 -webkit-transition-timing-function alias_for=transition-timing-function
659 -webkit-user-select alias_for=user-select 663 -webkit-user-select alias_for=user-select
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698