Title: [209329] trunk/Source/WebCore
Revision
209329
Author
[email protected]
Date
2016-12-05 11:17:21 -0800 (Mon, 05 Dec 2016)

Log Message

[CSS Parser] Support the 'alphabetic' keyword for text-underline-position
https://bugs.webkit.org/show_bug.cgi?id=165387

Reviewed by Simon Fraser.

Fixes fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position.html

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (209328 => 209329)


--- trunk/Source/WebCore/ChangeLog	2016-12-05 19:03:25 UTC (rev 209328)
+++ trunk/Source/WebCore/ChangeLog	2016-12-05 19:17:21 UTC (rev 209329)
@@ -1,5 +1,17 @@
 2016-12-05  Dave Hyatt  <[email protected]>
 
+        [CSS Parser] Support the 'alphabetic' keyword for text-underline-position
+        https://bugs.webkit.org/show_bug.cgi?id=165387
+
+        Reviewed by Simon Fraser.
+
+        Fixes fast/css3-text/css3-text-decoration/getComputedStyle/getComputedStyle-text-underline-position.html
+
+        * css/parser/CSSPropertyParser.cpp:
+        (WebCore::CSSPropertyParser::parseSingleValue):
+
+2016-12-05  Dave Hyatt  <[email protected]>
+
         [CSS Parser] Fix assert when unknown properties are encountered.
         https://bugs.webkit.org/show_bug.cgi?id=165385
 

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp (209328 => 209329)


--- trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-12-05 19:03:25 UTC (rev 209328)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-12-05 19:17:21 UTC (rev 209329)
@@ -4009,8 +4009,8 @@
     case CSSPropertyOrder:
         return consumeInteger(m_range);
     case CSSPropertyWebkitTextUnderlinePosition:
-        // auto | [ under || [ left | right ] ], but we only support auto | under for now
-        return consumeIdent<CSSValueAuto, CSSValueUnder>(m_range);
+        // auto | alphabetic | [ under || [ left | right ] ], but we only support auto | alphabetic | under for now
+        return consumeIdent<CSSValueAuto, CSSValueUnder, CSSValueAlphabetic>(m_range);
     case CSSPropertyVerticalAlign:
         return consumeVerticalAlign(m_range, m_context.mode);
     case CSSPropertyShapeOutside:
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to