blob: c9d4d3c9cf27c3ecef30b1a1ed243d4706cbb2f4 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Shadow Content Element Crash</title>
</head>
<body>
<p>This test confirms adding a content element into a shadow root does not cause crash.</p>
<div id='container'>FAIL</div>
<script>
var div = document.getElementById('container');
var root = div.createShadowRoot();
root.innerHTML = "<content select='span'>PASS</content>";
</script>
</body>
</html>