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

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

Issue 350333003: Cascade declared property values instead of applying values on top of each other (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: move functions around :| Created 6 years, 5 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 // FIXME: When we have all the properties using the new StyleBuilder, we 1 // FIXME: When we have all the properties using the new StyleBuilder, we
2 // should use this for make_css_property_names.py 2 // should use this for make_css_property_names.py
3 // Note that type_name is currently only used for non-custom value application 3 // Note that type_name is currently only used for non-custom value application
4 // and when explicitly referred to in generated applicators. 4 // and when explicitly referred to in generated applicators.
5 // Note: Mandatory blank line to skip parameter parsing phase 5 // Note: Mandatory blank line to skip parameter parsing phase
6 6
7 align-content 7 align-content
8 align-items custom_all 8 align-items custom_all
9 align-self custom_all 9 align-self custom_all
10 background-attachment custom_all 10 background-attachment custom_all
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 grid-column-start converter=convertGridPosition 74 grid-column-start converter=convertGridPosition
75 grid-column-end converter=convertGridPosition 75 grid-column-end converter=convertGridPosition
76 grid-row-start converter=convertGridPosition 76 grid-row-start converter=convertGridPosition
77 grid-row-end converter=convertGridPosition 77 grid-row-end converter=convertGridPosition
78 grid-template-columns custom_all 78 grid-template-columns custom_all
79 grid-template-rows custom_all 79 grid-template-rows custom_all
80 grid-template-areas custom_all 80 grid-template-areas custom_all
81 height initial=initialSize, converter=convertLengthSizing 81 height initial=initialSize, converter=convertLengthSizing
82 justify-content 82 justify-content
83 image-rendering 83 image-rendering
84 internal-callback custom_all
85 isolation 84 isolation
86 justify-items custom_all 85 justify-items custom_all
87 justify-self custom_all 86 justify-self custom_all
88 left initial=initialOffset, converter=convertLengthOrAuto 87 left initial=initialOffset, converter=convertLengthOrAuto
89 letter-spacing initial=initialLetterWordSpacing, converter=convertSpacing 88 letter-spacing initial=initialLetterWordSpacing, converter=convertSpacing
90 line-height getter=specifiedLineHeight, custom_value 89 line-height getter=specifiedLineHeight, custom_value
91 list-style-image custom_value 90 list-style-image custom_value
92 list-style-position 91 list-style-position
93 list-style-type 92 list-style-type
94 margin-bottom initial=initialMargin, converter=convertLengthOrAuto 93 margin-bottom initial=initialMargin, converter=convertLengthOrAuto
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 scroll-behavior type_name=ScrollBehavior 128 scroll-behavior type_name=ScrollBehavior
130 shape-image-threshold type_name=float 129 shape-image-threshold type_name=float
131 shape-margin converter=convertLength 130 shape-margin converter=convertLength
132 shape-outside custom_value 131 shape-outside custom_value
133 size custom_all 132 size custom_all
134 speak 133 speak
135 table-layout 134 table-layout
136 tab-size type_name=unsigned 135 tab-size type_name=unsigned
137 text-align custom_value 136 text-align custom_value
138 text-align-last type_name=TextAlignLast 137 text-align-last type_name=TextAlignLast
139 text-decoration custom_value 138 text-decoration-line name_for_methods=TextDecoration, custom_value
140 text-decoration-line use_handlers_for=CSSPropertyTextDecoration
141 text-decoration-color custom_all 139 text-decoration-color custom_all
142 text-decoration-style type_name=TextDecorationStyle 140 text-decoration-style type_name=TextDecorationStyle
143 text-indent custom_all 141 text-indent custom_all
144 text-justify type_name=TextJustify 142 text-justify type_name=TextJustify
145 text-overflow type_name=TextOverflow 143 text-overflow type_name=TextOverflow
146 text-rendering font, type_name=TextRenderingMode 144 text-rendering font, type_name=TextRenderingMode
147 text-shadow converter=convertShadow 145 text-shadow converter=convertShadow
148 text-transform 146 text-transform
149 top initial=initialOffset, converter=convertLengthOrAuto 147 top initial=initialOffset, converter=convertLengthOrAuto
150 touch-action custom_value 148 touch-action custom_value
151 touch-action-delay type_name=TouchActionDelay 149 touch-action-delay type_name=TouchActionDelay
152 unicode-bidi 150 unicode-bidi
153 vertical-align custom_inherit, custom_value 151 vertical-align custom_inherit, custom_value
154 visibility 152 visibility
155 white-space 153 white-space
156 widows type_name=short, custom_all 154 widows type_name=short, custom_all
157 width initial=initialSize, converter=convertLengthSizing 155 width initial=initialSize, converter=convertLengthSizing
158 will-change custom_all 156 will-change custom_all
159 word-break 157 word-break
160 word-spacing initial=initialLetterWordSpacing, converter=convertSpacing 158 word-spacing initial=initialLetterWordSpacing, converter=convertSpacing
161 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' prope rty. So using the same handlers.
162 word-wrap name_for_methods=OverflowWrap
163 zoom custom_all 159 zoom custom_all
164 z-index type_name=int, custom_all 160 z-index type_name=int, custom_all
165 161
166 -webkit-animation-delay custom_all 162 -webkit-animation-delay custom_all
167 -webkit-animation-direction custom_all 163 -webkit-animation-direction custom_all
168 -webkit-animation-duration custom_all 164 -webkit-animation-duration custom_all
169 -webkit-animation-fillMode custom_all 165 -webkit-animation-fillMode custom_all
170 -webkit-animation-iteration-count custom_all 166 -webkit-animation-iteration-count custom_all
171 -webkit-animation-name custom_all 167 -webkit-animation-name custom_all
172 -webkit-animation-play-state custom_all 168 -webkit-animation-play-state custom_all
173 -webkit-animation-timing-function custom_all 169 -webkit-animation-timing-function custom_all
174 -webkit-app-region custom_all 170 -webkit-app-region custom_all
175 -webkit-appearance type_name=ControlPart 171 -webkit-appearance type_name=ControlPart
176 -webkit-aspect-ratio custom_all 172 -webkit-aspect-ratio custom_all
177 backface-visibility 173 backface-visibility
178 -webkit-backface-visibility
179 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip
180 -webkit-background-composite custom_all 174 -webkit-background-composite custom_all
181 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin
182 -webkit-background-size use_handlers_for=CSSPropertyBackgroundSize
183 -webkit-border-fit 175 -webkit-border-fit
184 -webkit-border-horizontal-spacing name_for_methods=HorizontalBorderSpacing, conv erter=convertComputedLength<short> 176 -webkit-border-horizontal-spacing name_for_methods=HorizontalBorderSpacing, conv erter=convertComputedLength<short>
185 -webkit-border-image initial=initialNinePieceImage, custom_value 177 -webkit-border-image initial=initialNinePieceImage, custom_value
186 -webkit-border-vertical-spacing name_for_methods=VerticalBorderSpacing, converte r=convertComputedLength<short> 178 -webkit-border-vertical-spacing name_for_methods=VerticalBorderSpacing, converte r=convertComputedLength<short>
187 -webkit-box-align type_name=EBoxAlignment 179 -webkit-box-align type_name=EBoxAlignment
188 -webkit-box-decoration-break 180 -webkit-box-decoration-break
189 -webkit-box-direction 181 -webkit-box-direction
190 -webkit-box-flex-group type_name=unsigned int 182 -webkit-box-flex-group type_name=unsigned int
191 -webkit-box-flex type_name=float 183 -webkit-box-flex type_name=float
192 -webkit-box-lines 184 -webkit-box-lines
193 -webkit-box-ordinal-group type_name=unsigned int 185 -webkit-box-ordinal-group type_name=unsigned int
194 -webkit-box-orient 186 -webkit-box-orient
195 -webkit-box-pack 187 -webkit-box-pack
196 -webkit-box-reflect converter=convertBoxReflect 188 -webkit-box-reflect converter=convertBoxReflect
197 -webkit-box-shadow use_handlers_for=CSSPropertyBoxShadow
198 -webkit-clip-path custom_value 189 -webkit-clip-path custom_value
199 -webkit-column-break-after type_name=EPageBreak, initial=initialPageBreak 190 -webkit-column-break-after type_name=EPageBreak, initial=initialPageBreak
200 -webkit-column-break-before type_name=EPageBreak, initial=initialPageBreak 191 -webkit-column-break-before type_name=EPageBreak, initial=initialPageBreak
201 -webkit-column-break-inside type_name=EPageBreak, initial=initialPageBreak 192 -webkit-column-break-inside type_name=EPageBreak, initial=initialPageBreak
202 -webkit-column-count type_name=unsigned short, custom_all 193 -webkit-column-count type_name=unsigned short, custom_all
203 column-fill type_name=ColumnFill 194 column-fill type_name=ColumnFill
204 -webkit-column-gap type_name=float, custom_all 195 -webkit-column-gap type_name=float, custom_all
205 -webkit-column-rule-color custom_all 196 -webkit-column-rule-color custom_all
206 -webkit-column-rule-style type_name=EBorderStyle, initial=initialBorderStyle 197 -webkit-column-rule-style type_name=EBorderStyle, initial=initialBorderStyle
207 -webkit-column-rule-width converter=convertLineWidth<unsigned short> 198 -webkit-column-rule-width converter=convertLineWidth<unsigned short>
(...skipping 24 matching lines...) Expand all
232 -webkit-mask-box-image-width custom_all 223 -webkit-mask-box-image-width custom_all
233 -webkit-mask-clip custom_all 224 -webkit-mask-clip custom_all
234 -webkit-mask-composite custom_all 225 -webkit-mask-composite custom_all
235 -webkit-mask-image custom_all 226 -webkit-mask-image custom_all
236 -webkit-mask-origin custom_all 227 -webkit-mask-origin custom_all
237 -webkit-mask-position-x custom_all 228 -webkit-mask-position-x custom_all
238 -webkit-mask-position-y custom_all 229 -webkit-mask-position-y custom_all
239 -webkit-mask-repeat-x custom_all 230 -webkit-mask-repeat-x custom_all
240 -webkit-mask-repeat-y custom_all 231 -webkit-mask-repeat-y custom_all
241 -webkit-mask-size custom_all 232 -webkit-mask-size custom_all
242 -webkit-perspective custom_all
243 perspective-origin custom_all 233 perspective-origin custom_all
244 -webkit-perspective-origin custom_all
245 -webkit-perspective-origin-x converter=convertLength 234 -webkit-perspective-origin-x converter=convertLength
246 -webkit-perspective-origin-y converter=convertLength 235 -webkit-perspective-origin-y converter=convertLength
247 -webkit-print-color-adjust type_name=PrintColorAdjust 236 -webkit-print-color-adjust type_name=PrintColorAdjust
248 -webkit-rtl-ordering type_name=Order, setter=setRTLOrdering, initial=initialRTLO rdering 237 -webkit-rtl-ordering type_name=Order, setter=setRTLOrdering, initial=initialRTLO rdering
249 -webkit-ruby-position type_name=RubyPosition 238 -webkit-ruby-position type_name=RubyPosition
250 -webkit-tap-highlight-color custom_value 239 -webkit-tap-highlight-color custom_value
251 -webkit-text-combine type_name=TextCombine 240 -webkit-text-combine type_name=TextCombine
252 -webkit-text-emphasis-color custom_all 241 -webkit-text-emphasis-color custom_all
253 -webkit-text-emphasis-position type_name=TextEmphasisPosition 242 -webkit-text-emphasis-position type_name=TextEmphasisPosition
254 -webkit-text-emphasis-style custom_all 243 -webkit-text-emphasis-style custom_all
255 -webkit-text-fill-color custom_all 244 -webkit-text-fill-color custom_all
256 -webkit-text-orientation custom_value 245 -webkit-text-orientation custom_value
257 -webkit-text-security 246 -webkit-text-security
258 -webkit-text-stroke-color custom_all 247 -webkit-text-stroke-color custom_all
259 -webkit-text-stroke-width converter=convertTextStrokeWidth 248 -webkit-text-stroke-width converter=convertTextStrokeWidth
260 text-underline-position custom_value 249 text-underline-position custom_value
261 transform custom_value 250 transform custom_value
262 -webkit-transform use_handlers_for=CSSPropertyTransform
263 transform-origin custom_all 251 transform-origin custom_all
264 -webkit-transform-origin-x converter=convertLength 252 -webkit-transform-origin-x converter=convertLength
265 -webkit-transform-origin-y converter=convertLength 253 -webkit-transform-origin-y converter=convertLength
266 -webkit-transform-origin-z converter=convertComputedLength<float> 254 -webkit-transform-origin-z converter=convertComputedLength<float>
267 transform-style name_for_methods=TransformStyle3D 255 transform-style name_for_methods=TransformStyle3D
268 -webkit-transform-style name_for_methods=TransformStyle3D
269 -webkit-transition-delay custom_all 256 -webkit-transition-delay custom_all
270 -webkit-transition-duration custom_all 257 -webkit-transition-duration custom_all
271 -webkit-transition-property custom_all 258 -webkit-transition-property custom_all
272 -webkit-transition-timing-function custom_all 259 -webkit-transition-timing-function custom_all
273 -webkit-user-drag 260 -webkit-user-drag
274 -webkit-user-modify 261 -webkit-user-modify
275 -webkit-user-select 262 -webkit-user-select
276 -webkit-writing-mode custom_value 263 -webkit-writing-mode custom_value
277 264
278 alignment-baseline svg 265 alignment-baseline svg
(...skipping 28 matching lines...) Expand all
307 stroke-dashoffset svg, name_for_methods=StrokeDashOffset, converter=convertSVGLe ngth 294 stroke-dashoffset svg, name_for_methods=StrokeDashOffset, converter=convertSVGLe ngth
308 stroke-linecap svg, type_name=LineCap, name_for_methods=CapStyle 295 stroke-linecap svg, type_name=LineCap, name_for_methods=CapStyle
309 stroke-linejoin svg, type_name=LineJoin, name_for_methods=JoinStyle 296 stroke-linejoin svg, type_name=LineJoin, name_for_methods=JoinStyle
310 stroke-miterlimit svg, type_name=float, name_for_methods=StrokeMiterLimit 297 stroke-miterlimit svg, type_name=float, name_for_methods=StrokeMiterLimit
311 stroke-opacity svg, converter=convertNumberOrPercentage 298 stroke-opacity svg, converter=convertNumberOrPercentage
312 stroke-width svg, converter=convertSVGLength 299 stroke-width svg, converter=convertSVGLength
313 text-anchor svg 300 text-anchor svg
314 vector-effect svg 301 vector-effect svg
315 writing-mode svg, type_name=SVGWritingMode 302 writing-mode svg, type_name=SVGWritingMode
316 303
317 -webkit-border-end-color direction_aware
318 -webkit-border-end-style direction_aware
319 -webkit-border-end-width direction_aware
320 -webkit-border-start-color direction_aware
321 -webkit-border-start-style direction_aware
322 -webkit-border-start-width direction_aware
323 -webkit-border-before-color direction_aware
324 -webkit-border-before-style direction_aware
325 -webkit-border-before-width direction_aware
326 -webkit-border-after-color direction_aware
327 -webkit-border-after-style direction_aware
328 -webkit-border-after-width direction_aware
329 -webkit-margin-end direction_aware
330 -webkit-margin-start direction_aware
331 -webkit-margin-before direction_aware
332 -webkit-margin-after direction_aware
333 -webkit-padding-end direction_aware
334 -webkit-padding-start direction_aware
335 -webkit-padding-before direction_aware
336 -webkit-padding-after direction_aware
337 -webkit-logical-width direction_aware
338 -webkit-logical-height direction_aware
339 -webkit-min-logical-width direction_aware
340 -webkit-min-logical-height direction_aware
341 -webkit-max-logical-width direction_aware
342 -webkit-max-logical-height direction_aware
343
344 // FIXME: We should look over these and see if some should actually be 304 // FIXME: We should look over these and see if some should actually be
345 // marked as unreachable. 305 // marked as unreachable.
346 animation-delay skip 306 animation-delay skip
347 animation-direction skip 307 animation-direction skip
348 animation-duration skip 308 animation-duration skip
349 animation-fill-mode skip 309 animation-fill-mode skip
350 animation-iteration-count skip 310 animation-iteration-count skip
351 animation-name skip 311 animation-name skip
352 animation-play-state skip 312 animation-play-state skip
353 animation-timing-function skip 313 animation-timing-function skip
(...skipping 19 matching lines...) Expand all
373 unicode-range skip 333 unicode-range skip
374 -webkit-font-size-delta skip 334 -webkit-font-size-delta skip
375 -webkit-text-decorations-in-effect skip 335 -webkit-text-decorations-in-effect skip
376 max-zoom skip 336 max-zoom skip
377 min-zoom skip 337 min-zoom skip
378 user-zoom skip 338 user-zoom skip
379 orientation skip 339 orientation skip
380 enable-background skip 340 enable-background skip
381 invalid skip 341 invalid skip
382 all skip 342 all skip
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698