summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/deprecated-flexbox/layoutHorizontalBox-crash.html
blob: f051e8349f03076678a6749c449008c0dae701fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<style>
.c6:first-letter { visibility: hidden; }
.c6:nth-last-child(2n+10000000000000000) { text-align: -webkit-center; width: 10px; }
.c26:first-letter { visibility: inherit; overflow: scroll; float: left;</style>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

function runTest() {
    var button = document.createElement('button');
    button.setAttribute('class', 'c6');
    document.documentElement.appendChild(button);
    document.documentElement.appendChild(document.createElement('dfn'));
    var figCaption = document.createElement('figcaption');
    figCaption.setAttribute('class', 'c26');
    document.documentElement.appendChild(document.createElement('var'));
    document.documentElement.appendChild(document.createElement('summary'));
    var text = document.createTextNode("bug 70183: Crash in LayoutDeprecatedFlexibleBox::layoutHorizontalBox");
    figCaption.appendChild(text);
    button.appendChild(figCaption);
    document.body.offsetTop;
    document.documentElement.appendChild(document.createTextNode("If this test did not CRASH or show errors in valgrind, it has PASSED."));
}
window.onload = runTest;
</script>