blob: a73d35366c3080df0c27f845da7eaeb546dc64a5 [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>