Title: [207549] trunk/Source/WebCore
Revision
207549
Author
hy...@apple.com
Date
2016-10-19 11:42:43 -0700 (Wed, 19 Oct 2016)

Log Message

[CSS Parser] Fix -webkit-mask-box-image parsing
https://bugs.webkit.org/show_bug.cgi?id=163676

Reviewed by Dean Jackson.

-webkit-mask-box-image is not a shorthand in our current code, so treat it the same as the legacy
-webkit-border-image.

* css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::parseSingleValue):
(WebCore::CSSPropertyParser::parseShorthand):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (207548 => 207549)


--- trunk/Source/WebCore/ChangeLog	2016-10-19 18:25:36 UTC (rev 207548)
+++ trunk/Source/WebCore/ChangeLog	2016-10-19 18:42:43 UTC (rev 207549)
@@ -1,3 +1,17 @@
+2016-10-19  Dave Hyatt  <hy...@apple.com>
+
+        [CSS Parser] Fix -webkit-mask-box-image parsing
+        https://bugs.webkit.org/show_bug.cgi?id=163676
+
+        Reviewed by Dean Jackson.
+
+        -webkit-mask-box-image is not a shorthand in our current code, so treat it the same as the legacy
+        -webkit-border-image.
+
+        * css/parser/CSSPropertyParser.cpp:
+        (WebCore::CSSPropertyParser::parseSingleValue):
+        (WebCore::CSSPropertyParser::parseShorthand):
+
 2016-10-19  Carlos Alberto Lopez Perez  <clo...@igalia.com>
 
         [GTK][EFL] Build fix after r207543.

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp (207548 => 207549)


--- trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-10-19 18:25:36 UTC (rev 207548)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-10-19 18:42:43 UTC (rev 207549)
@@ -3317,6 +3317,7 @@
     case CSSPropertyWebkitMaskBoxImageWidth:
         return consumeBorderImageWidth(m_range);
     case CSSPropertyWebkitBorderImage:
+    case CSSPropertyWebkitMaskBoxImage:
         return consumeWebkitBorderImage(property, m_range, m_context);
     case CSSPropertyWebkitBoxReflect:
         return consumeReflect(m_range, m_context);
@@ -4526,7 +4527,6 @@
     case CSSPropertyBorder:
         return consumeBorder(important);
     case CSSPropertyBorderImage:
-    case CSSPropertyWebkitMaskBoxImage:
         return consumeBorderImage(property, important);
     case CSSPropertyPageBreakAfter:
     case CSSPropertyPageBreakBefore:
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to