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

Unified Diff: LayoutTests/fast/media/media-feature-monochrome.html

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 | « no previous file | LayoutTests/fast/media/media-feature-monochrome-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/media/media-feature-monochrome.html
diff --git a/LayoutTests/fast/media/media-feature-monochrome.html b/LayoutTests/fast/media/media-feature-monochrome.html
new file mode 100644
index 0000000000000000000000000000000000000000..62930b2ba10cae5db339cd5076011f08c7677898
--- /dev/null
+++ b/LayoutTests/fast/media/media-feature-monochrome.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<style>
+/* Matches monochrome displays. */
+@media not all and (monochrome: 0) { #test::before { content: "PASS"; } }
+/* Matches non-monochrome displays. */
+@media (monochrome: 0) { #test::after { content: "PASS"; } }
+</style>
+<p>You should see the word PASS below.</p>
+<p id="test"></p>
« no previous file with comments | « no previous file | LayoutTests/fast/media/media-feature-monochrome-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698