blob: cb82e0b1485c0a8d10325c198a8148fcde3018c6 [file] [log] [blame]
<!DOCTYPE html>
<script>
if (window.testRunner)
testRunner.dumpAsText();
if (window.internals)
internals.settings.setUnifiedTextCheckerEnabled(true);
onload = function() {
var myShadowRoot = document.getElementById('sample').createShadowRoot();
var myShadowElement = document.createElement('defs');
myShadowElement.setAttribute('contenteditable', 'true');
myShadowRoot.appendChild(myShadowElement);
myShadowElement.focus();
document.body.innerHTML = 'PASS if this was not crashed.';
}
</script>
<input id="sample">