blob: d212f726b8c1e21dd87f6e9c2b81d254caf4b413 [file] [log] [blame]
<style>
#SHADOW { initial; -webkit-user-select: text; }
#LABEL { -webkit-user-select: all; }
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.onload = () => {
window.getSelection().collapse(SHADOW);
document.execCommand("justifyCenter", false);
}
</script>
<span>Test changing style with draggable text. The test passes if WebKit doesn't crash or hit an assertion</span><label id=LABEL contenteditable="true"><shadow id=SHADOW></shadow><span draggable="true">a