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

Unified Diff: LayoutTests/fast/media/mq-js-stylesheet-media-01.html

Issue 16325005: Remove the Media Query "forward compatibly syntax" support in alignment with HTML5 spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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-js-stylesheet-media-01.html
diff --git a/LayoutTests/fast/media/mq-js-stylesheet-media-01.html b/LayoutTests/fast/media/mq-js-stylesheet-media-01.html
index 13b21c4c0d784dcd67424944caa58c7a2cc81a94..3e63c6e545b9bc4c4fe1e45350f01b43a84c28aa 100644
--- a/LayoutTests/fast/media/mq-js-stylesheet-media-01.html
+++ b/LayoutTests/fast/media/mq-js-stylesheet-media-01.html
@@ -1,13 +1,13 @@
<html>
<head>
<title>CSS3 media query test: stylesheet media.mediaText property inspection.</title>
-<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#syntax" />
+<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#syntax">
-<style type="text/css" media="braille, media with error, screen and (color) and (grid:0), tty resolution > 600px">
-#result { color: green }
+<style type="text/css" media="braille, media with error, print and (color) and (grid:0), tty resolution > 600px">
+#result { color: red }
</style>
-<script language="javascript">
+<script>
function test() {
re = document.getElementById("result");
re.innerHTML = "started";
@@ -17,7 +17,7 @@ function test() {
</head>
<body onload="test()">
-<p> The text below should be green and contain "braille, media, screen and (color) and (grid: 0), tty". </p>
+<p>The text below should not be red and it should contain "braille, not all, print and (color) and (grid: 0), not all".</p>
<p id="result">Failure: test not run</p>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698