| <!-- |
| 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> |