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

Side by Side Diff: LayoutTests/fast/frames/flattening/iframe-flattening-fixed-width-and-height-no-scrolling-with-js-forced-layout.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
5 function test()
6 {
7 if (window.testRunner && window.internals) {
8 testRunner.dumpAsText();
9 internals.settings.setFrameFlatteningEnabled(true);
10 }
11 }
12 </script>
13 </head>
14 <body onload="test()">
15 <div>
16 <p>This test verifies that nested iframes do not cause assertion failure , when javascript is forcing layout. PASS if no assert in debug.</p>
17 </div>
18 <iframe src="data:text/html,
19 <style>body { background-color: green; }</style>
20 <body>
21 <iframe src='data:text/html,
22 <style>body { background-color: yellow; }</style>
23 <body></body>' scrolling='no' height='50px' width='50px'></ifram e>
24 <script>document.body.offsetHeight</script>
25 </body>" scrolling="no" height="100px" width="100px"></iframe>
26 <script>document.body.offsetHeight</script>
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698