Title: [209321] trunk/Source/WebCore
Revision
209321
Author
[email protected]
Date
2016-12-05 09:43:37 -0800 (Mon, 05 Dec 2016)

Log Message

[CSS Parser] Properly fail on bad values for -webkit-clip-path
https://bugs.webkit.org/show_bug.cgi?id=165382

Reviewed by Dean Jackson.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (209320 => 209321)


--- trunk/Source/WebCore/ChangeLog	2016-12-05 17:35:44 UTC (rev 209320)
+++ trunk/Source/WebCore/ChangeLog	2016-12-05 17:43:37 UTC (rev 209321)
@@ -1,5 +1,15 @@
 2016-12-05  Dave Hyatt  <[email protected]>
 
+        [CSS Parser] Properly fail on bad values for -webkit-clip-path
+        https://bugs.webkit.org/show_bug.cgi?id=165382
+
+        Reviewed by Dean Jackson.
+
+        * css/parser/CSSPropertyParser.cpp:
+        (WebCore::consumeBasicShapeOrBox):
+
+2016-12-05  Dave Hyatt  <[email protected]>
+
         [CSS Parser] The page-break-* properties are only keyword props for old parser.
         https://bugs.webkit.org/show_bug.cgi?id=165381
 

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp (209320 => 209321)


--- trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-12-05 17:35:44 UTC (rev 209320)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-12-05 17:43:37 UTC (rev 209321)
@@ -2521,7 +2521,7 @@
         list->append(componentValue.releaseNonNull());
     }
     
-    if (!range.atEnd())
+    if (!range.atEnd() || !list->length())
         return nullptr;
     
     return list;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to