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

Unified Diff: LayoutTests/fast/frames/flattening/iframe-flattening-fixed-width-and-height-zero-size.html

Issue 13963006: Remove frame flattening support as Chromium has no intention of using it (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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/fast/frames/flattening/iframe-flattening-fixed-width-and-height-zero-size.html
diff --git a/LayoutTests/fast/frames/flattening/iframe-flattening-fixed-width-and-height-zero-size.html b/LayoutTests/fast/frames/flattening/iframe-flattening-fixed-width-and-height-zero-size.html
deleted file mode 100644
index 33bc1b85039e56f186e9cb0d5ff43399595fff5e..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/frames/flattening/iframe-flattening-fixed-width-and-height-zero-size.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<html>
-<head>
- <script type="text/javascript">
-
- function test()
- {
- if (window.testRunner && window.internals) {
- testRunner.dumpAsText();
- internals.settings.setFrameFlatteningEnabled(true);
- }
-
- // Force synchronous layout.
- document.body.offsetHeight;
-
- var theframe = document.getElementById("theframe");
- var width = parseInt(getComputedStyle(theframe).width);
- var height = parseInt(getComputedStyle(theframe).height);
- var pass = false;
- if (width == 0 && height == 0)
- pass = true;
- document.getElementById("console").innerText = pass ? "PASS" : "FAIL";
- }
- </script>
-</head>
-<body onload="test()">
- <style>body { background-color: green; }</style>
- <p>Test for iframe flattening. The flattening only works inside the DRT.
- <p>The frame should not be resized to the size of the containing content.
-
- <p><iframe id=theframe width="0" height="0" scrolling=auto src="data:text/html,
- <style>body { background-color: red; }</style>
- <body>
- <div style='position: absolute; width: 400px; height: 400px; left: 0; top: 0px;'></div>
- </body>
- "></iframe>
-<div id=console></div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698