| -webkit-animation-name: flip; |
| -webkit-animation-duration: 1s; |
| -webkit-animation-timing-function: linear; |
| @-webkit-keyframes flip { |
| from { -webkit-transform: matrix( 1, 0, 0, 1, 0, 0); } |
| to { -webkit-transform: matrix( 1, 0, 0, -1, 0, 0); } |
| <script src="resources/animation-test-helpers.js"></script> |
| // [animation-name, time, element-id, property, expected-value, tolerance] |
| ["flip", 0.5, "box", "webkitTransform", [1, 0, 0, 0, 0, 0], 0.3], |
| window.internals.settings.setAcceleratedCompositedAnimationsEnabled(false); |
| runAnimationTest(expectedValues, null, null, true, null, function () { |
| window.internals.settings.setAcceleratedCompositedAnimationsEnabled(true); |
| During the animation, the box should flip in the horizontal axis. It should |
| not disappear into a single point (i.e. the visual width should not change). |