<!DOCTYPE html> | |
<html> | |
<head> | |
<title>This tests that we find the appropriate container for content injected into continuation context.</title> | |
</head> | |
<body> | |
<table><tr><td><span id=firstSpan>PASS<div id=firstDiv></div></span></td></tr></table> | |
<script> | |
if (window.testRunner) | |
testRunner.dumpAsText(); | |
var newTd = document.createElement("td"); | |
newTd.style.display = "inline"; | |
document.getElementById("firstSpan").insertBefore(newTd, document.getElementById("firstDiv")); | |
</script> | |
</body> | |
</html> |