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

Side by Side Diff: LayoutTests/fast/frames/flattening/iframe-flattening-selection-crash.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 function test() {
5 if (window.testRunner && window.internals) {
6 testRunner.dumpAsText();
7 internals.settings.setFrameFlatteningEnabled(true);
8 }
9
10 // Force synchronous layout.
11 document.body.offsetHeight;
12
13 document.getElementById("if").contentWindow.document.getElementById( 'in').focus();
14 document.getElementById("if").contentWindow.document.getElementById( 'p').style.top = "20px";
15 }
16 </script>
17 </head>
18 <body>
19 <style>body { background-color: green; }</style>
20 <p>This test passes if it does not crash <a href="https://bugs.webkit.org/sh ow_bug.cgi?id=52449">https://bugs.webkit.org/show_bug.cgi?id=52449</a></p>
21
22 <p><iframe id="if" onload="test();" width="20%" height="20%" scrolling=auto src="data:text/html,
23 <html>
24 <body'>
25 <div style='position: absolute; width: 400px; height: 400px; left: 0; top: 0 px;' id='p'><input id='in' value='abcd'></div>
26 </body></html>
27 ">
28 </body>
29 </html>
30
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698