OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 .flowContent { font-size: 50px; font-family: monospace; line-height:
2; color: green; } | |
6 #article { -webkit-flow-into: flow; } | |
7 | |
8 .regionSize { width: 200px; } | |
9 .regionSize2 { width: 400px; } | |
10 | |
11 #region { -webkit-flow-from: flow; height: 100px; border: 1px solid
black;} | |
12 #region2 { -webkit-flow-from: flow; height: 100px; border: 1px solid
black;} | |
13 </style> | |
14 </head> | |
15 <body> | |
16 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=103993"> Bl
ocks don't relayout children if the width of a region changes</a>.</p> | |
17 <p>When the width of a region increases the lines in that region should
be recomputed.</p> | |
18 <p>On success, there should be no text outside the black rectangles and
text only inside the top region.</p> | |
19 <div class="flowContent" id="article"> | |
20 <span> | |
21 a a a a a | |
22 </span> | |
23 </div> | |
24 <div id="region" class="regionSize"></div> | |
25 <div id="region2" class="regionSize"></div> | |
26 <script> | |
27 document.body.offsetTop; //force layout | |
28 document.getElementById("region").className = "regionSize2"; | |
29 </script> | |
30 </body> | |
31 </html> | |
OLD | NEW |