OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12079</title> | |
4 <style type="text/css"> | |
5 div.playground { position: relative; width: 90px; height: 90px; } | |
6 .red { background-color: yellow; } | |
7 .blue { background-color: blue; } | |
8 .green { background-color: green; } | |
9 .zero { height: 0; width: 60px; } | |
10 .half { height: 30px; width: 60px; } | |
11 .full { height: 60px; width: 60px; } | |
12 </style> | |
13 </head> | |
14 <body> | |
15 <div class="playground"> | |
16 <div id="div1" class="blue zero"></div> | |
17 <div class="red half"></div> | |
18 <div class="green half"></div> | |
19 </div> | |
20 | |
21 <div class="playground"> | |
22 <div><div id="top" class="blue zero"></div></div> | |
23 <div class="red half"></div> | |
24 <div class="green half"></div> | |
25 </div> | |
26 | |
27 <div class="playground"> | |
28 <div id="div2" class="half"></div> | |
29 <div class="green half"></div> | |
30 <div class="red half"></div> | |
31 </div> | |
32 | |
33 <div class="playground" style="margin-top: 30px;"> | |
34 <div style="width: 10px; margin: auto;"> | |
35 <div id="innerDiv" style="height: 15px"></div> | |
36 </div> | |
37 <div class="half"></div> | |
38 <div class="half" style="border-top: solid yellow 8px;"></div> | |
39 </div> | |
40 </body> | |
41 </html> | |
OLD | NEW |