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

Unified Diff: LayoutTests/platform/chromium/printing/custom-page-size-style.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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/platform/chromium/printing/custom-page-size-style.html
diff --git a/LayoutTests/platform/chromium/printing/custom-page-size-style.html b/LayoutTests/platform/chromium/printing/custom-page-size-style.html
deleted file mode 100644
index d5989ebc1baa23e2761f2a2ce062c81177b18a5a..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium/printing/custom-page-size-style.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head id="head_element">
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body>
-<p id="description"></p>
-<div id="console"></div>
-<script>
- description("This tests page custom size style.");
- function appendStyle(styleString)
- {
- var styleElement = document.createElement("style");
- styleElement.innerHTML = styleString;
- document.getElementById("head_element").appendChild(styleElement);
- }
-
- if (window.testRunner) {
- testRunner.dumpAsText();
-
- // Page size style tests.
- debug("Test page size: 10in 10in. Page has custom page size style");
- appendStyle("@page {size:10in 10in;}");
- shouldBe("testRunner.hasCustomPageSizeStyle(0)", "true");
-
- debug("Test page size: auto. Page does not have any custom page size style");
- appendStyle("@page {size:auto;}");
- shouldBe("testRunner.hasCustomPageSizeStyle(0)", "false");
-
- debug("");
- } else {
- testFailed("This test can be run only with window.testRunner");
- }
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698