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

Unified Diff: LayoutTests/css3/device-adapt/viewport-at-rule-parsing.html

Issue 15734030: Remove support for device-width|height for @viewport rule according to spec change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed comment 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/css3/device-adapt/viewport-at-rule-parsing.html
diff --git a/LayoutTests/css3/device-adapt/viewport-at-rule-parsing.html b/LayoutTests/css3/device-adapt/viewport-at-rule-parsing.html
index 86021416aac450fb425fe5990a8e3aa1f7647079..9f4f7783815c16d2e8cb08bcf595b76d5c8c387a 100644
--- a/LayoutTests/css3/device-adapt/viewport-at-rule-parsing.html
+++ b/LayoutTests/css3/device-adapt/viewport-at-rule-parsing.html
@@ -45,11 +45,6 @@
@import url('../../resources/testharness.css');
}
-
- /* Should ignore unprefixed viewport rule. We need to change this
- test if at some point we remove the prefix. */
- @viewport {
- }
</style>
<meta charset="utf-8" />
<link rel="help" href="http://www.w3.org/TR/css-device-adapt/#syntax" />
@@ -85,12 +80,6 @@
test(function() {
assert_equals(rules.item(6).cssText, "@viewport { max-height: 50px; min-height: 50px; }");
}, "Rules inside a viewport rule");
-
- // The total number of parsed rules should be 6, meaning that the parser
- // ignored the last two rules.
- test(function() {
- assert_equals(rules.length, 7)
- }, "Should ignore unprefixed at-rule");
</script>
</head>
<body>

Powered by Google App Engine
This is Rietveld 408576698