blob: 5c425945f25f11fc073219d077facf007c2d63a8 [file] [log] [blame]
Tests that CSS animations that are created while the page is hidden are properly resumed when the page becomes visible.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS internals.animationsAreSuspended() is false
PASS internals.numberOfActiveAnimations() is 1
Suspend animations
PASS internals.animationsAreSuspended() is true
PASS internals.animationsAreSuspended() is true
PASS internals.animationsAreSuspended() is true
PASS window.getComputedStyle(testDiv).transform is pausedTransform
Resume animations...
PASS window.getComputedStyle(testDiv).transform != pausedTransform became true
PASS successfullyParsed is true
TEST COMPLETE
TEST