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

Unified Diff: LayoutTests/fast/frames/seamless/seamless-basic.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-basic.html
diff --git a/LayoutTests/fast/frames/seamless/seamless-basic.html b/LayoutTests/fast/frames/seamless/seamless-basic.html
deleted file mode 100644
index 34e6551bcae74ef2c3722cca41827cbb0865c9a1..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/frames/seamless/seamless-basic.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<script src="../../../resources/js-test.js"></script>
-<div id="parent" style="width: 200px; height: 200px;">
-<iframe id="iframe" seamless src="resources/square.html"></iframe>
-</div>
-<script>
-debug("Test basic seamless auto-sizing-to-content functionality.")
-window.onload = function () {
- window.iframe = document.getElementById("iframe");
- shouldBeTrue("iframe.seamless");
-
- // Seamless iframes are blocks, filling their parent width
- // and setting their height to that of their children.
- shouldBeEqualToString("window.getComputedStyle(iframe).display", "block");
-
- // Spec: In visual media, in a CSS-supporting user agent: the user agent
- // should set the intrinsic width of the iframe to the width that the element
- // would have if it was a non-replaced block-level element with 'width: auto'.
- shouldBeEqualToString("window.getComputedStyle(iframe).width", "200px");
-
- // Spec: In visual media, in a CSS-supporting user agent: the user agent
- // should set the intrinsic height of the iframe to the height of the bounding
- // box around the content rendered in the iframe at its current width...
- shouldBeEqualToString("window.getComputedStyle(iframe).height", "100px");
-
- // Make sure dynamic updates work too.
- iframe.contentDocument.documentElement.style.height = "200px";
- shouldBeEqualToString("window.getComputedStyle(iframe).height", "200px");
-
- window.parentDiv = document.getElementById("parent");
- window.parentDiv.style.width = "100px";
- shouldBeEqualToString("window.getComputedStyle(iframe).width", "100px");
-}
-</script>

Powered by Google App Engine
This is Rietveld 408576698