5 @WIN-ALLOW:caret_offset*
6 @WIN-ALLOW:n_selections*
7 @WIN-ALLOW:selection_start*
8 @WIN-ALLOW:selection_end*
13 <div id=
"searchbox" role=
"searchbox" tabindex=
"0">ARIA role searchbox.
</div>
15 var selection
= window
.getSelection();
16 var selectionRange
= document
.createRange();
17 var searchbox
= document
.getElementById('searchbox');
19 selectionRange
.selectNodeContents(searchbox
);
20 selection
.removeAllRanges();
21 selection
.addRange(selectionRange
);