OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 #article { -webkit-flow-into: flow; } | |
6 #box1 { width: 50px; height: 50px; background-color: green; } | |
7 #box2 { width: 100px; height: 50px; background-color: green; } | |
8 #container { width: 200px; height: 200px; position: absolute; top: 1
50px; } | |
9 #region { -webkit-flow-from: flow; height: 50px; position: absolute;
background-color: green; } | |
10 #region2 { -webkit-flow-from: flow; height: 50px; position: absolute
; top: 100px; background-color: green; } | |
11 #red1 { position: absolute; background-color: red; width: 100px; hei
ght: 50px; top: 150px; } | |
12 #red2 { position: absolute; background-color: red; width: 100px; hei
ght: 50px; top: 250px; } | |
13 </style> | |
14 </head> | |
15 <body> | |
16 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=74135"> Aut
o width is not working for regions</a>.</p> | |
17 <p>The regions are absolutely positioned, non replaced element.</p> | |
18 <p>In this case, the regions have the same width, based on the same flow
thread min/max content.</p> | |
19 <p>On success, you should not see a red rectangle below.</p> | |
20 | |
21 <div id="article"> | |
22 <div id="box1"></div> | |
23 <div id="box2"></div> | |
24 </div> | |
25 <div id="red1"></div> | |
26 <div id="red2"></div> | |
27 <div id="container"> | |
28 <div id="region"></div> | |
29 <div id="region2"></div> | |
30 <div> | |
31 </body> | |
32 </html> | |
OLD | NEW |