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

Side by Side Diff: LayoutTests/fast/frames/flattening/frameset-flattening-subframesets.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 {
6 if (window.internals)
7 internals.settings.setFrameFlatteningEnabled(true);
8 // Force synchronous layout.
9 document.body.offsetHeight;
10 }
11 </script>
12 </head>
13
14 <frameset border=0 rows="100,400" onload="test();">
15 <frameset border=0 cols="300,300">
16 <frame src="data:text/html,
17 <style>body { background-color: green; }</style>
18 <p>
19 A frameset flattening test that only works inside the DRT.
20 </p>
21 <p>
22 This frame is inside frameset 1 and should be at least 450px wid e, 150px tall and not be scrollable.
23 </p>
24 <div style='position: absolute; width: 450px; height: 50px; left: 0; top: 0px;'></div>
25 ">
26 </frame>
27 <frame src="data:text/html,
28 <style>body { background-color: red; }</style>
29 <p>
30 This frame is inside frameset 1 and should be at least 450px wid e, 150px tall and not be scrollable.
31 </p>
32 <div style='position: absolute; width: 450px; height: 150px; left: 0 ; top: 0px;'></div>
33 ">
34 </frame>
35 </frameset>
36 <frameset border=0 cols="300,300">
37 <frame src="data:text/html,
38 <style>body { background-color: yellow; }</style>
39 <p>
40 This frame is inside frameset 2 and should be at least 450px wid e, 400px tall and not be scrollable.
41 </p>
42 <div style='position: absolute; width: 200px; height: 450px; left: 0 ; top: 0px;'></div>
43 ">
44 </frame>
45 <frame src="data:text/html,
46 <style>body { background-color: blue; }</style>
47 <p>
48 This frame is inside frameset 2 and should be at least 450px wid e, 400px tall and not be scrollable.
49 </p>
50 <div style='position: absolute; width: 450px; height: 450px; left: 0 ; top: 0px;'></div>
51 ">
52 </frame>
53 </frameset>
54 </frameset>
55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698