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

Unified Diff: LayoutTests/fast/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: LayoutTests/fast/viewport/viewport-legacy-merge-quirk-2.html
diff --git a/LayoutTests/fast/viewport/viewport-legacy-merge-quirk-2.html b/LayoutTests/fast/viewport/viewport-legacy-merge-quirk-2.html
deleted file mode 100644
index d1b5b3d8cc6b43799900e353efd8ba8de55eef0a..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/viewport/viewport-legacy-merge-quirk-2.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<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
- meta viewport tags.
- -->
- <meta name="viewport" content="width=640">
- <meta name="viewport" content="initial-scale=1.0">
- <meta name="viewport" content="width=500">
- <meta name="viewport" content="user-scalable=0">
- <meta name="viewport" content="initial-scale=2.0">
- <!-- 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();">

Powered by Google App Engine
This is Rietveld 408576698