Title: [208618] trunk/Source/WebCore
Revision
208618
Author
[email protected]
Date
2016-11-11 15:28:10 -0800 (Fri, 11 Nov 2016)

Log Message

[CSS Parser] Support margin-box in shape parsing.
https://bugs.webkit.org/show_bug.cgi?id=164658

Reviewed by Sam Weinig.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (208617 => 208618)


--- trunk/Source/WebCore/ChangeLog	2016-11-11 23:18:36 UTC (rev 208617)
+++ trunk/Source/WebCore/ChangeLog	2016-11-11 23:28:10 UTC (rev 208618)
@@ -1,5 +1,15 @@
 2016-11-11  Dave Hyatt  <[email protected]>
 
+        [CSS Parser] Support margin-box in shape parsing.
+        https://bugs.webkit.org/show_bug.cgi?id=164658
+
+        Reviewed by Sam Weinig.
+
+        * css/parser/CSSPropertyParser.cpp:
+        (WebCore::consumeBasicShapeOrBox):
+
+2016-11-11  Dave Hyatt  <[email protected]>
+
         [CSS Parser] Add support for -webkit-mask-source-type
         https://bugs.webkit.org/show_bug.cgi?id=164657
 

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp (208617 => 208618)


--- trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-11-11 23:18:36 UTC (rev 208617)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-11-11 23:28:10 UTC (rev 208618)
@@ -2317,7 +2317,7 @@
             componentValue = consumeBasicShape(range, context);
             shapeFound = true;
         } else if (range.peek().type() == IdentToken && !boxFound) {
-            componentValue = consumeIdent<CSSValueContentBox, CSSValuePaddingBox, CSSValueBorderBox, CSSValueFill, CSSValueStroke, CSSValueViewBox>(range);
+            componentValue = consumeIdent<CSSValueContentBox, CSSValuePaddingBox, CSSValueBorderBox, CSSValueMarginBox, CSSValueFill, CSSValueStroke, CSSValueViewBox>(range);
             boxFound = true;
         }
         if (!componentValue)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to