| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <!-- | 2 <!-- |
| 3 This tests that location changes are sent when an element animates | 3 This tests that location changes are sent when an element animates |
| 4 using CSS transitions. The test animates the size of a button when | 4 using CSS transitions. The test animates the size of a button when |
| 5 focused, then adds the magic text "Done" to the document when | 5 focused, then adds the magic text "Done" to the document when |
| 6 the transition finishes. The WAIT-FOR directive below instructs | 6 the transition finishes. The WAIT-FOR directive below instructs |
| 7 the test framework to keep waiting for accessibility events and | 7 the test framework to keep waiting for accessibility events and |
| 8 not diff the dump against the expectations until the text "Done" | 8 not diff the dump against the expectations until the text "Done" |
| 9 appears in the dump. | 9 appears in the dump. |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 if (!done) { | 49 if (!done) { |
| 50 document.body.appendChild(document.createTextNode('Done')); | 50 document.body.appendChild(document.createTextNode('Done')); |
| 51 done = true; | 51 done = true; |
| 52 } | 52 } |
| 53 }, false); | 53 }, false); |
| 54 growButton.focus(); | 54 growButton.focus(); |
| 55 </script> | 55 </script> |
| 56 | 56 |
| 57 </body> | 57 </body> |
| 58 </html> | 58 </html> |
| OLD | NEW |