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

Side by Side Diff: LayoutTests/fast/frames/flattening/iframe-flattening-fixed-width-and-height.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 if (window.testRunner)
13 testRunner.notifyDone();
14 }, 0);
15 }
16 </script>
17 </head>
18 <body onload="test()">
19 <style>body { background-color: green; }</style>
20 <p>Test for iframe flattening. The flattening only works inside the DRT.
21 <p>This inner frame should be 400px in each direction, disregarding the
22 border, and it must not be scrollable or have scrollbars.
23
24 <p><iframe width="200px" height="200px" scrolling=auto src="data:text/html,
25 <style>body { background-color: red; }</style>
26 <body>
27 <div style='position: absolute; width: 400px; height: 400px; left: 0 ; top: 0px;'></div>
28 </body>
29 "></iframe>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698