Title: [207682] trunk/Source/WebCore
Revision
207682
Author
hy...@apple.com
Date
2016-10-21 10:23:57 -0700 (Fri, 21 Oct 2016)

Log Message

[CSS Parser] Support horizontal-bt writing mode
https://bugs.webkit.org/show_bug.cgi?id=163797

Reviewed by Zalan Bujtas.

* css/parser/CSSParserFastPaths.cpp:
(WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (207681 => 207682)


--- trunk/Source/WebCore/ChangeLog	2016-10-21 17:10:31 UTC (rev 207681)
+++ trunk/Source/WebCore/ChangeLog	2016-10-21 17:23:57 UTC (rev 207682)
@@ -1,3 +1,13 @@
+2016-10-21  Dave Hyatt  <hy...@apple.com>
+
+        [CSS Parser] Support horizontal-bt writing mode
+        https://bugs.webkit.org/show_bug.cgi?id=163797
+
+        Reviewed by Zalan Bujtas.
+
+        * css/parser/CSSParserFastPaths.cpp:
+        (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):
+
 2016-10-20  Brent Fulgham  <bfulg...@apple.com>
 
         [Win][Direct2D] Correct some memory leaks and other minor bugs

Modified: trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp (207681 => 207682)


--- trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp	2016-10-21 17:10:31 UTC (rev 207681)
+++ trunk/Source/WebCore/css/parser/CSSParserFastPaths.cpp	2016-10-21 17:23:57 UTC (rev 207682)
@@ -742,7 +742,7 @@
     case CSSPropertyWebkitUserSelect: // auto | none | text | all
         return valueID == CSSValueAuto || valueID == CSSValueNone || valueID == CSSValueText || valueID == CSSValueAll;
     case CSSPropertyWebkitWritingMode:
-        return valueID >= CSSValueHorizontalTb && valueID <= CSSValueVerticalLr;
+        return valueID >= CSSValueHorizontalTb && valueID <= CSSValueHorizontalBt;
     case CSSPropertyWritingMode:
         return valueID == CSSValueHorizontalTb
             || valueID == CSSValueVerticalRl || valueID == CSSValueVerticalLr
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to