Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / overhanging-float-crashes-when-sibling-becomes-formatting-context.html
blob85c3bd044f772be79cdf3da9c458400508c6449b
1 <!DOCTYPE html>
2 <body>
3 crbug.com/459533: Don't crash when changing an element to one that interacts with other floats to one that can't.
4 </body>
5 <script>
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.waitUntilDone();
10 var iframe = document.createElement('iframe');
11 document.body.appendChild(iframe);
12 iframe.style.cssFloat='right';
13 document.documentElement.style.padding='913917816% 300vmin 0vmax';
14 var div = document.createElement('div');
15 div.style.webkitWritingMode='horizontal-tb';
16 document.documentElement.appendChild(div);
17 window.setTimeout("updateStyle()",0);
19 function updateStyle() {
20 document.body.style.webkitWritingMode='vertical-rl';
21 iframe.style.all='unset';
22 document.documentElement.clientWidth;
23 iframe.style.webkitMarginAfter='22vmin';
24 if (window.testRunner)
25 testRunner.notifyDone();
27 </script>