blob: e360dd436b4388a69cca0874e6656baab2bf76fd [file] [log] [blame]
<html>
<body onload="runTest();">
<div id="table" style="display: table;">
<em id="em"></em>
<audio controls="arbitrary" style="display: table-caption;" />
<img id="img" />
</div>
<div id="result"></div>
<script type="text/javascript">
if (window.testRunner)
testRunner.dumpAsText();
function runTest()
{
var img = document.getElementById('img');
var em = document.getElementById('em');
em.parentNode.replaceChild(img, em);
document.body.offsetTop;
document.body.removeChild(document.getElementById('table'));
document.getElementById("result").innerHTML = "PASS";
}
</script>
</body>
</html>