Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / deprecated-flexbox / layoutHorizontalBox-crash.html
blobf051e8349f03076678a6749c449008c0dae701fd
1 <style>
2 .c6:first-letter { visibility: hidden; }
3 .c6:nth-last-child(2n+10000000000000000) { text-align: -webkit-center; width: 10px; }
4 .c26:first-letter { visibility: inherit; overflow: scroll; float: left;</style>
5 <script>
6 if (window.testRunner)
7 testRunner.dumpAsText();
9 function runTest() {
10 var button = document.createElement('button');
11 button.setAttribute('class', 'c6');
12 document.documentElement.appendChild(button);
13 document.documentElement.appendChild(document.createElement('dfn'));
14 var figCaption = document.createElement('figcaption');
15 figCaption.setAttribute('class', 'c26');
16 document.documentElement.appendChild(document.createElement('var'));
17 document.documentElement.appendChild(document.createElement('summary'));
18 var text = document.createTextNode("bug 70183: Crash in LayoutDeprecatedFlexibleBox::layoutHorizontalBox");
19 figCaption.appendChild(text);
20 button.appendChild(figCaption);
21 document.body.offsetTop;
22 document.documentElement.appendChild(document.createTextNode("If this test did not CRASH or show errors in valgrind, it has PASSED."));
24 window.onload = runTest;
25 </script>