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

Unified Diff: LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view.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-out-of-view.html
diff --git a/LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view.html b/LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view.html
deleted file mode 100644
index 4e80746b4489efcb64c0ef232e9f0fbaaf20de3b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<html>
-<head>
- <script type="text/javascript">
- function test()
- {
- if (window.internals)
- internals.settings.setFrameFlatteningEnabled(true);
- // Force synchronous layout.
- document.body.offsetHeight;
- }
- </script>
-</head>
-<body onload="test()">
- <div>
- <p>Test that an iframe with negative coordinates is not flattened, but an iframe with positive coordinates is, even if it is out of view.
- </div>
-
- <!-- DRT size is 800x600 pixels, one needs to be flexible in order to use frame flattening -->
- <p><iframe width="25%" height="200" style='border: 0px; position: absolute; left: 0px; top: -200px;' src="data:text/html,
- <style>body { background-color: red; }</style>
- <body>
- <div style='position: absolute; width: 800px; height: 800px; left: 0; top: 0px;'>You should not see me.</div>
- </body>
- "></iframe>
-
- <p><iframe width="25%" height="200" style='border: 0px; position: absolute; left: 1200px; top: 0px;' src="data:text/html,
- <style>body { background-color: blue; }</style>
- <body>
- <div style='position: absolute; width: 8000px; height: 800px; left: 0; top: 0px;'>You will not see me but you will see the horizontal scrollbar streching.</div>
- </body>
- "></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698