1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
content / test / data / accessibility / html / move-child-hypertext.html [blame]
<!--
@WIN-ALLOW:ia2_hypertext=*
@AURALINUX-ALLOW:character_count*
@WAIT-FOR:done
-->
<!-- This test makes sure the number of embedded object characters is correct -->
<!DOCTYPE html>
<html>
<body>
<div></div> <!-- Not in platform tree, but the moved-in contents will be -->
<div><div id="move-me" tabindex="0"></div></div>
<script>
function go() {
document.querySelector('div').appendChild(document.getElementById("move-me"));
document.title = 'done';
}
setTimeout(go, 50);
</script>
</body>
</html>