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

Unified Diff: LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html

Issue 1058723002: Remove testRunner.injectStyleSheet usage from layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update baseline Created 5 years, 9 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-min-width-extend-to-zoom.html
diff --git a/LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html b/LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html
index f04166c96adc3ff09dff194dfe1c0307f67bb771..4ba0b1f91c81e99b50b27788bedbd52fc5be9571 100644
--- a/LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html
+++ b/LayoutTests/css3/device-adapt/viewport-min-width-extend-to-zoom.html
@@ -6,17 +6,8 @@
<script src="../../resources/testharnessreport.js"></script>
<style>
html, body { width: 100%; height: 100%; margin: 0 }
- @viewport { width: -internal-extend-to-zoom 200px; zoom: 1.0; }
+ @viewport { min-width: -internal-extend-to-zoom 200px; zoom: 1.0; }
</style>
- <script>
- test(function(){
- assert_own_property(window, "testRunner");
- }, "Check that window.testRunner is present. Required to add a user stylesheet.");
-
- if (window.testRunner) {
- testRunner.injectStyleSheet("@viewport { width: -internal-extend-to-zoom 980px; min-zoom: 0.25; max-zoom: 5; height: auto; zoom: auto; user-zoom: zoom; orientation: auto }", true);
- }
- </script>
</head>
<body>
<div id="log"></div>

Powered by Google App Engine
This is Rietveld 408576698