Title: [209245] trunk/Source/WebCore
Revision
209245
Author
[email protected]
Date
2016-12-02 10:31:54 -0800 (Fri, 02 Dec 2016)

Log Message

[CSS Parser] Support the -webkit-letterpress value for text-decoration
https://bugs.webkit.org/show_bug.cgi?id=165313

Reviewed by Dean Jackson.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (209244 => 209245)


--- trunk/Source/WebCore/ChangeLog	2016-12-02 18:21:47 UTC (rev 209244)
+++ trunk/Source/WebCore/ChangeLog	2016-12-02 18:31:54 UTC (rev 209245)
@@ -1,5 +1,15 @@
 2016-12-02  Dave Hyatt  <[email protected]>
 
+        [CSS Parser] Support the -webkit-letterpress value for text-decoration
+        https://bugs.webkit.org/show_bug.cgi?id=165313
+
+        Reviewed by Dean Jackson.
+
+        * css/parser/CSSPropertyParser.cpp:
+        (WebCore::consumeTextDecorationLine):
+
+2016-12-02  Dave Hyatt  <[email protected]>
+
         [CSS Parser] Fix the color-gamut media query evaluator
         https://bugs.webkit.org/show_bug.cgi?id=165309
 

Modified: trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp (209244 => 209245)


--- trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-12-02 18:21:47 UTC (rev 209244)
+++ trunk/Source/WebCore/css/parser/CSSPropertyParser.cpp	2016-12-02 18:31:54 UTC (rev 209245)
@@ -1614,7 +1614,11 @@
 
     RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated();
     while (true) {
+#if ENABLE(LETTERPRESS)
+        RefPtr<CSSPrimitiveValue> ident = consumeIdent<CSSValueBlink, CSSValueUnderline, CSSValueOverline, CSSValueLineThrough, CSSValueWebkitLetterpress>(range);
+#else
         RefPtr<CSSPrimitiveValue> ident = consumeIdent<CSSValueBlink, CSSValueUnderline, CSSValueOverline, CSSValueLineThrough>(range);
+#endif
         if (!ident)
             break;
         if (list->hasValue(ident.get()))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to