Include the 'text' color keyword as a system color.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Mar 2018 22:50:45 +0000 (22:50 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 28 Mar 2018 22:50:45 +0000 (22:50 +0000)
commit7fde00deae04f752042d3c4f14f3cc483440732b
tree1bfff57fa412326122e53d0524141bc7a09925ed
parente5ea0e1c3549a76d4f0c748ba3c25140db4b379f
Include the 'text' color keyword as a system color.

https://bugs.webkit.org/show_bug.cgi?id=184113
rdar://problem/38779267

Reviewed by Tim Horton.

* css/StyleColor.cpp:
(WebCore::StyleColor::isColorKeyword): Don't check CSSValueMenu, it is a system color and is included.
(WebCore::StyleColor::isSystemColor): Include CSSValueText. Check CSSValueWebkitFocusRingColor in the range,
since it is immediately after CSSValueAppleSystemYellow.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@230056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/css/StyleColor.cpp