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

Unified Diff: LayoutTests/fast/viewport/viewport-legacy-ordering-10.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-ordering-10.html
diff --git a/LayoutTests/fast/viewport/viewport-legacy-ordering-10.html b/LayoutTests/fast/viewport/viewport-legacy-ordering-10.html
deleted file mode 100644
index 18289a630451bdc636eaeaabbd27f404fc38c5ca..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/viewport/viewport-legacy-ordering-10.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <title>Empty @viewport not overriding Viewport Meta tag</title>
- <script src="../../resources/testharness.js"></script>
- <script src="../../resources/testharnessreport.js"></script>
- <script>
- if (window.testRunner) {
- internals.settings.setViewportEnabled(true);
- }
- </script>
- <meta name="viewport" content="width=5000">
- <style>@viewport {}</style>
-</head>
-<body style="overflow: hidden">
- <div id="log"></div>
- <script>
- var rootWidth = document.documentElement.offsetWidth;
- test(function(){
- assert_equals(rootWidth, 5000, "documentElement.offsetWidth equals Meta viewport width.");
- }, "Check that Meta viewport is not overridden by empty @viewport rule.");
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698