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

Unified Diff: LayoutTests/fast/viewport/viewport-limits-adjusted-for-no-user-scale.html

Issue 48613005: Moved most viewport layout tests into a unit test (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 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/viewport/viewport-limits-adjusted-for-no-user-scale.html
diff --git a/LayoutTests/fast/viewport/viewport-limits-adjusted-for-no-user-scale.html b/LayoutTests/fast/viewport/viewport-limits-adjusted-for-no-user-scale.html
deleted file mode 100644
index ca4a613b33f17117ce5a5b54eee32c4e6d1f4cb1..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/viewport/viewport-limits-adjusted-for-no-user-scale.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<head>
- <meta name="viewport" content="width=device-width, user-scalable=no, maximum-scale=3, minimum-scale=1">
- <script>
- function test() {
- if (window.testRunner) {
- testRunner.dumpAsText();
- var viewportConfiguation = internals.viewportAsText(document, 1, 320, 352);
- if (/userScalable false/.test(viewportConfiguation))
- alert("PASS");
- else
- alert("FAIL: " + viewportConfiguation);
- }
- }
- </script>
-</head>
-<body onload="test();">

Powered by Google App Engine
This is Rietveld 408576698