Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Unified Diff: Source/core/css/MediaQueryExp.cpp

Issue 14203017: [CSSMQ] Allow integer values for monochrome media feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased patch Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/media/media-feature-monochrome-expected.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaQueryExp.cpp
diff --git a/Source/core/css/MediaQueryExp.cpp b/Source/core/css/MediaQueryExp.cpp
index fdfe564875fdf819d858c7eee7cdd65012d790cd..1506e0b8597bcbafdf9504b89fc80ef2b730c9e3 100644
--- a/Source/core/css/MediaQueryExp.cpp
+++ b/Source/core/css/MediaQueryExp.cpp
@@ -89,6 +89,7 @@ static inline bool featureWithPositiveInteger(const AtomicString& mediaFeature,
|| mediaFeature == MediaFeatureNames::colorIndexMediaFeature
|| mediaFeature == MediaFeatureNames::maxColorIndexMediaFeature
|| mediaFeature == MediaFeatureNames::minColorIndexMediaFeature
+ || mediaFeature == MediaFeatureNames::monochromeMediaFeature
|| mediaFeature == MediaFeatureNames::minMonochromeMediaFeature
|| mediaFeature == MediaFeatureNames::maxMonochromeMediaFeature;
}
« no previous file with comments | « LayoutTests/fast/media/media-feature-monochrome-expected.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698