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
5 focused, then adds the magic text "Done" to the document when
6 the transition finishes. The WAIT-FOR directive below instructs
7 the test framework to keep waiting for accessibility events and
8 not diff the dump against the expectations until the text "Done"
11 @MAC-ALLOW:size=(400, 200)
12 @MAC-ALLOW:size=(600, 300)
13 @WIN-ALLOW:size=(400, 200)
14 @WIN-ALLOW:size=(600, 300)
37 transition: all
0.1s ease-in-out;
43 <button id=
"growbutton">GrowButton
</button>
46 var growButton
= document
.getElementById('growbutton');
48 growButton
.addEventListener('webkitTransitionEnd', function() {
50 document
.body
.appendChild(document
.createTextNode('Done'));