OLD | NEW |
1 <!doctype html> | |
2 <!-- | 1 <!-- |
3 This tests that location changes are sent when an element animates | 2 This tests that location changes are sent when an element animates |
4 using CSS transitions. The test animates the size of a button when | 3 using CSS transitions. The test animates the size of a button when |
5 focused, then adds the magic text "Done" to the document when | 4 focused, then adds the magic text "Done" to the document when |
6 the transition finishes. The WAIT-FOR directive below instructs | 5 the transition finishes. The WAIT-FOR directive below instructs |
7 the test framework to keep waiting for accessibility events and | 6 the test framework to keep waiting for accessibility events and |
8 not diff the dump against the expectations until the text "Done" | 7 not diff the dump against the expectations until the text "Done" |
9 appears in the dump. | 8 appears in the dump. |
10 | 9 |
11 @MAC-ALLOW:size=(400, 200) | 10 @MAC-ALLOW:size=(400, 200) |
12 @MAC-ALLOW:size=(600, 300) | 11 @MAC-ALLOW:size=(600, 300) |
13 @WIN-ALLOW:size=(400, 200) | 12 @WIN-ALLOW:size=(400, 200) |
14 @WIN-ALLOW:size=(600, 300) | 13 @WIN-ALLOW:size=(600, 300) |
15 @WAIT-FOR:Done | 14 @WAIT-FOR:Done |
16 --> | 15 --> |
| 16 <!DOCTYPE html> |
17 <html> | 17 <html> |
18 <head> | 18 <head> |
19 <style> | 19 <style> |
20 body { | 20 body { |
21 width: 800px; | 21 width: 800px; |
22 height: 600px; | 22 height: 600px; |
23 margin: 0; | 23 margin: 0; |
24 padding: 0; | 24 padding: 0; |
25 border: 0; | 25 border: 0; |
26 overflow: hidden; | 26 overflow: hidden; |
(...skipping 22 matching lines...) Expand all 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 |