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

Unified Diff: LayoutTests/fast/frames/seamless/seamless-float.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-float.html
diff --git a/LayoutTests/fast/frames/seamless/seamless-float.html b/LayoutTests/fast/frames/seamless/seamless-float.html
deleted file mode 100644
index 33edc8630b96966b89e37798690689c1da1e036b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/frames/seamless/seamless-float.html
+++ /dev/null
@@ -1,22 +0,0 @@
-<!DOCTYPE html>
-<script src="../../../resources/js-test.js"></script>
-<div style="width: 200px; height: 150px;">
- <iframe id="iframe1" seamless style="float: left" src="resources/two-inline-blocks.html"></iframe>
-</div>
-<div style="width: 100px; height: 150px;">
- <iframe id="iframe2" seamless style="float: left" src="resources/two-inline-blocks.html"></iframe>
-</div>
-<script>
-debug("Test that floated seamless iframes 'shrink-wrap' their contents, as floated divs would.")
-window.onload = function () {
- window.iframe1 = document.getElementById("iframe1");
- window.iframe2 = document.getElementById("iframe2");
-
- // Both iframes will "shrinkwrap" around their content as they are floated.
- // iframe1 will not wrap, but iframe2 will.
- shouldBeEqualToString("window.getComputedStyle(iframe1).width", "150px");
- shouldBeEqualToString("window.getComputedStyle(iframe1).height", "50px");
- shouldBeEqualToString("window.getComputedStyle(iframe2).width", "100px");
- shouldBeEqualToString("window.getComputedStyle(iframe2).height", "100px");
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698