Title: [209075] trunk/Source/WebCore
- Revision
- 209075
- Author
- [email protected]
- Date
- 2016-11-29 09:36:47 -0800 (Tue, 29 Nov 2016)
Log Message
[CSS Parser] Fix parsing of "all" in transitions
https://bugs.webkit.org/show_bug.cgi?id=165144
Reviewed by Dean Jackson.
* css/parser/CSSPropertyParser.cpp:
(WebCore::consumeTransitionProperty):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (209074 => 209075)
--- trunk/Source/WebCore/ChangeLog 2016-11-29 17:18:03 UTC (rev 209074)
+++ trunk/Source/WebCore/ChangeLog 2016-11-29 17:36:47 UTC (rev 209075)
@@ -1,5 +1,15 @@
2016-11-29 Dave Hyatt <[email protected]>
+ [CSS Parser] Fix parsing of "all" in transitions
+ https://bugs.webkit.org/show_bug.cgi?id=165144
+
+ Reviewed by Dean Jackson.
+
+ * css/parser/CSSPropertyParser.cpp:
+ (WebCore::consumeTransitionProperty):
+
+2016-11-29 Dave Hyatt <[email protected]>
+
[CSS Parser] Fix @page rule parsing
https://bugs.webkit.org/show_bug.cgi?id=165143
Modified: trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp (209074 => 209075)
--- trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp 2016-11-29 17:18:03 UTC (rev 209074)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp 2016-11-29 17:36:47 UTC (rev 209075)
@@ -1205,6 +1205,12 @@
if (CSSPropertyID property = token.parseAsCSSPropertyID()) {
range.consumeIncludingWhitespace();
+ // FIXME-NEWPARSER: No reason why we can't use the "all" property now that it exists.
+ // The old parser used a value keyword for "all", though, since it predated support for
+ // the property.
+ if (property == CSSPropertyAll)
+ return CSSValuePool::singleton().createIdentifierValue(CSSValueAll);
+
// FIXME-NEWPARSER: Want to use a CSSCustomIdentValue here eventually.
return CSSValuePool::singleton().createIdentifierValue(property);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes