Title: [208599] trunk/Source/WebCore
Revision
208599
Author
[email protected]
Date
2016-11-11 11:09:01 -0800 (Fri, 11 Nov 2016)

Log Message

[CSS Parser] Fix basic shape parsing
https://bugs.webkit.org/show_bug.cgi?id=164645

Reviewed by Dean Jackson.

* css/parser/CSSPropertyParser.cpp:
(WebCore::consumeBasicShape):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (208598 => 208599)


--- trunk/Source/WebCore/ChangeLog	2016-11-11 19:02:10 UTC (rev 208598)
+++ trunk/Source/WebCore/ChangeLog	2016-11-11 19:09:01 UTC (rev 208599)
@@ -1,3 +1,13 @@
+2016-11-11  Dave Hyatt  <[email protected]>
+
+        [CSS Parser] Fix basic shape parsing
+        https://bugs.webkit.org/show_bug.cgi?id=164645
+
+        Reviewed by Dean Jackson.
+
+        * css/parser/CSSPropertyParser.cpp:
+        (WebCore::consumeBasicShape):
+
 2016-11-11  Zalan Bujtas  <[email protected]>
 
         RenderFlowThread::removeLineRegionInfo shouldn't call HashMap::contains before HashMap::remove

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp (208598 => 208599)


--- trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-11-11 19:02:10 UTC (rev 208598)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-11-11 19:09:01 UTC (rev 208599)
@@ -2264,6 +2264,9 @@
         return nullptr;
     range = rangeCopy;
     
+    if (!args.atEnd())
+        return nullptr;
+
     return CSSValuePool::singleton().createValue(shape.releaseNonNull());
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to