Changeset 53492 in webkit
- Timestamp:
- Jan 19, 2010 2:14:03 PM (14 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r53488 r53492 1 2010-01-15 Ojan Vafai <ojan@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 LayoutTests/animations/play-state.html and LayoutTests/transitions/cancel-transition.html are still flaky 6 https://bugs.webkit.org/show_bug.cgi?id=33748 7 8 * animations/play-state-expected.txt: 9 * animations/play-state.html: 10 Undo my previous change of decreasing the length of the test. I think that made it more flaky. 11 Also increase the tolerance. 12 13 * transitions/cancel-transition.html: 14 Undo my previous change of moving the setTimeout. It was correct where it was. 15 Added a comment to make it more clear. The tolerances were increased since then though, 16 so this test should no longer be flaky after this. 17 1 18 2010-01-19 Jaime Yap <jaimeyap@google.com> 2 19 -
trunk/LayoutTests/animations/play-state-expected.txt
r53303 r53492 1 This tests the operation of -webkit-animation-play-state. After half a second the box should stop and after one more half-second it should start again. We test it both while in motion and when stopped.1 This tests the operation of -webkit-animation-play-state. After 2 second the box should stop and after one more second it should start again. We test it both while in motion and when stopped. 2 2 3 PASS - "webkitTransform" property for "box1" element at 0. 25s saw something close to: 1,0,0,1,25,04 PASS - "left" property for "box2" element at 0. 25s saw something close to: 255 PASS - "webkitTransform" property for "box1" element at 0.75s saw something close to: 1,0,0,1,50,06 PASS - "left" property for "box2" element at 0.75s saw something close to: 507 PASS - "webkitTransform" property for "box1" element at 1.25s saw something close to: 1,0,0,1,75,08 PASS - "left" property for "box2" element at 1.25s saw something close to: 753 PASS - "webkitTransform" property for "box1" element at 0.5s saw something close to: 1,0,0,1,25,0 4 PASS - "left" property for "box2" element at 0.5s saw something close to: 25 5 PASS - "webkitTransform" property for "box1" element at 1.5s saw something close to: 1,0,0,1,50,0 6 PASS - "left" property for "box2" element at 1.5s saw something close to: 50 7 PASS - "webkitTransform" property for "box1" element at 2.5s saw something close to: 1,0,0,1,75,0 8 PASS - "left" property for "box2" element at 2.5s saw something close to: 75 9 9 -
trunk/LayoutTests/animations/play-state.html
r53303 r53492 10 10 background-color: blue; 11 11 margin: 0; 12 -webkit-animation-duration: 1s;12 -webkit-animation-duration: 2s; 13 13 -webkit-animation-timing-function: linear; 14 14 -webkit-animation-name: "move1"; … … 25 25 width: 100px; 26 26 background-color: red; 27 -webkit-animation-duration: 1s;27 -webkit-animation-duration: 2s; 28 28 -webkit-animation-timing-function: linear; 29 29 -webkit-animation-name: "move2"; … … 39 39 const expectedValues = [ 40 40 // [animation-name, time, element-id, property, expected-value, tolerance] 41 ["move1", 0. 25, "box1", "webkitTransform", [1,0,0,1,25,0], 10],42 ["move1", 0.75, "box1", "webkitTransform", [1,0,0,1,50,0], 10],43 ["move1", 1.25, "box1", "webkitTransform", [1,0,0,1,75,0], 10],44 ["move2", 0. 25, "box2", "left", 25, 10],45 ["move3", 0.75, "box2", "left", 50, 10],46 ["move4", 1.25, "box2", "left", 75, 10],41 ["move1", 0.5, "box1", "webkitTransform", [1,0,0,1,25,0], 15], 42 ["move1", 1.5, "box1", "webkitTransform", [1,0,0,1,50,0], 15], 43 ["move1", 2.5, "box1", "webkitTransform", [1,0,0,1,75,0], 15], 44 ["move2", 0.5, "box2", "left", 25, 15], 45 ["move3", 1.5, "box2", "left", 50, 15], 46 ["move4", 2.5, "box2", "left", 75, 15], 47 47 ]; 48 48 … … 61 61 function setTimers() 62 62 { 63 setTimeout(stop, 500);64 setTimeout(start, 1000);63 setTimeout(stop, 1000); 64 setTimeout(start, 2000); 65 65 } 66 66 … … 71 71 <body> 72 72 <p> 73 This tests the operation of -webkit-animation-play-state. After half asecond the box should stop and after one74 more half-second it should start again. We test it both while in motion and when stopped.73 This tests the operation of -webkit-animation-play-state. After 2 second the box should stop and after one 74 more second it should start again. We test it both while in motion and when stopped. 75 75 <div id="box1"> 76 76 </div> -
trunk/LayoutTests/transitions/cancel-transition.html
r53310 r53492 63 63 { 64 64 document.getElementById("container").className = "run"; 65 // The transition should restart at the beginning here. After 250 it should be halfway done. 66 setTimeout("check()", 250); 65 67 } 66 68 … … 94 96 setTimeout("cancelTransition()", 100); 95 97 setTimeout("restartTransition()", 200); 96 setTimeout("check()", 500);97 98 } 98 99 </script>
Note: See TracChangeset
for help on using the changeset viewer.