Title: [209241] trunk/Source/WebCore
- Revision
- 209241
- Author
- [email protected]
- Date
- 2016-12-02 09:27:08 -0800 (Fri, 02 Dec 2016)
Log Message
[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.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (209240 => 209241)
--- trunk/Source/WebCore/ChangeLog 2016-12-02 17:16:17 UTC (rev 209240)
+++ trunk/Source/WebCore/ChangeLog 2016-12-02 17:27:08 UTC (rev 209241)
@@ -1,3 +1,14 @@
+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
+
+ Reviewed by Zalan Bujtas).
+
+ * css/MediaQueryEvaluator.cpp:
+ (WebCore::colorGamutEvaluate):
+ Unknown values should result in a failed match, not a successful match.
+
2016-12-02 Darin Adler <[email protected]>
Remove use of WebCore::Dictionary in MediaSession
Modified: trunk/Source/WebCore/css/MediaQueryEvaluator.cpp (209240 => 209241)
--- trunk/Source/WebCore/css/MediaQueryEvaluator.cpp 2016-12-02 17:16:17 UTC (rev 209240)
+++ trunk/Source/WebCore/css/MediaQueryEvaluator.cpp 2016-12-02 17:27:08 UTC (rev 209241)
@@ -265,7 +265,7 @@
// FIXME: At some point we should start detecting displays that support more colors.
return false;
default:
- return true;
+ return false; // Any unknown value should not be considered a match.
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes