OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 #article { -webkit-flow-into: flow; width: 40px; height: 50px; backg
round-color: green; } | |
6 #container { width: 200px; height: 200px; position: absolute; top: 1
50px; } | |
7 #region { -webkit-flow-from: flow; height: 50px; padding-left: 5px;
padding-right: 5px; position: absolute; background-color: green; box-sizing: bor
der-box; } | |
8 #red { position: absolute; width: 50px; height: 50px; top: 150px; ba
ckground-color: red; } | |
9 </style> | |
10 </head> | |
11 <body> | |
12 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=74135"> Aut
o width is not working for regions</a>.</p> | |
13 <p>The region is an absolutely positioned, non replaced element.</p> | |
14 <p>On success, you should not see a red rectangle below.</p> | |
15 <div id="red"></div> | |
16 <div id="article"></div> | |
17 <div id="container"> | |
18 <div id="region"></div> | |
19 </div> | |
20 </body> | |
21 </html> | |
OLD | NEW |