blob: 016a4c88dced199fcf7e605ac4d638dafbf4f154 (
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
|
<html>
<style type="text/css">
.firstDivStyle + .secondDivStyle { display: table-footer-group; }
.rubyStyle { position: relative; }
.secondDivStyle { -webkit-appearance: button; }
.posAbsolute { position: absolute; }
</style>
<script type="text/javascript">
function dumpTest() {
testRunner.notifyDone();
}
function runTest() {
document.getElementById('ruby').innerHTML = '<audio controls="controls" id="aud" src="blah.ogg" class="posAbsolute"></audio>';
height = document.body.clientHeight; // Force layout
document.body.removeChild(document.getElementById('remove')); // Cause anonymous blocks containing 'secondDivStyle' and 'ruby' to be merged
document.getElementById('aud').style.color = "blue"; // Force style recalc
setTimeout('dumpTest()', 10);
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
}
window.onload = runTest;
</script>
<body>
PASS, if no exception or crash in debug
<div class="firstDivStyle"></div>
<div class="secondDivStyle"></div>
<div id="remove"></div>
<ruby id="ruby" class="rubyStyle"></ruby>
</body>
</html>
|