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

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

Issue 1386733003: Do not accept CSS-wide keywords for descriptors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try to fix ASSERTs Created 4 years, 7 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
11 11
12 // - runtime_flag=CSSGridLayout 12 // - runtime_flag=CSSGridLayout
13 // The flag on RuntimeEnabledFeatures conditionally enables the property. 13 // The flag on RuntimeEnabledFeatures conditionally enables the property.
14 // This doesn't currently work with alias_for. 14 // This doesn't currently work with alias_for.
15 15
16 16
Timothy Loh 2016/05/31 07:35:10 // - descriptor_only // These are actually descrip
17 // - longhands=property;other-property 17 // - longhands=property;other-property
18 // The property is a shorthand for several other properties. 18 // The property is a shorthand for several other properties.
19 19
20 20
21 // Flags which go into CSSOMTypes: 21 // Flags which go into CSSOMTypes:
22 // - typedom_types=[Type|OtherType] 22 // - typedom_types=[Type|OtherType]
23 // The property can take types specified in typedom_types for CSS Typed OM. 23 // The property can take types specified in typedom_types for CSS Typed OM.
24 // Keyword does not need to be specified as every property can take keywords. 24 // Keyword does not need to be specified as every property can take keywords.
25 // - keywords=[keyword1|keyword2] 25 // - keywords=[keyword1|keyword2]
26 // The property can take these keywords. 26 // The property can take these keywords.
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 -webkit-logical-height direction_aware 436 -webkit-logical-height direction_aware
437 -webkit-min-logical-width direction_aware 437 -webkit-min-logical-width direction_aware
438 -webkit-min-logical-height direction_aware 438 -webkit-min-logical-height direction_aware
439 -webkit-max-logical-width direction_aware 439 -webkit-max-logical-width direction_aware
440 -webkit-max-logical-height direction_aware 440 -webkit-max-logical-height direction_aware
441 441
442 // Properties that we ignore in the StyleBuilder. 442 // Properties that we ignore in the StyleBuilder.
443 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBuilde r 443 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBuilde r
444 444
445 all builder_skip 445 all builder_skip
446 font-display builder_skip, runtime_flag=CSSFontDisplay
447 max-zoom builder_skip
448 min-zoom builder_skip
449 orientation builder_skip
450 page builder_skip 446 page builder_skip
451 src builder_skip
452 unicode-range builder_skip
453 user-zoom builder_skip
454 -webkit-font-size-delta builder_skip 447 -webkit-font-size-delta builder_skip
455 -webkit-text-decorations-in-effect inherited, builder_skip 448 -webkit-text-decorations-in-effect inherited, builder_skip
449 // descriptors go here
Timothy Loh 2016/05/31 07:35:10 blank line before comment
450 font-display descriptor_only, runtime_flag=CSSFontDisplay
451 max-zoom descriptor_only
452 min-zoom descriptor_only
453 orientation descriptor_only
454 src descriptor_only
455 unicode-range descriptor_only
456 user-zoom descriptor_only
456 457
457 // Shorthands 458 // Shorthands
458 459
459 animation longhands=animation-name;animation-duration;animation-timing-function; animation-delay;animation-iteration-count;animation-direction;animation-fill-mod e;animation-play-state 460 animation longhands=animation-name;animation-duration;animation-timing-function; animation-delay;animation-iteration-count;animation-direction;animation-fill-mod e;animation-play-state
460 background longhands=background-image;background-position-x;background-position- y;background-size;background-repeat-x;background-repeat-y;background-attachment; background-origin;background-clip;background-color 461 background longhands=background-image;background-position-x;background-position- y;background-size;background-repeat-x;background-repeat-y;background-attachment; background-origin;background-clip;background-color
461 background-position longhands=background-position-x;background-position-y 462 background-position longhands=background-position-x;background-position-y
462 background-repeat longhands=background-repeat-x;background-repeat-y 463 background-repeat longhands=background-repeat-x;background-repeat-y
463 border longhands=border-top-color;border-top-style;border-top-width;border-right -color;border-right-style;border-right-width;border-bottom-color;border-bottom-s tyle;border-bottom-width;border-left-color;border-left-style;border-left-width;b order-image-source;border-image-slice;border-image-width;border-image-outset;bor der-image-repeat 464 border longhands=border-top-color;border-top-style;border-top-width;border-right -color;border-right-style;border-right-width;border-bottom-color;border-bottom-s tyle;border-bottom-width;border-left-color;border-left-style;border-left-width;b order-image-source;border-image-slice;border-image-width;border-image-outset;bor der-image-repeat
464 border-bottom longhands=border-bottom-width;border-bottom-style;border-bottom-co lor 465 border-bottom longhands=border-bottom-width;border-bottom-style;border-bottom-co lor
465 border-color longhands=border-top-color;border-right-color;border-bottom-color;b order-left-color 466 border-color longhands=border-top-color;border-right-color;border-bottom-color;b order-left-color
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
569 -webkit-shape-margin alias_for=shape-margin 570 -webkit-shape-margin alias_for=shape-margin
570 -webkit-shape-outside alias_for=shape-outside 571 -webkit-shape-outside alias_for=shape-outside
571 -webkit-transform alias_for=transform 572 -webkit-transform alias_for=transform
572 -webkit-transform-origin alias_for=transform-origin 573 -webkit-transform-origin alias_for=transform-origin
573 -webkit-transform-style alias_for=transform-style 574 -webkit-transform-style alias_for=transform-style
574 -webkit-transition alias_for=transition 575 -webkit-transition alias_for=transition
575 -webkit-transition-delay alias_for=transition-delay 576 -webkit-transition-delay alias_for=transition-delay
576 -webkit-transition-duration alias_for=transition-duration 577 -webkit-transition-duration alias_for=transition-duration
577 -webkit-transition-property alias_for=transition-property 578 -webkit-transition-property alias_for=transition-property
578 -webkit-transition-timing-function alias_for=transition-timing-function 579 -webkit-transition-timing-function alias_for=transition-timing-function
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698