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

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: V7 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
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 -webkit-logical-height direction_aware 435 -webkit-logical-height direction_aware
436 -webkit-min-logical-width direction_aware 436 -webkit-min-logical-width direction_aware
437 -webkit-min-logical-height direction_aware 437 -webkit-min-logical-height direction_aware
438 -webkit-max-logical-width direction_aware 438 -webkit-max-logical-width direction_aware
439 -webkit-max-logical-height direction_aware 439 -webkit-max-logical-height direction_aware
440 440
441 // Properties that we ignore in the StyleBuilder. 441 // Properties that we ignore in the StyleBuilder.
442 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBuilde r 442 // TODO(timloh): This seems wrong, most of these shouldn't reach the StyleBuilde r
443 443
444 all builder_skip 444 all builder_skip
445 font-display builder_skip, runtime_flag=CSSFontDisplay 445 font-display builder_skip, runtime_flag=CSSFontDisplay
Timothy Loh 2016/05/19 05:44:42 this one is a @font-face descriptor
rwlbuis 2016/05/20 00:51:11 Done.
446 max-zoom builder_skip
447 min-zoom builder_skip
448 orientation builder_skip
449 page builder_skip 446 page builder_skip
450 src builder_skip
451 unicode-range builder_skip
452 user-zoom builder_skip
453 -webkit-font-size-delta builder_skip 447 -webkit-font-size-delta builder_skip
454 -webkit-text-decorations-in-effect inherited, builder_skip 448 -webkit-text-decorations-in-effect inherited, builder_skip
449 // descriptors go here
450 max-zoom descriptor, builder_skip
Timothy Loh 2016/05/19 05:44:42 descriptor should be something like descriptor_onl
rwlbuis 2016/05/20 00:51:11 Done.
451 min-zoom descriptor, builder_skip
452 orientation descriptor, builder_skip
453 src descriptor, builder_skip
454 unicode-range descriptor, builder_skip
455 user-zoom descriptor, builder_skip
455 456
456 // Shorthands 457 // Shorthands
457 458
458 animation longhands=animation-name;animation-duration;animation-timing-function; animation-delay;animation-iteration-count;animation-direction;animation-fill-mod e;animation-play-state 459 animation longhands=animation-name;animation-duration;animation-timing-function; animation-delay;animation-iteration-count;animation-direction;animation-fill-mod e;animation-play-state
459 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 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
460 background-position longhands=background-position-x;background-position-y 461 background-position longhands=background-position-x;background-position-y
461 background-repeat longhands=background-repeat-x;background-repeat-y 462 background-repeat longhands=background-repeat-x;background-repeat-y
462 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 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
463 border-bottom longhands=border-bottom-width;border-bottom-style;border-bottom-co lor 464 border-bottom longhands=border-bottom-width;border-bottom-style;border-bottom-co lor
464 border-color longhands=border-top-color;border-right-color;border-bottom-color;b order-left-color 465 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
568 -webkit-shape-margin alias_for=shape-margin 569 -webkit-shape-margin alias_for=shape-margin
569 -webkit-shape-outside alias_for=shape-outside 570 -webkit-shape-outside alias_for=shape-outside
570 -webkit-transform alias_for=transform 571 -webkit-transform alias_for=transform
571 -webkit-transform-origin alias_for=transform-origin 572 -webkit-transform-origin alias_for=transform-origin
572 -webkit-transform-style alias_for=transform-style 573 -webkit-transform-style alias_for=transform-style
573 -webkit-transition alias_for=transition 574 -webkit-transition alias_for=transition
574 -webkit-transition-delay alias_for=transition-delay 575 -webkit-transition-delay alias_for=transition-delay
575 -webkit-transition-duration alias_for=transition-duration 576 -webkit-transition-duration alias_for=transition-duration
576 -webkit-transition-property alias_for=transition-property 577 -webkit-transition-property alias_for=transition-property
577 -webkit-transition-timing-function alias_for=transition-timing-function 578 -webkit-transition-timing-function alias_for=transition-timing-function
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698