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

Unified Diff: LayoutTests/fast/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: LayoutTests/fast/viewport/viewport-legacy-merge-quirk-1.html
diff --git a/LayoutTests/fast/viewport/viewport-legacy-merge-quirk-1.html b/LayoutTests/fast/viewport/viewport-legacy-merge-quirk-1.html
deleted file mode 100644
index d63d6f91c5b4b31d42e42185741e86cec48ee08d..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/viewport/viewport-legacy-merge-quirk-1.html
+++ /dev/null
@@ -1,31 +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>
- <!--
- Meta viewport tags still has priority over other legacy meta types,
- but when having multiple meta viewport tags, unspecified content
- attributes must not take over existing attribute values from previous
- meta viewport tags.
- -->
- <meta name="HandheldFriendly" content="true">
- <meta name="viewport" content="width=640">
- <meta name="viewport" content="initial-scale=1.0">
- <meta name="viewport" content="user-scalable=0">
- <!-- The previous 3 meta viewport tags must be equivalent to
- <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();">

Powered by Google App Engine
This is Rietveld 408576698