<!DOCTYPE html> | |
<script src='../../resources/testharness.js'></script> | |
<script src='../../resources/testharnessreport.js'></script> | |
<div id="host"> | |
<li></li> | |
</div> | |
<script> | |
async_test((test) => { | |
requestAnimationFrame(() => { | |
host.attachShadow({mode: 'open'}); | |
test.done(); | |
}); | |
}, 'crbug/767403 layout for <li> elements after attachShadow should not ' + | |
'crash.'); | |
host.offsetWidth; | |
</script> | |