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-changed.html [blame]

<!--
The children changed / reorder event is fired an unpredictable number of times.
@WIN-DENY:EVENT_OBJECT_REORDER*
@UIA-WIN-DENY:StructureChanged/ChildrenReordered*
-->
<!DOCTYPE html>
<html>
<body>
<p id="p" aria-label="p">Para</p>
<h2 id="h" aria-label="h">Heading</h2>
<div id="d" aria-label="d">Div</div>
<script>
  function go() {
    document.querySelector('#p').textContent = 'Modified Para';
    document.querySelector('#h').firstChild.data = 'Modified Heading';
    document.querySelector('#d').firstChild.data = 'Modified Div';
  }
</script>
</body>
</html>