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

Unified Diff: LayoutTests/css3/device-adapt/opera/cssom-001.html

Issue 16209003: Unprefix the @viewport rule of CSS Device Adaptation 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/css3/device-adapt/opera/cssom-001.html
diff --git a/LayoutTests/css3/device-adapt/opera/cssom-001.html b/LayoutTests/css3/device-adapt/opera/cssom-001.html
index 277e0b95795840f236e4f741cee30e68015f1c68..7e2626a69253ec44d85082c82607ceee346f99c6 100644
--- a/LayoutTests/css3/device-adapt/opera/cssom-001.html
+++ b/LayoutTests/css3/device-adapt/opera/cssom-001.html
@@ -14,7 +14,7 @@
html, body, #test { width: 100%; height: 100%; }
#log { padding: 1em; display: none; }
/* Reset viewport values to initial values to ignore UA stylesheet. */
- @-webkit-viewport {
+ @viewport {
width: auto;
height: auto;
zoom: auto;
@@ -27,7 +27,7 @@
</style>
<style type="text/css">
/* CSS for the test below. */
- @-webkit-viewport { width: auto 1200px; min-height: 700px; max-zoom: 100% }
+ @viewport { width: auto 1200px; min-height: 700px; max-zoom: 100% }
/* Set root element font-size to something different from the initial
font-size to make sure 'rem' and 'em' for @viewport is based on the
initial font-size, not the root element font-size. */
@@ -89,7 +89,7 @@
/* Check viewport values. */
test.step(function(){
- assert_equals(CSSRule.WEBKIT_VIEWPORT_RULE, 15); assert_equals(testStyleSheet.cssRules.item(0).type, 15);
+ assert_equals(CSSRule.VIEWPORT_RULE, 15); assert_equals(testStyleSheet.cssRules.item(0).type, 15);
});
/* Finished. Show the results. */
« no previous file with comments | « LayoutTests/css3/device-adapt/opera/constrain-019.html ('k') | LayoutTests/css3/device-adapt/opera/descriptor-values-001.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698