4 <script src=
"../../../resources/js-test.js"></script>
7 Here is a text node you can't select.
8 <dialog>I'm selectable.
</dialog>
10 description('Test that inert nodes cannot be selected. The test passes if the only text you can select is inside the dialog.');
12 dialog
= document
.querySelector('dialog');
14 document
.execCommand('SelectAll');
15 shouldBeEqualToString('window.getSelection().toString()', "I'm selectable.");