blob: f12f33a1a4490279b25af11fa88ba7e6ae328e50 (
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
|
<!DOCTYPE html>
<html>
<head>
<style>
#test1 { -webkit-column-count: 2; }
#test4 { -webkit-column-span: all; }
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = function() {
test1 = document.createElement('div');
test1.setAttribute('id', 'test1');
document.body.appendChild(test1);
test2 = document.createElement('div');
test3 = document.createElement('div');
test1.appendChild(test2);
test1.appendChild(test3);
test4 = document.createElement('div');
test4.setAttribute('id', 'test4');
test1.appendChild(test4);
test4.style.display = 'table-footer-group';
document.body.offsetTop
test3.style.display = 'table-row';
document.body.offsetTop;
test3.style.display = 'table-column-group';
document.body.offsetTop;
test3.style.display = 'table-row';
document.body.offsetTop;
test2.style.display = 'inline';
}
</script>
</head>
<body>
Test passes if it does not crash.
</body>
</html>
|