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

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

Issue 2213223004: Revert of Add a fast-path for independent inherited properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@computedstyle_cleanup_rename_final_member_fields
Patch Set: Created 4 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
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 27 matching lines...) Expand all
38 // Flags which go into CSSPropertyMetadata: 38 // Flags which go into CSSPropertyMetadata:
39 // - interpolable 39 // - interpolable
40 // The interpolable flag indicates whether a property can be animated smoothly. 40 // The interpolable flag indicates whether a property can be animated smoothly.
41 // If this flag is set, the property should also be added to the switch 41 // If this flag is set, the property should also be added to the switch
42 // statements in AnimatedStyleBuilder, CSSPropertyEquality and 42 // statements in AnimatedStyleBuilder, CSSPropertyEquality and
43 // CSSAnimatableValueFactory. 43 // CSSAnimatableValueFactory.
44 // - inherited 44 // - inherited
45 // The property will inherit by default if no value is specified, typically 45 // The property will inherit by default if no value is specified, typically
46 // mentioned in specifications as "Inherited: yes" 46 // mentioned in specifications as "Inherited: yes"
47 47
48 // - independent
49 // This property affects only one field on ComputedStyle, and can be set
50 // directly during inheritance instead of forcing a recalc.
51 // StyleResolver and StyleAdjuster are not invoked when these properties
52 // are changed on a parent. Recalcs only happen if at least one
53 // non-independent inherited property is changed in the parent.
54 48
55 // The remaining arguments are used for the StyleBuilder and allow us to 49 // The remaining arguments are used for the StyleBuilder and allow us to
56 // succinctly describe how to apply properties. When default handlers are not 50 // succinctly describe how to apply properties. When default handlers are not
57 // sufficient, we should prefer to use converter, and failing that define 51 // sufficient, we should prefer to use converter, and failing that define
58 // custom property handlers in StyleBuilderCustom.cpp. We only should use 52 // custom property handlers in StyleBuilderCustom.cpp. We only should use
59 // StyleBuilderFunctions.cpp.tmpl to define handlers when there are multiple 53 // StyleBuilderFunctions.cpp.tmpl to define handlers when there are multiple
60 // properties requiring the same handling, but converter doesn't suffice. 54 // properties requiring the same handling, but converter doesn't suffice.
61 55
62 // - font 56 // - font
63 // The default property handlers call into the FontBuilder instead of setting 57 // The default property handlers call into the FontBuilder instead of setting
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 overflow-wrap inherited 265 overflow-wrap inherited
272 overflow-x type_name=EOverflow 266 overflow-x type_name=EOverflow
273 overflow-y type_name=EOverflow 267 overflow-y type_name=EOverflow
274 padding-bottom interpolable, initial=initialPadding, converter=convertLength 268 padding-bottom interpolable, initial=initialPadding, converter=convertLength
275 padding-left interpolable, initial=initialPadding, converter=convertLength 269 padding-left interpolable, initial=initialPadding, converter=convertLength
276 padding-right interpolable, initial=initialPadding, converter=convertLength 270 padding-right interpolable, initial=initialPadding, converter=convertLength
277 padding-top interpolable, initial=initialPadding, converter=convertLength 271 padding-top interpolable, initial=initialPadding, converter=convertLength
278 paint-order inherited, svg, converter=convertPaintOrder 272 paint-order inherited, svg, converter=convertPaintOrder
279 perspective interpolable, converter=convertPerspective 273 perspective interpolable, converter=convertPerspective
280 perspective-origin interpolable, converter=convertPosition 274 perspective-origin interpolable, converter=convertPosition
281 pointer-events inherited, independent 275 pointer-events inherited
282 position custom_inherit 276 position custom_inherit
283 quotes inherited, converter=convertQuotes 277 quotes inherited, converter=convertQuotes
284 resize custom_value 278 resize custom_value
285 right typedom_types=[Length], keywords=[auto], supports_percentage, interpolable , initial=initialOffset, converter=convertLengthOrAuto 279 right typedom_types=[Length], keywords=[auto], supports_percentage, interpolable , initial=initialOffset, converter=convertLengthOrAuto
286 r interpolable, svg, converter=convertLength 280 r interpolable, svg, converter=convertLength
287 rx interpolable, svg, converter=convertLengthOrAuto 281 rx interpolable, svg, converter=convertLengthOrAuto
288 ry interpolable, svg, converter=convertLengthOrAuto 282 ry interpolable, svg, converter=convertLengthOrAuto
289 scroll-behavior runtime_flag=CSSOMSmoothScroll, type_name=ScrollBehavior 283 scroll-behavior runtime_flag=CSSOMSmoothScroll, type_name=ScrollBehavior
290 scroll-snap-type runtime_flag=CSSScrollSnapPoints, type_name=ScrollSnapType 284 scroll-snap-type runtime_flag=CSSScrollSnapPoints, type_name=ScrollSnapType
291 scroll-snap-points-x runtime_flag=CSSScrollSnapPoints, converter=convertSnapPoin ts 285 scroll-snap-points-x runtime_flag=CSSScrollSnapPoints, converter=convertSnapPoin ts
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 translate runtime_flag=CSSIndependentTransformProperties, converter=convertTrans late, interpolable 329 translate runtime_flag=CSSIndependentTransformProperties, converter=convertTrans late, interpolable
336 rotate runtime_flag=CSSIndependentTransformProperties, converter=convertRotate, interpolable 330 rotate runtime_flag=CSSIndependentTransformProperties, converter=convertRotate, interpolable
337 scale runtime_flag=CSSIndependentTransformProperties, converter=convertScale, in terpolable 331 scale runtime_flag=CSSIndependentTransformProperties, converter=convertScale, in terpolable
338 transition-delay custom_all 332 transition-delay custom_all
339 transition-duration custom_all 333 transition-duration custom_all
340 transition-property custom_all 334 transition-property custom_all
341 transition-timing-function custom_all 335 transition-timing-function custom_all
342 unicode-bidi 336 unicode-bidi
343 vector-effect svg 337 vector-effect svg
344 vertical-align interpolable, custom_inherit, custom_value 338 vertical-align interpolable, custom_inherit, custom_value
345 visibility interpolable, inherited, independent 339 visibility interpolable, inherited
346 x interpolable, svg, converter=convertLength 340 x interpolable, svg, converter=convertLength
347 y interpolable, svg, converter=convertLength 341 y interpolable, svg, converter=convertLength
348 -webkit-appearance type_name=ControlPart 342 -webkit-appearance type_name=ControlPart
349 -webkit-app-region custom_all 343 -webkit-app-region custom_all
350 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip 344 -webkit-background-clip use_handlers_for=CSSPropertyBackgroundClip
351 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin 345 -webkit-background-origin use_handlers_for=CSSPropertyBackgroundOrigin
352 -webkit-border-horizontal-spacing interpolable, inherited, name_for_methods=Hori zontalBorderSpacing, converter=convertComputedLength<short> 346 -webkit-border-horizontal-spacing interpolable, inherited, name_for_methods=Hori zontalBorderSpacing, converter=convertComputedLength<short>
353 -webkit-border-image initial=initialNinePieceImage, custom_value 347 -webkit-border-image initial=initialNinePieceImage, custom_value
354 -webkit-border-vertical-spacing interpolable, inherited, name_for_methods=Vertic alBorderSpacing, converter=convertComputedLength<short> 348 -webkit-border-vertical-spacing interpolable, inherited, name_for_methods=Vertic alBorderSpacing, converter=convertComputedLength<short>
355 -webkit-box-align type_name=EBoxAlignment 349 -webkit-box-align type_name=EBoxAlignment
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
586 -webkit-shape-outside alias_for=shape-outside 580 -webkit-shape-outside alias_for=shape-outside
587 -webkit-text-size-adjust alias_for=text-size-adjust 581 -webkit-text-size-adjust alias_for=text-size-adjust
588 -webkit-transform alias_for=transform 582 -webkit-transform alias_for=transform
589 -webkit-transform-origin alias_for=transform-origin 583 -webkit-transform-origin alias_for=transform-origin
590 -webkit-transform-style alias_for=transform-style 584 -webkit-transform-style alias_for=transform-style
591 -webkit-transition alias_for=transition 585 -webkit-transition alias_for=transition
592 -webkit-transition-delay alias_for=transition-delay 586 -webkit-transition-delay alias_for=transition-delay
593 -webkit-transition-duration alias_for=transition-duration 587 -webkit-transition-duration alias_for=transition-duration
594 -webkit-transition-property alias_for=transition-property 588 -webkit-transition-property alias_for=transition-property
595 -webkit-transition-timing-function alias_for=transition-timing-function 589 -webkit-transition-timing-function alias_for=transition-timing-function
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698