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

Unified Diff: LayoutTests/css3/device-adapt/viewport-height-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
« no previous file with comments | « no previous file | LayoutTests/css3/device-adapt/viewport-initial-height-zero.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/css3/device-adapt/viewport-height-extend-to-zoom.html
diff --git a/LayoutTests/css3/device-adapt/viewport-height-extend-to-zoom.html b/LayoutTests/css3/device-adapt/viewport-height-extend-to-zoom.html
index b5279d78bfc20f4b57c57c2a1c5fff16d2693f27..cdb68c3e7fe0c32f26e2aa60ada0639696b03919 100644
--- a/LayoutTests/css3/device-adapt/viewport-height-extend-to-zoom.html
+++ b/LayoutTests/css3/device-adapt/viewport-height-extend-to-zoom.html
@@ -8,15 +8,6 @@
html, body { width: 100%; height: 100%; margin: 0 }
@viewport { height: -internal-extend-to-zoom; zoom: 2.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);
ojan 2015/04/02 18:19:48 I expect these tests aren't testing anything usefu
dcheng 2015/04/02 18:22:42 They were added to test the extend-to-zoom propert
- }
- </script>
</head>
<body>
<div id="log"></div>
« no previous file with comments | « no previous file | LayoutTests/css3/device-adapt/viewport-initial-height-zero.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698