6 -webkit-user-select: none;
15 <p>Test that inert nodes are not painted as being selected. The test passes if
16 none of the text outside the dialog is highlighted when selected.
</p>
18 <p>Although not shown as selected, the inert nodes are in window.getSelection()
19 and copied to the clipboard, which is the same behavior as -webkit-user-select:
20 none (crbug.com/
147490).
</p>
22 <br><span>This text shouldn't be highlighted as selected.
</span>
25 <div id=
"selectable">I'm selectable.
</div>
29 dialog
= document
.querySelector('dialog');
31 selectable
= document
.querySelector('#selectable');
32 window
.getSelection().selectAllChildren(selectable
);