Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / overflow / overflow-dirty-relayout-boundary-no-crash.html
blob5860210a938ff958997e34a72dbf90b3f12ae071
1 <!DOCTYPE html>
2 <style>
3 #relayout-boundary {
4 transform: translateX(0);
5 overflow: hidden;
6 width: 100px;
7 height: 100px;
9 </style>
10 <div id="relayout-boundary">
11 <div id="layout-target">
12 This test queries layout overflow for propagation on a relayout boundary that has dirty layout.
13 It should not trigger assertions that assume clean layout.
14 </div>
15 </div>
16 <script>
17 if (window.testRunner)
18 testRunner.dumpAsText();
20 document.scrollingElement.scrollWidth;
22 var layoutTarget = document.getElementById("layout-target");
23 layoutTarget.style.width = "99px";
25 var relayoutBoundary = document.getElementById("relayout-boundary");
26 relayoutBoundary.style.transform = "translateX(1px)";
28 document.scrollingElement.scrollWidth;
29 </script>