[CSS Parser] Support bopomofo Ruby
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Oct 2016 20:45:22 +0000 (20:45 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 28 Oct 2016 20:45:22 +0000 (20:45 +0000)
https://bugs.webkit.org/show_bug.cgi?id=164148

Reviewed by Simon Fraser.

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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208065 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/css/parser/CSSParserFastPaths.cpp

index 4136ec3..8ce8f4e 100644 (file)
@@ -1,5 +1,15 @@
 2016-10-28  Dave Hyatt  <hyatt@apple.com>
 
+        [CSS Parser] Support bopomofo Ruby
+        https://bugs.webkit.org/show_bug.cgi?id=164148
+
+        Reviewed by Simon Fraser.
+
+        * css/parser/CSSParserFastPaths.cpp:
+        (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue):
+
+2016-10-28  Dave Hyatt  <hyatt@apple.com>
+
         [CSS Parser] Add support for -webkit-canvas images
         https://bugs.webkit.org/show_bug.cgi?id=164144
 
index aba2285..30c9a0e 100644 (file)
@@ -732,7 +732,7 @@ bool CSSParserFastPaths::isValidKeywordPropertyAndValue(CSSPropertyID propertyId
     case CSSPropertyWebkitRtlOrdering:
         return valueID == CSSValueLogical || valueID == CSSValueVisual;
     case CSSPropertyWebkitRubyPosition:
-        return valueID == CSSValueBefore || valueID == CSSValueAfter;
+        return valueID == CSSValueBefore || valueID == CSSValueAfter || valueID == CSSValueInterCharacter;
     case CSSPropertyWebkitTextCombine:
         return valueID == CSSValueNone || valueID == CSSValueHorizontal;
     case CSSPropertyWebkitTextEmphasisPosition: