summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/multicol/clone-block-children-inline-mismatch-crash.html
blob: afe0d36f186d9bfdc7d671cb74bb54c08d9dc09c (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
26
27
28
29
<!DOCTYPE html>
<html>
Test passes if it does not crash.
<style>
#div1 { -webkit-column-count: 2; }
#q1 { display: block; }
#q1::before { display: table-row; }
#div2 { -webkit-column-span: all; }
</style>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

function runTest() 
{
    div1 = document.createElement('div');
    div1.setAttribute('id', 'div1'); 
    document.body.appendChild(div1); 
    q1 = document.createElement('q'); 
    q1.setAttribute('id', 'q1');
    div1.appendChild(q1);
    div2 = document.createElement('div');
    div2.setAttribute('id', 'div2'); 
    q1.appendChild(div2); 
}

window.onload = runTest;
</script>
</html>