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

Side by Side Diff: LayoutTests/fast/frames/flattening/iframe-flattening-out-of-view-scroll-and-relayout.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 unified diff | Download patch
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script type="text/javascript">
4 if (window.testRunner && window.internals) {
5 testRunner.waitUntilDone();
6 internals.settings.setFrameFlatteningEnabled(true);
7 }
8
9 function test()
10 {
11 setTimeout(function() {
12 scrollTo(1200, 0);
13 document.body.offsetWidth;
14 if (window.testRunner)
15 testRunner.notifyDone();
16 }, 0);
17 }
18 </script>
19 </head>
20 <body onload="test()">
21 <div>
22 <p>Test that an off-screen iframe with positive coordinates is flattened , and so are its child frames.
23 </div>
24
25 <p><iframe width="200" height="200" style='border: 0px; position: absolute; left: 1200px; top: 0px;' src="data:text/html,
26 <style>body { background-color: blue; }</style>
27 <body>
28 <iframe src='data:text/html, <style>div {width:800px;background-colo r:silver;}</style><div>This is a nested frame that is flattened and scrolled int o view.</div>'></iframe>
29 </body>
30 "></iframe>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698