blob: 891805779e8ec1aa23d244bcbd44e3eae10893fc [file] [log] [blame]
<style>
.c2:after { float: left; content: "A"; }
</style>
PASS, if the script does not cause a crash or ASSERT failure
<script>
function endTest(childSpan) {
childSpan.appendChild(divToInsert);
if (window.testRunner)
testRunner.notifyDone();
}
function startTest() {
quoteNode = document.createElement('q');
document.documentElement.appendChild(quoteNode);
divToInsert = document.createElement('div');
parentSpan = document.createElement('span');
parentSpan.setAttribute('class', 'c2');
childSpan = document.createElement('span');
parentSpan.appendChild(childSpan);
document.documentElement.appendChild(parentSpan);
setTimeout('endTest(childSpan);', 50);
if (window.testRunner) {
testRunner.waitUntilDone();
testRunner.dumpAsText();
}
}
window.onload = startTest;
</script>