Changeset 258639 in webkit
- Timestamp:
- Mar 18, 2020 8:59:03 AM (4 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r258638 r258639 1 2020-03-18 Antoine Quint <graouts@apple.com> 2 3 [macOS iOS ] animations/animation-direction-normal.html is flaky failing 4 https://bugs.webkit.org/show_bug.cgi?id=206685 5 <rdar://problem/58841791> 6 7 Reviewed by Antti Koivisto. 8 9 To make this test robust we animate a non-accelerated property and we use the Web Animations API to set the time 10 at which we want to pause the animation (2.5s). 11 12 * animations/animation-direction-normal-expected.txt: 13 * animations/animation-direction-normal.html: 14 * platform/ios-wk2/TestExpectations: 15 * platform/mac/TestExpectations: 16 1 17 2020-03-18 Jason Lawrence <lawrence.j@apple.com> 2 18 -
trunk/LayoutTests/animations/animation-direction-normal-expected.txt
r88641 r258639 1 PASS - " webkitTransform" property for "box" element at 0.5s saw something close to: 1,0,0,1,50,02 PASS - " webkitTransform" property for "box" element at 1s saw something close to: 1,0,0,1,100,03 PASS - " webkitTransform" property for "box" element at 2.5s saw something close to: 1,0,0,1,50,01 PASS - "margin-left" property for "box" element at 0.5s saw something close to: 50 2 PASS - "margin-left" property for "box" element at 1s saw something close to: 100 3 PASS - "margin-left" property for "box" element at 2.5s saw something close to: 50 4 4 -
trunk/LayoutTests/animations/animation-direction-normal.html
r88641 r258639 31 31 } 32 32 @-webkit-keyframes "move1" { 33 from { -webkit-transform: translateX(0px); }34 to { -webkit-transform: translateX(200px); }33 from { margin-left: 0px; } 34 to { margin-left: 200px; } 35 35 } 36 36 #result { … … 42 42 const expectedValues = [ 43 43 // [animation-name, time, element-id, property, expected-value, tolerance] 44 ["move1", 0.5, "box", " webkitTransform", [1,0,0,1, 50,0], 20],45 ["move1", 1.0, "box", " webkitTransform", [1,0,0,1,100,0], 20],46 ["move1", 2.5, "box", " webkitTransform", [1,0,0,1, 50,0], 20],44 ["move1", 0.5, "box", "margin-left", 50, 20], 45 ["move1", 1.0, "box", "margin-left", 100, 20], 46 ["move1", 2.5, "box", "margin-left", 50, 20], 47 47 ]; 48 48 49 49 function pauseAnimation() 50 50 { 51 document.getElementById("box").style.webkitAnimationPlayState = "paused"; 51 const box = document.getElementById("box"); 52 box.style.webkitAnimationPlayState = "paused"; 53 box.getAnimations()[0].currentTime = 2500; 52 54 } 53 55 -
trunk/LayoutTests/platform/ios-wk2/TestExpectations
r258627 r258639 1319 1319 webkit.org/b/206630 [ Release ] fast/forms/validationMessage.html [ Pass Timeout ] 1320 1320 1321 webkit.org/b/206685 [ Debug ] animations/animation-direction-normal.html [ Pass Failure ]1322 1323 1321 webkit.org/b/206687 imported/w3c/web-platform-tests/beacon/idlharness.any.html [ Pass Timeout ] 1324 1322 -
trunk/LayoutTests/platform/mac/TestExpectations
r258634 r258639 1912 1912 webkit.org/b/203222 svg/wicd/rightsizing-grid.xhtml [ Pass Failure ] 1913 1913 1914 webkit.org/b/206685 animations/animation-direction-normal.html [ Pass Failure ]1915 1916 1914 webkit.org/b/206711 http/wpt/resource-timing/rt-resource-errors.html [ Pass Failure ] 1917 1915
Note: See TracChangeset
for help on using the changeset viewer.