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

Side by Side Diff: LayoutTests/fast/frames/flattening/frameset-flattening-grid.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 <frameset border=0 rows="100,400" cols="300,300" onload="test()">
14 <frame src="data:text/html,
15 <style>body { background-color: green; }</style>
16 <p>
17 Test for frameset flattening. The flattening only works inside the D RT.
18 </p>
19 <p>
20 This frame should be 300px wide, 200px tall and not be scrollable (h ave scrollbars).
21 </p>
22 <div style='position: absolute; width: 300px; height: 200px; left: 0; to p: 0px;'></div>
23 ">
24 </frame>
25 <frame src="data:text/html,
26 <style>body { background-color: red; }</style>
27 <p>
28 This frame should be 300px wide, 200px tall and not be scrollable (h ave scrollbars).
29 </p>
30 <div style='position: absolute; width: 300px; height: 50px; left: 0; top : 0px;'></div>
31 ">
32 </frame>
33 <frame src="data:text/html,
34 <style>body { background-color: yellow; }</style>
35 <p>
36 This frame should be 600px wide, 600px tall and not be scrollable (h ave scrollbars).
37 </p>
38 <div style='position: absolute; width: 600px; height: 600px; left: 0; to p: 0px;'></div>
39 ">
40 </frame>
41 <frame src="data:text/html,
42 <style>body { background-color: blue; }</style>
43 <p>
44 This frame should be 600px wide, 600px tall and not be scrollable (h ave scrollbars).
45 </p>
46 <div style='position: absolute; width: 600px; height: 600px; left: 0; to p: 0px;'></div>
47 ">
48 </frame>
49 </frameset>
50 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698