blob: 1bfea53aa49292d1901d2323e30db08344fa9cb5 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script>
function test()
{
if (window.testRunner)
testRunner.dumpAsText();
var host = document.createElement('div');
document.body.appendChild(host);
var shadow = host.attachShadow({mode: 'open'});
var ul = document.createElement('ul');
var li = document.createElement('li');
ul.appendChild(li);
shadow.appendChild(ul);
document.body.offsetLeft;
document.body.innerHTML = 'PASS unless crash.';
}
</script>
</head>
<body onload="test()">
</body>
</html>