blob: ab4a2ef44e277956f768abac4f8dc7d4ce235492 [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.webkitCreateShadowRoot();
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>