1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
content / test / data / accessibility / event / text-selection-inside-hidden-element.html [blame]
<!--
@AURALINUX-DENY:STATE-CHANGE:DEFUNCT*
-->
<!DOCTYPE html>
<html>
<body>
<div>
<div id="unclosed-div">
<div tabindex="0"></div>
</div>
<select></select>
<div aria-hidden="true"><div id="empty"></div></div>
<script>
function go() {
document.getElementById("empty").appendChild(document.getElementById("unclosed-div"));
document.execCommand("selectAll", false);
}
</script>
</body>
</html>