Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-generated-content / remove-div-from-flexible-box-with-floating-after-content-crash.html
blob8d04c1622c7d4c1a6a0f86a298dac6d2a159c08a
1 <style>
2 .c1::after { float: left; content: open-quote; }
3 .c1:first-letter { display: table-column; }
4 .c1[class~="c1"] { display: -webkit-inline-box; }
5 </style>
6 <script>
7 var parentDiv = document.createElement('div');
8 var childDiv = document.createElement('div');
10 parentDiv.setAttribute('class', 'c1');
11 document.documentElement.appendChild(parentDiv);
12 parentDiv.appendChild(childDiv);
13 parentDiv.appendChild(document.createTextNode('PASS if no exception or crash'));
14 document.documentElement.offsetHeight; // forces a layout
15 parentDiv.removeChild(childDiv);
16 if (window.testRunner)
17 testRunner.dumpAsText();
18 </script>