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

Unified Diff: Source/web/tests/data/viewport/viewport-legacy-merge-quirk-1.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: Source/web/tests/data/viewport/viewport-legacy-merge-quirk-1.html
diff --git a/LayoutTests/fast/viewport/viewport-legacy-merge-quirk-1.html b/Source/web/tests/data/viewport/viewport-legacy-merge-quirk-1.html
similarity index 61%
rename from LayoutTests/fast/viewport/viewport-legacy-merge-quirk-1.html
rename to Source/web/tests/data/viewport/viewport-legacy-merge-quirk-1.html
index d63d6f91c5b4b31d42e42185741e86cec48ee08d..d030cd4e04c6293914202399e615947a0b473b85 100644
--- a/LayoutTests/fast/viewport/viewport-legacy-merge-quirk-1.html
+++ b/Source/web/tests/data/viewport/viewport-legacy-merge-quirk-1.html
@@ -1,10 +1,5 @@
<head>
<title>Viewports Merge Quirk.</title>
- <script>
- // This quirk allows content attributes of meta viewport tags to be merged.
- if (window.internals)
- internals.settings.setViewportMetaMergeContentQuirk(true);
- </script>
<!--
Meta viewport tags still has priority over other legacy meta types,
but when having multiple meta viewport tags, unspecified content
@@ -19,13 +14,5 @@
<meta name="viewport" content="width=640,initial-scale=1.0,user-scalable=0">
-->
<meta name="MobileOptimized" content="176">
- <script>
- function test() {
- if (window.testRunner) {
- testRunner.dumpAsText();
- alert(internals.viewportAsText(document, 1, 320, 352));
- }
- }
- </script>
</head>
-<body onload="test();">
+<body></body>

Powered by Google App Engine
This is Rietveld 408576698