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

Unified Diff: LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html

Issue 78963008: Moved remaining legacy viewport tests to unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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-xhtmlmp-remove-and-add.html
diff --git a/LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html b/LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html
deleted file mode 100644
index 41d54217be8825b87358ea822e92caa21f444f8b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/viewport/viewport-legacy-xhtmlmp-remove-and-add.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
-<head>
- <!--
- Related spec: http://www.w3.org/TR/css-device-adapt/
-
- XHTML-MP is used for mobile documents which are assumed to be designed for
- handheld devices, hence using the viewport size as the initial containing
- block size, so using XHTML-MP will give the same result as a viewport
- meta tag with the following parameters:
-
- width=device-width, height=device-height, initial-scale=1
-
- -->
- <title>Default viewport value changed by XHTML-MP</title>
- <script>
- function test() {
- if (window.testRunner)
- testRunner.dumpAsText();
-
- if (window.internals)
- alert(internals.viewportAsText(document, 1, 320, 352));
-
- var originalDoctype = document.doctype;
- document.removeChild(originalDoctype);
-
- if (window.internals)
- alert(internals.viewportAsText(document, 1, 320, 352));
-
- document.insertBefore(originalDoctype, document.firstChild);
-
- if (window.internals)
- alert(internals.viewportAsText(document, 1, 320, 352));
- }
- </script>
-</head>
-<body onload="test();" />

Powered by Google App Engine
This is Rietveld 408576698