cdumez@apple.com | a84e2bf | 2017-06-14 15:40:51 +0000 | [diff] [blame] | 1 | Tests that CSS animations that are created while the page is hidden are properly resumed when the page becomes visible. |
| 2 | |
| 3 | On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
| 4 | |
| 5 | |
| 6 | PASS internals.animationsAreSuspended() is false |
| 7 | PASS internals.numberOfActiveAnimations() is 1 |
| 8 | Suspend animations |
| 9 | PASS internals.animationsAreSuspended() is true |
| 10 | PASS internals.animationsAreSuspended() is true |
| 11 | PASS internals.animationsAreSuspended() is true |
| 12 | PASS window.getComputedStyle(testDiv).transform is pausedTransform |
| 13 | Resume animations... |
| 14 | PASS window.getComputedStyle(testDiv).transform != pausedTransform became true |
| 15 | PASS successfullyParsed is true |
| 16 | |
| 17 | TEST COMPLETE |
| 18 | TEST |