OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 .flowB { -webkit-flow-into: flowB; } | |
6 .flowC { -webkit-flow-into: flowC; } | |
7 | |
8 .regionFlowB { -webkit-flow-from: flowB; } | |
9 .regionFlowC { -webkit-flow-from: flowC; } | |
10 | |
11 #container { width: 200px; height: 200px; position: absolute; } | |
12 #region { height: 50px; position: absolute; } | |
13 </style> | |
14 </head> | |
15 <body> | |
16 <script> | |
17 if (window.testRunner) | |
18 window.testRunner.dumpAsText(); | |
19 </script> | |
20 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=74135"> Aut
o width is not working for regions</a>.</p> | |
21 <p>The region is an absolutely positioned, non replaced element, attache
d to a flow thread.</p> | |
22 <p>Due to flow thread dependencies, the region is not valid and width co
mputation should not take the associated flow thread into account.</p> | |
23 <p>On success, it should not crash.</p> | |
24 <p>PASS</p> | |
25 <div class="flowB"> | |
26 <div class="regionFlowC"></div> | |
27 </div> | |
28 | |
29 <div class="flowC"> | |
30 <div class="regionFlowB"></div> | |
31 </div> | |
32 | |
33 <div id="container"> | |
34 <div class="regionFlowB" id="region"></div> | |
35 </div> | |
36 </body> | |
37 </html> | |
OLD | NEW |