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

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: rebase Created 6 years, 4 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
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/CSSProperty.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 grid-column-start converter=convertGridPosition 75 grid-column-start converter=convertGridPosition
76 grid-column-end converter=convertGridPosition 76 grid-column-end converter=convertGridPosition
77 grid-row-start converter=convertGridPosition 77 grid-row-start converter=convertGridPosition
78 grid-row-end converter=convertGridPosition 78 grid-row-end converter=convertGridPosition
79 grid-template-columns custom_all 79 grid-template-columns custom_all
80 grid-template-rows custom_all 80 grid-template-rows custom_all
81 grid-template-areas custom_all 81 grid-template-areas custom_all
82 height initial=initialSize, converter=convertLengthSizing 82 height initial=initialSize, converter=convertLengthSizing
83 justify-content 83 justify-content
84 image-rendering 84 image-rendering
85 internal-callback custom_all
86 isolation 85 isolation
87 justify-items custom_all 86 justify-items custom_all
88 justify-self custom_all 87 justify-self custom_all
89 left initial=initialOffset, converter=convertLengthOrAuto 88 left initial=initialOffset, converter=convertLengthOrAuto
90 letter-spacing initial=initialLetterWordSpacing, converter=convertSpacing 89 letter-spacing initial=initialLetterWordSpacing, converter=convertSpacing
91 line-height getter=specifiedLineHeight, custom_value 90 line-height getter=specifiedLineHeight, custom_value
92 list-style-image custom_value 91 list-style-image custom_value
93 list-style-position 92 list-style-position
94 list-style-type 93 list-style-type
95 margin-bottom initial=initialMargin, converter=convertLengthOrAuto 94 margin-bottom initial=initialMargin, converter=convertLengthOrAuto
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 scroll-behavior type_name=ScrollBehavior 129 scroll-behavior type_name=ScrollBehavior
131 shape-image-threshold type_name=float 130 shape-image-threshold type_name=float
132 shape-margin converter=convertLength 131 shape-margin converter=convertLength
133 shape-outside custom_value 132 shape-outside custom_value
134 size custom_all 133 size custom_all
135 speak 134 speak
136 table-layout 135 table-layout
137 tab-size type_name=unsigned 136 tab-size type_name=unsigned
138 text-align custom_value 137 text-align custom_value
139 text-align-last type_name=TextAlignLast 138 text-align-last type_name=TextAlignLast
140 text-decoration converter=convertFlags<TextDecoration> 139 text-decoration-line name_for_methods=TextDecoration, converter=convertFlags<Tex tDecoration>
141 text-decoration-line use_handlers_for=CSSPropertyTextDecoration
142 text-decoration-color custom_all 140 text-decoration-color custom_all
143 text-decoration-style type_name=TextDecorationStyle 141 text-decoration-style type_name=TextDecorationStyle
144 text-indent custom_all 142 text-indent custom_all
145 text-justify type_name=TextJustify 143 text-justify type_name=TextJustify
146 text-overflow type_name=TextOverflow 144 text-overflow type_name=TextOverflow
147 text-rendering font, type_name=TextRenderingMode 145 text-rendering font, type_name=TextRenderingMode
148 text-shadow converter=convertShadow 146 text-shadow converter=convertShadow
149 text-transform 147 text-transform
150 top initial=initialOffset, converter=convertLengthOrAuto 148 top initial=initialOffset, converter=convertLengthOrAuto
151 touch-action converter=convertFlags<TouchAction> 149 touch-action converter=convertFlags<TouchAction>
152 touch-action-delay type_name=TouchActionDelay 150 touch-action-delay type_name=TouchActionDelay
153 unicode-bidi 151 unicode-bidi
154 vertical-align custom_inherit, custom_value 152 vertical-align custom_inherit, custom_value
155 visibility 153 visibility
156 white-space 154 white-space
157 widows type_name=short, custom_all 155 widows type_name=short, custom_all
158 width initial=initialSize, converter=convertLengthSizing 156 width initial=initialSize, converter=convertLengthSizing
159 will-change custom_all 157 will-change custom_all
160 word-break 158 word-break
161 word-spacing initial=initialLetterWordSpacing, converter=convertSpacing 159 word-spacing initial=initialLetterWordSpacing, converter=convertSpacing
162 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' prope rty. So using the same handlers.
163 word-wrap name_for_methods=OverflowWrap
164 zoom custom_all 160 zoom custom_all
165 z-index type_name=int, custom_all 161 z-index type_name=int, custom_all
166 162
167 -webkit-animation-delay custom_all 163 -webkit-animation-delay custom_all
168 -webkit-animation-direction custom_all 164 -webkit-animation-direction custom_all
169 -webkit-animation-duration custom_all 165 -webkit-animation-duration custom_all
170 -webkit-animation-fillMode custom_all 166 -webkit-animation-fillMode custom_all
171 -webkit-animation-iteration-count custom_all 167 -webkit-animation-iteration-count custom_all
172 -webkit-animation-name custom_all 168 -webkit-animation-name custom_all
173 -webkit-animation-play-state custom_all 169 -webkit-animation-play-state custom_all
174 -webkit-animation-timing-function custom_all 170 -webkit-animation-timing-function custom_all
175 -webkit-app-region custom_all 171 -webkit-app-region custom_all
176 -webkit-appearance type_name=ControlPart 172 -webkit-appearance type_name=ControlPart
177 -webkit-aspect-ratio custom_all 173 -webkit-aspect-ratio custom_all
178 backface-visibility 174 backface-visibility
179 -webkit-backface-visibility
180 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip
181 -webkit-background-composite custom_all 175 -webkit-background-composite custom_all
182 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin
183 -webkit-background-size use_handlers_for=CSSPropertyBackgroundSize
184 -webkit-border-fit 176 -webkit-border-fit
185 -webkit-border-horizontal-spacing name_for_methods=HorizontalBorderSpacing, conv erter=convertComputedLength<short> 177 -webkit-border-horizontal-spacing name_for_methods=HorizontalBorderSpacing, conv erter=convertComputedLength<short>
186 -webkit-border-image initial=initialNinePieceImage, custom_value 178 -webkit-border-image initial=initialNinePieceImage, custom_value
187 -webkit-border-vertical-spacing name_for_methods=VerticalBorderSpacing, converte r=convertComputedLength<short> 179 -webkit-border-vertical-spacing name_for_methods=VerticalBorderSpacing, converte r=convertComputedLength<short>
188 -webkit-box-align type_name=EBoxAlignment 180 -webkit-box-align type_name=EBoxAlignment
189 -webkit-box-decoration-break 181 -webkit-box-decoration-break
190 -webkit-box-direction 182 -webkit-box-direction
191 -webkit-box-flex-group type_name=unsigned int 183 -webkit-box-flex-group type_name=unsigned int
192 -webkit-box-flex type_name=float 184 -webkit-box-flex type_name=float
193 -webkit-box-lines 185 -webkit-box-lines
194 -webkit-box-ordinal-group type_name=unsigned int 186 -webkit-box-ordinal-group type_name=unsigned int
195 -webkit-box-orient 187 -webkit-box-orient
196 -webkit-box-pack 188 -webkit-box-pack
197 -webkit-box-reflect converter=convertBoxReflect 189 -webkit-box-reflect converter=convertBoxReflect
198 -webkit-box-shadow use_handlers_for=CSSPropertyBoxShadow
199 -webkit-clip-path custom_value 190 -webkit-clip-path custom_value
200 -webkit-column-break-after type_name=EPageBreak, initial=initialPageBreak 191 -webkit-column-break-after type_name=EPageBreak, initial=initialPageBreak
201 -webkit-column-break-before type_name=EPageBreak, initial=initialPageBreak 192 -webkit-column-break-before type_name=EPageBreak, initial=initialPageBreak
202 -webkit-column-break-inside type_name=EPageBreak, initial=initialPageBreak 193 -webkit-column-break-inside type_name=EPageBreak, initial=initialPageBreak
203 -webkit-column-count type_name=unsigned short, custom_all 194 -webkit-column-count type_name=unsigned short, custom_all
204 column-fill type_name=ColumnFill 195 column-fill type_name=ColumnFill
205 -webkit-column-gap type_name=float, custom_all 196 -webkit-column-gap type_name=float, custom_all
206 -webkit-column-rule-color custom_all 197 -webkit-column-rule-color custom_all
207 -webkit-column-rule-style type_name=EBorderStyle, initial=initialBorderStyle 198 -webkit-column-rule-style type_name=EBorderStyle, initial=initialBorderStyle
208 -webkit-column-rule-width converter=convertLineWidth<unsigned short> 199 -webkit-column-rule-width converter=convertLineWidth<unsigned short>
(...skipping 24 matching lines...) Expand all
233 -webkit-mask-box-image-width custom_all 224 -webkit-mask-box-image-width custom_all
234 -webkit-mask-clip custom_all 225 -webkit-mask-clip custom_all
235 -webkit-mask-composite custom_all 226 -webkit-mask-composite custom_all
236 -webkit-mask-image custom_all 227 -webkit-mask-image custom_all
237 -webkit-mask-origin custom_all 228 -webkit-mask-origin custom_all
238 -webkit-mask-position-x custom_all 229 -webkit-mask-position-x custom_all
239 -webkit-mask-position-y custom_all 230 -webkit-mask-position-y custom_all
240 -webkit-mask-repeat-x custom_all 231 -webkit-mask-repeat-x custom_all
241 -webkit-mask-repeat-y custom_all 232 -webkit-mask-repeat-y custom_all
242 -webkit-mask-size custom_all 233 -webkit-mask-size custom_all
243 -webkit-perspective custom_all
244 perspective-origin custom_all 234 perspective-origin custom_all
245 -webkit-perspective-origin custom_all
246 -webkit-perspective-origin-x converter=convertLength 235 -webkit-perspective-origin-x converter=convertLength
247 -webkit-perspective-origin-y converter=convertLength 236 -webkit-perspective-origin-y converter=convertLength
248 -webkit-print-color-adjust type_name=PrintColorAdjust 237 -webkit-print-color-adjust type_name=PrintColorAdjust
249 -webkit-rtl-ordering type_name=Order, setter=setRTLOrdering, initial=initialRTLO rdering 238 -webkit-rtl-ordering type_name=Order, setter=setRTLOrdering, initial=initialRTLO rdering
250 -webkit-ruby-position type_name=RubyPosition 239 -webkit-ruby-position type_name=RubyPosition
251 -webkit-tap-highlight-color converter=convertColor 240 -webkit-tap-highlight-color converter=convertColor
252 -webkit-text-combine type_name=TextCombine 241 -webkit-text-combine type_name=TextCombine
253 -webkit-text-emphasis-color custom_all 242 -webkit-text-emphasis-color custom_all
254 -webkit-text-emphasis-position type_name=TextEmphasisPosition 243 -webkit-text-emphasis-position type_name=TextEmphasisPosition
255 -webkit-text-emphasis-style custom_all 244 -webkit-text-emphasis-style custom_all
256 -webkit-text-fill-color custom_all 245 -webkit-text-fill-color custom_all
257 -webkit-text-orientation custom_value 246 -webkit-text-orientation custom_value
258 -webkit-text-security 247 -webkit-text-security
259 -webkit-text-stroke-color custom_all 248 -webkit-text-stroke-color custom_all
260 -webkit-text-stroke-width converter=convertTextStrokeWidth 249 -webkit-text-stroke-width converter=convertTextStrokeWidth
261 text-underline-position type_name=TextUnderlinePosition 250 text-underline-position type_name=TextUnderlinePosition
262 transform custom_value 251 transform custom_value
263 -webkit-transform use_handlers_for=CSSPropertyTransform
264 transform-origin custom_all 252 transform-origin custom_all
265 -webkit-transform-origin-x converter=convertLength 253 -webkit-transform-origin-x converter=convertLength
266 -webkit-transform-origin-y converter=convertLength 254 -webkit-transform-origin-y converter=convertLength
267 -webkit-transform-origin-z converter=convertComputedLength<float> 255 -webkit-transform-origin-z converter=convertComputedLength<float>
268 transform-style name_for_methods=TransformStyle3D 256 transform-style name_for_methods=TransformStyle3D
269 -webkit-transform-style name_for_methods=TransformStyle3D
270 -webkit-transition-delay custom_all 257 -webkit-transition-delay custom_all
271 -webkit-transition-duration custom_all 258 -webkit-transition-duration custom_all
272 -webkit-transition-property custom_all 259 -webkit-transition-property custom_all
273 -webkit-transition-timing-function custom_all 260 -webkit-transition-timing-function custom_all
274 -webkit-user-drag 261 -webkit-user-drag
275 -webkit-user-modify 262 -webkit-user-modify
276 -webkit-user-select 263 -webkit-user-select
277 -webkit-writing-mode custom_value 264 -webkit-writing-mode custom_value
278 265
279 alignment-baseline svg 266 alignment-baseline svg
(...skipping 28 matching lines...) Expand all
308 stroke-dashoffset svg, name_for_methods=StrokeDashOffset, converter=convertSVGLe ngth 295 stroke-dashoffset svg, name_for_methods=StrokeDashOffset, converter=convertSVGLe ngth
309 stroke-linecap svg, type_name=LineCap, name_for_methods=CapStyle 296 stroke-linecap svg, type_name=LineCap, name_for_methods=CapStyle
310 stroke-linejoin svg, type_name=LineJoin, name_for_methods=JoinStyle 297 stroke-linejoin svg, type_name=LineJoin, name_for_methods=JoinStyle
311 stroke-miterlimit svg, type_name=float, name_for_methods=StrokeMiterLimit 298 stroke-miterlimit svg, type_name=float, name_for_methods=StrokeMiterLimit
312 stroke-opacity svg, converter=convertNumberOrPercentage 299 stroke-opacity svg, converter=convertNumberOrPercentage
313 stroke-width svg, converter=convertSVGLength 300 stroke-width svg, converter=convertSVGLength
314 text-anchor svg 301 text-anchor svg
315 vector-effect svg 302 vector-effect svg
316 writing-mode svg, type_name=SVGWritingMode 303 writing-mode svg, type_name=SVGWritingMode
317 304
318 -webkit-border-end-color direction_aware
319 -webkit-border-end-style direction_aware
320 -webkit-border-end-width direction_aware
321 -webkit-border-start-color direction_aware
322 -webkit-border-start-style direction_aware
323 -webkit-border-start-width direction_aware
324 -webkit-border-before-color direction_aware
325 -webkit-border-before-style direction_aware
326 -webkit-border-before-width direction_aware
327 -webkit-border-after-color direction_aware
328 -webkit-border-after-style direction_aware
329 -webkit-border-after-width direction_aware
330 -webkit-margin-end direction_aware
331 -webkit-margin-start direction_aware
332 -webkit-margin-before direction_aware
333 -webkit-margin-after direction_aware
334 -webkit-padding-end direction_aware
335 -webkit-padding-start direction_aware
336 -webkit-padding-before direction_aware
337 -webkit-padding-after direction_aware
338 -webkit-logical-width direction_aware
339 -webkit-logical-height direction_aware
340 -webkit-min-logical-width direction_aware
341 -webkit-min-logical-height direction_aware
342 -webkit-max-logical-width direction_aware
343 -webkit-max-logical-height direction_aware
344
345 // FIXME: We should look over these and see if some should actually be 305 // FIXME: We should look over these and see if some should actually be
346 // marked as unreachable. 306 // marked as unreachable.
347 animation-delay skip 307 animation-delay skip
348 animation-direction skip 308 animation-direction skip
349 animation-duration skip 309 animation-duration skip
350 animation-fill-mode skip 310 animation-fill-mode skip
351 animation-iteration-count skip 311 animation-iteration-count skip
352 animation-name skip 312 animation-name skip
353 animation-play-state skip 313 animation-play-state skip
354 animation-timing-function skip 314 animation-timing-function skip
355 transition-delay skip 315 transition-delay skip
356 transition-duration skip 316 transition-duration skip
357 transition-property skip 317 transition-property skip
358 transition-timing-function skip 318 transition-timing-function skip
359 page skip 319 page skip
360 src skip 320 src skip
361 unicode-range skip 321 unicode-range skip
362 -webkit-font-size-delta skip 322 -webkit-font-size-delta skip
363 -webkit-text-decorations-in-effect skip 323 -webkit-text-decorations-in-effect skip
364 max-zoom skip 324 max-zoom skip
365 min-zoom skip 325 min-zoom skip
366 user-zoom skip 326 user-zoom skip
367 orientation skip 327 orientation skip
368 enable-background skip 328 enable-background skip
369 invalid skip 329 invalid skip
370 all skip 330 all skip
OLDNEW
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/css/CSSProperty.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698