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

Unified Diff: LayoutTests/fast/media/mq-unknown-ident-values.html

Issue 13896036: [CSSMQ] Implemented support for the scan media feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: another static_cast removed. 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
Index: LayoutTests/fast/media/mq-unknown-ident-values.html
diff --git a/LayoutTests/fast/media/mq-unknown-ident-values.html b/LayoutTests/fast/media/mq-unknown-ident-values.html
new file mode 100644
index 0000000000000000000000000000000000000000..c02175432a8fc2e91f367887dcc6412d7929d10c
--- /dev/null
+++ b/LayoutTests/fast/media/mq-unknown-ident-values.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Media queries with invalid ident values must be dropped</title>
+ <style>
+ @media not all and (orientation: block) {
+ #t1 { color: red; }
+ }
+ @media not all and (view-mode: portrait) {
+ #t2 { color: red; }
+ }
+ @media not all and (pointer: landscape) {
+ #t3 { color: red; }
+ }
+ @media not all and (scan: none) {
+ #t4 { color: red; }
+ }
+ </style>
+</head>
+<body>
+ <div id="t1">Should not be red</div>
+ <div id="t2">Should not be red</div>
+ <div id="t3">Should not be red</div>
+ <div id="t4">Should not be red</div>
+</body>
+</html>
« no previous file with comments | « LayoutTests/fast/media/mq-scan-02-expected.html ('k') | LayoutTests/fast/media/mq-unknown-ident-values-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698