Title: [193548] branches/safari-601.1.46-branch/Source/WebCore
- Revision
- 193548
- Author
- [email protected]
- Date
- 2015-12-05 19:08:17 -0800 (Sat, 05 Dec 2015)
Log Message
Merge r191155. rdar://problem/23772889
Modified Paths
Diff
Modified: branches/safari-601.1.46-branch/Source/WebCore/ChangeLog (193547 => 193548)
--- branches/safari-601.1.46-branch/Source/WebCore/ChangeLog 2015-12-06 02:57:18 UTC (rev 193547)
+++ branches/safari-601.1.46-branch/Source/WebCore/ChangeLog 2015-12-06 03:08:17 UTC (rev 193548)
@@ -1,5 +1,21 @@
2015-12-05 Matthew Hanson <[email protected]>
+ Merge r191155. rdar://problem/23772889
+
+ 2015-10-15 David Hyatt <[email protected]>
+
+ Patch parseKeywordValue to accept "unset" so that it goes down the faster parsing path.
+ https://bugs.webkit.org/show_bug.cgi?id=150213
+
+ Reviewed by Dean Jackson.
+
+ No new tests as correctness doesn't change (just speed).
+
+ * css/CSSParser.cpp:
+ (WebCore::parseKeywordValue):
+
+2015-12-05 Matthew Hanson <[email protected]>
+
Merge r190667. rdar://problem/23769564
2015-10-06 Simon Fraser <[email protected]>
Modified: branches/safari-601.1.46-branch/Source/WebCore/css/CSSParser.cpp (193547 => 193548)
--- branches/safari-601.1.46-branch/Source/WebCore/css/CSSParser.cpp 2015-12-06 02:57:18 UTC (rev 193547)
+++ branches/safari-601.1.46-branch/Source/WebCore/css/CSSParser.cpp 2015-12-06 03:08:17 UTC (rev 193548)
@@ -1179,10 +1179,10 @@
if (!isKeywordPropertyID(propertyId)) {
// All properties accept the values of "initial" and "inherit".
String lowerCaseString = string.lower();
- if (lowerCaseString != "initial" && lowerCaseString != "inherit")
+ if (lowerCaseString != "initial" && lowerCaseString != "inherit" && lowerCaseString != "unset")
return CSSParser::ParseResult::Error;
- // Parse initial/inherit shorthands using the CSSParser.
+ // Parse initial/inherit/unset shorthands using the CSSParser.
if (shorthandForProperty(propertyId).length())
return CSSParser::ParseResult::Error;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes