2 This tests that location changes are sent when an element animates
3 using CSS transitions. The test animates the size of a button when
4 focused, then adds the magic text "Done" to the document when
5 the transition finishes. The WAIT-FOR directive below instructs
6 the test framework to keep waiting for accessibility events and
7 not diff the dump against the expectations until the text "Done"
10 @MAC-ALLOW:size=(400, 200)
11 @MAC-ALLOW:size=(600, 300)
12 @WIN-ALLOW:size=(400, 200)
13 @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'));