Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / multicol / dynamic / relayout-spanner-parent-inside-overflow-hidden.html
blob55ec07a1dfe8b20ceadfe9adbd5dd87d1c72c4b7
1 <!DOCTYPE html>
2 <p>Change the width of the parent of a spanner when inside a fixed-size clipped block. The spanner
3 should not be affected by this, since the parent isn't the containing block. This also tests
4 that we don't perform any optimized subtree layout operations incompatible with multicol (which
5 would typically cause assertion failures).</p>
6 <p>You should see the word "PASS" below, with large letter spacing.</p>
7 <div style="-webkit-columns:2; line-height:2em;">
8 <div style="width:5em; height:2em; overflow:hidden;">
9 <div id="container">
10 <div style="-webkit-column-span:all;">P A S S</div>
11 </div>
12 </div>
13 </div>
14 <script>
15 document.body.offsetTop;
16 document.getElementById("container").style.width = "0";
17 </script>