Changeset 211149 in webkit
- Timestamp:
- Jan 25, 2017, 9:42:44 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/css/CSSProperties.json (modified) (4 diffs)
-
Source/WebCore/css/StyleResolver.cpp (modified) (1 diff)
-
Source/WebCore/css/makeprop.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r211148 r211149 1 2017-01-25 Simon Fraser <simon.fraser@apple.com> 2 3 Revert r210882, removing support for background-repeat-x/y 4 https://bugs.webkit.org/show_bug.cgi?id=167223 5 6 Reviewed by Myles Maxfield. 7 8 Modify the test to check that background-repeat-x and background-repeat-y are not parsed. 9 10 * fast/backgrounds/background-repeat-x-y-parse-expected.txt: 11 * fast/backgrounds/background-repeat-x-y-parse.html: 12 1 13 2017-01-25 Youenn Fablet <youenn@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r211145 r211149 1 2017-01-25 Simon Fraser <simon.fraser@apple.com> 2 3 Revert r210882, removing support for background-repeat-x/y 4 https://bugs.webkit.org/show_bug.cgi?id=167223 5 6 Reviewed by Myles Maxfield. 7 8 CSSPropertyBackgroundRepeatX and CSSPropertyBackgroundRepeatY only exist to make it easier 9 to parse CSSPropertyBackgroundRepeat as if it were a shorthand; they were never intended to 10 be web-exposed. r210882 mistakenly expose them to the web, so undo that patch, and annotate 11 the properties in CSSProperties.json with a flag which indicates their special status. 12 13 In addition, remove background-repeat-x/y from the list of properties allowed in video cues, 14 since these are not valid properties. 15 16 * css/CSSProperties.json: 17 * css/StyleResolver.cpp: 18 (WebCore::StyleResolver::isValidCueStyleProperty): 19 * css/makeprop.pl: 20 (addProperty): 21 * css/parser/CSSParserFastPaths.cpp: 22 (WebCore::CSSParserFastPaths::isKeywordPropertyID): 23 1 24 2017-01-25 Carlos Garcia Campos <cgarcia@igalia.com> 2 25 -
trunk/Source/WebCore/css/CSSProperties.json
r210024 r211149 683 683 "codegen-properties": { 684 684 "name-for-methods": "RepeatX", 685 "fill-layer-property": true 685 "fill-layer-property": true, 686 "internal-only": true 686 687 } 687 688 }, … … 689 690 "codegen-properties": { 690 691 "name-for-methods": "RepeatY", 691 "fill-layer-property": true 692 "fill-layer-property": true, 693 "internal-only": true 692 694 } 693 695 }, … … 3543 3545 "codegen-properties": { 3544 3546 "name-for-methods": "RepeatX", 3545 "fill-layer-property": true 3547 "fill-layer-property": true, 3548 "internal-only": true 3546 3549 } 3547 3550 }, … … 3549 3552 "codegen-properties": { 3550 3553 "name-for-methods": "RepeatY", 3551 "fill-layer-property": true 3554 "fill-layer-property": true, 3555 "internal-only": true 3552 3556 } 3553 3557 }, -
trunk/Source/WebCore/css/StyleResolver.cpp
r210828 r211149 1484 1484 case CSSPropertyBackgroundPositionY: 1485 1485 case CSSPropertyBackgroundRepeat: 1486 case CSSPropertyBackgroundRepeatX:1487 case CSSPropertyBackgroundRepeatY:1488 1486 case CSSPropertyBackgroundSize: 1489 1487 case CSSPropertyColor: -
trunk/Source/WebCore/css/makeprop.pl
r210758 r211149 140 140 } elsif ($styleBuilderOptions{$codegenOptionName}) { 141 141 $propertiesWithStyleBuilderOptions{$name}{$codegenOptionName} = $codegenProperties->{$codegenOptionName}; 142 } elsif ($codegenOptionName eq "internal-only") { 143 # internal-only properties exist to make it easier to parse compound properties (e.g. background-repeat) as if they were shorthands. This doesn't currently affect codegen. 142 144 } else { 143 145 die "Unrecognized codegen property \"$optionName\" for $name property.";
Note:
See TracChangeset
for help on using the changeset viewer.