OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 .greenBox { position: absolute; width: 250px; height: 150px; backgro
und-color: green; } | |
6 .greenBox2 { position: absolute; width: 250px; height: 50px; backgro
und-color: green; } | |
7 #green { top: 200px; } | |
8 #green1 { top: 200px; left: 600px; } | |
9 #green2 { top: 150px; left: 300px; } | |
10 </style> | |
11 </head> | |
12 <body> | |
13 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=91097"> Aut
o height is not working for regions</a>.</p> | |
14 <p>The first region has specified height,the second region is auto-heigh
t and the third region has specified height. The height of the second region is
determined by the break from the second paragraph.</p> | |
15 <p>On success, you should see 2 green lines and 1 green rectangle.</p> | |
16 <div id="green" class="greenBox2"></div> | |
17 <div id="green1" class="greenBox2"></div> | |
18 <div id="green2" class="greenBox"></div> | |
19 </body> | |
20 </html> | |
OLD | NEW |