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

Unified Diff: Source/web/tests/data/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.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-xhtmlmp-misplaced-doctype.html
diff --git a/LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html b/Source/web/tests/data/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html
similarity index 79%
rename from LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html
rename to Source/web/tests/data/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html
index a0052b8c24b00122e6ad515d583cf7b867a8b92e..6c586a62ede2558f50c5ede7d4e2e78d6371acdc 100644
--- a/LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html
+++ b/Source/web/tests/data/viewport/viewport-legacy-xhtmlmp-misplaced-doctype.html
@@ -20,13 +20,5 @@
<meta name="viewport" content="width=640" />
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<title>Default viewport value changed by XHTML-MP and overwritten by viewport meta tag</title>
- <script>
- function test() {
- if (window.testRunner) {
- testRunner.dumpAsText();
- alert(internals.viewportAsText(document, 1, 320, 352));
- }
- }
- </script>
</head>
-<body onload="test();" />
+<body />

Powered by Google App Engine
This is Rietveld 408576698