[CSS Parser] Fix the color-gamut media query evaluator
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Dec 2016 17:27:08 +0000 (17:27 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 2 Dec 2016 17:27:08 +0000 (17:27 +0000)
commit8eb6234191d18e5734ff77353e5d12ed54675f91
tree5cbb83bda8ac9f7f77162242adf90e7318073f66
parenta135cc10b853f69c335bbd0d0c7de0ccae8a14dc
[CSS Parser] Fix the color-gamut media query evaluator
https://bugs.webkit.org/show_bug.cgi?id=165309

Reviewed by Zalan Bujtas).

* css/MediaQueryEvaluator.cpp:
(WebCore::colorGamutEvaluate):
Unknown values should result in a failed match, not a successful match.

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