blob: 021ed349ce946f0961a35f990816bf11076e03d7 [file] [log] [blame]
<html>
<head>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function test() {
var shadow = host.attachShadow({mode: "open"});
shadow.innerHTML = '<map name="bar"></map><img usemap="#bar">';
host.remove();
}
</script>
</head>
<body onload="test()">
This test passes if it doesn't crash.
<map id="map" name="foo"></map>
<img usemap="#foo">
<div id="host"></div>
</body>
</html>