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

Unified Diff: Source/web/tests/data/viewport/viewport-legacy-merge-quirk-2.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-2.html
diff --git a/LayoutTests/fast/viewport/viewport-legacy-merge-quirk-2.html b/Source/web/tests/data/viewport/viewport-legacy-merge-quirk-2.html
similarity index 59%
rename from LayoutTests/fast/viewport/viewport-legacy-merge-quirk-2.html
rename to Source/web/tests/data/viewport/viewport-legacy-merge-quirk-2.html
index d1b5b3d8cc6b43799900e353efd8ba8de55eef0a..4000397d31b27694d556a779a3929f3d9d0c277e 100644
--- a/LayoutTests/fast/viewport/viewport-legacy-merge-quirk-2.html
+++ b/Source/web/tests/data/viewport/viewport-legacy-merge-quirk-2.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>
<!--
When having multiple meta viewport tags, unspecified content
attributes must not take over existing attribute values from previous
@@ -18,13 +13,5 @@
<!-- All the previous meta viewport tags must be equivalent to
<meta name="viewport" content="width=500,initial-scale=2.0,user-scalable=0">
-->
- <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