blob: 5ccecb5874f3769543dcd99c2eefede22eabdd3b (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
<!DOCTYPE html>
<html>
<head>
<style>
.c7 { display: table-row-group; }
.c7:nth-last-of-type(-n+6) { float: none; }
.c21:nth-child(2n) { position: static; float: left; }
.c26 { border-style: ridge; content: counter(section);</style>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function crash()
{
var img = document.createElement('img');
img.appendChild(select);
if (window.testRunner)
testRunner.notifyDone();
}
function insertNodes() {
document.documentElement.appendChild(document.createElement('a'));
document.documentElement.appendChild(document.createElement('dfn'));
document.documentElement.appendChild(document.createElement('keygen'));
var iframe = document.createElement('iframe');
iframe.setAttribute('src', 'dne.html');
document.documentElement.appendChild(iframe);
document.documentElement.appendChild(document.createElement('rp'));
document.documentElement.appendChild(document.createElement('ul'));
document.documentElement.appendChild(document.createElement('option'));
document.documentElement.appendChild(document.createElement('label'));
document.documentElement.appendChild(document.createElement('table'));
document.documentElement.appendChild(document.createElement('mark'));
document.documentElement.appendChild(document.createElement('bdo'));
document.documentElement.appendChild(document.createElement('colgroup'));
document.documentElement.appendChild(document.createElement('strong'));
select = document.createElement('select');
document.documentElement.appendChild(select);
var sup = document.createElement('sup');
sup.setAttribute('class', 'c7');
document.documentElement.appendChild(sup);
var td = document.createElement('td');
td.setAttribute('class', 'c21');
document.documentElement.appendChild(td);
var th = document.createElement('th');
th.setAttribute('colspan', '2');
th.setAttribute('class', 'c26');
sup.appendChild(th);
setTimeout(crash, 0);
}
window.addEventListener("load", insertNodes, false);
</script>
</head>
<body>
<p> Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=70171">70171</a>: Crash in LayoutTableSection::splitColumn</p>
<p> This test PASSES if it does not CRASH or ASSERT.</p>
</body>
</html>
|