17 lines
433 B
HTML
17 lines
433 B
HTML
<html>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
function runTest() {
|
|
if (document.a)
|
|
document.getElementById('result').innerHTML = 'SUCCESS';
|
|
}
|
|
</script>
|
|
<body onload="runTest()">
|
|
<object name="a"><foo></foo></object>
|
|
<div>This tests that an object element with an unknown child element is still part of the document's named item map.</div>
|
|
<div id="result">FAILURE</div>
|
|
</body>
|
|
</html>
|