1
2
3
4
5
6
7
8
9
10
11
12
content / test / data / accessibility / html / br-with-child.html [blame]
<!DOCTYPE html>
<!-- Test that content appended as a <br>'s child is not in AX tree. -->
<html>
<body>
<p>Text line 1<br>Text line 2</p>
</body>
<script>
document.querySelector('br').appendChild(document.createElement('p'));
document.querySelector('br > p').appendChild(document.createTextNode('not shown'));
document.querySelector('br > p').appendChild(document.createTextNode('more'));
</script>
</html>