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

Unified Diff: LayoutTests/fast/frames/seamless/seamless-border-padding.html

Issue 138443013: Remove iframe@seamless (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Include remove tests Created 6 years, 11 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/frames/seamless/seamless-border-padding.html
diff --git a/LayoutTests/fast/frames/seamless/seamless-border-padding.html b/LayoutTests/fast/frames/seamless/seamless-border-padding.html
deleted file mode 100644
index e7aa68126ee824e5c7907a4bd1064b33926d5f6d..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/frames/seamless/seamless-border-padding.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <script src="../../../resources/js-test.js"></script>
- <style>
- iframe { display: inline-block; }
- .border { border: 1px solid black; }
- .padding { padding: 2px;
- </style>
- <script>
- debug("Test that seamless IFrames correctly size themselves when a border is present.");
- window.onload = function () {
- window.nothing = document.getElementById("nothing");
- shouldBe("nothing.getBoundingClientRect().width", "100");
- shouldBe("nothing.getBoundingClientRect().height", "100");
-
- window.hasborder = document.getElementById("hasborder");
- shouldBe("hasborder.getBoundingClientRect().width", "102");
- shouldBe("hasborder.getBoundingClientRect().height", "102");
-
- window.haspadding = document.getElementById("haspadding");
- shouldBe("haspadding.getBoundingClientRect().width", "104");
- shouldBe("haspadding.getBoundingClientRect().height", "104");
-
- window.hasboth = document.getElementById("hasboth");
- shouldBe("hasboth.getBoundingClientRect().width", "106");
- shouldBe("hasboth.getBoundingClientRect().height", "106");
- };
- </script>
-</head>
-<body>
- <iframe id="nothing" seamless srcdoc="<style>body { overflow:hidden; }</style><div style='width:100px;height:100px;'>TEST</div>"></iframe>
- <iframe id="hasborder" class="border" seamless srcdoc="<style>body { overflow:hidden; }</style><div style='width:100px;height:100px;'>TEST</div>"></iframe>
- <iframe id="haspadding" class="padding" seamless srcdoc="<style>body { overflow:hidden; }</style><div style='width:100px;height:100px;'>TEST</div>"></iframe>
- <iframe id="hasboth" class="border padding" seamless srcdoc="<style>body { overflow:hidden; }</style><div style='width:100px;height:100px;'>TEST</div>"></iframe>
-</body>

Powered by Google App Engine
This is Rietveld 408576698