Changeset 251591 in webkit
- Timestamp:
- Oct 25, 2019, 8:29:54 AM (7 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 312 added
- 43 deleted
- 33 edited
- 11 copied
- 30 moved
-
ChangeLog (modified) (1 diff)
-
TestExpectations (modified) (2 diffs)
-
imported/mozilla/ChangeLog (modified) (1 diff)
-
imported/mozilla/css-animations/test_animation-cancel-expected.txt (deleted)
-
imported/mozilla/css-animations/test_animation-cancel.html (deleted)
-
imported/mozilla/css-animations/test_animation-currenttime-expected.txt (deleted)
-
imported/mozilla/css-animations/test_animation-currenttime.html (deleted)
-
imported/mozilla/css-animations/test_animation-finish-expected.txt (deleted)
-
imported/mozilla/css-animations/test_animation-finish.html (deleted)
-
imported/mozilla/css-animations/test_animation-finished-expected.txt (deleted)
-
imported/mozilla/css-animations/test_animation-finished.html (deleted)
-
imported/mozilla/css-animations/test_animation-id.html (deleted)
-
imported/mozilla/css-animations/test_animation-pausing.html (deleted)
-
imported/mozilla/css-animations/test_animation-playstate.html (deleted)
-
imported/mozilla/css-animations/test_animation-ready.html (deleted)
-
imported/mozilla/css-animations/test_animation-reverse-expected.txt (deleted)
-
imported/mozilla/css-animations/test_animation-reverse.html (deleted)
-
imported/mozilla/css-animations/test_animation-starttime-expected.txt (deleted)
-
imported/mozilla/css-animations/test_animation-starttime.html (deleted)
-
imported/mozilla/css-animations/test_animations-dynamic-changes.html (deleted)
-
imported/mozilla/css-animations/test_event-dispatch.html (deleted)
-
imported/mozilla/css-animations/test_event-order-expected.txt (deleted)
-
imported/mozilla/css-animations/test_event-order.html (deleted)
-
imported/mozilla/css-animations/test_setting-effect.html (deleted)
-
imported/mozilla/css-transitions/test_animation-cancel.html (deleted)
-
imported/mozilla/css-transitions/test_animation-currenttime-expected.txt (deleted)
-
imported/mozilla/css-transitions/test_animation-currenttime.html (deleted)
-
imported/mozilla/css-transitions/test_animation-finished-expected.txt (deleted)
-
imported/mozilla/css-transitions/test_animation-finished.html (deleted)
-
imported/mozilla/css-transitions/test_animation-pausing-expected.txt (deleted)
-
imported/mozilla/css-transitions/test_animation-pausing.html (deleted)
-
imported/mozilla/css-transitions/test_animation-ready-expected.txt (deleted)
-
imported/mozilla/css-transitions/test_animation-ready.html (deleted)
-
imported/mozilla/css-transitions/test_animation-starttime-expected.txt (deleted)
-
imported/mozilla/css-transitions/test_animation-starttime.html (deleted)
-
imported/mozilla/css-transitions/test_csstransition-transitionproperty.html (deleted)
-
imported/mozilla/css-transitions/test_document-get-animations-expected.txt (deleted)
-
imported/mozilla/css-transitions/test_document-get-animations.html (deleted)
-
imported/mozilla/css-transitions/test_element-get-animations-expected.txt (deleted)
-
imported/mozilla/css-transitions/test_element-get-animations.html (deleted)
-
imported/mozilla/css-transitions/test_event-dispatch.html (deleted)
-
imported/mozilla/css-transitions/test_keyframeeffect-getkeyframes-expected.txt (deleted)
-
imported/mozilla/css-transitions/test_keyframeeffect-getkeyframes.html (deleted)
-
imported/mozilla/css-transitions/test_setting-effect-expected.txt (deleted)
-
imported/mozilla/css-transitions/test_setting-effect.html (deleted)
-
imported/w3c/ChangeLog (modified) (1 diff)
-
imported/w3c/resources/import-expectations.json (modified) (3 diffs)
-
imported/w3c/web-platform-tests/css/css-animations/AnimationEffect-getComputedTiming.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_animation-computed-timing-expected.txt )
-
imported/w3c/web-platform-tests/css/css-animations/AnimationEffect-getComputedTiming.tentative.html (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_animation-computed-timing.html ) (32 diffs)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-animationName.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_cssanimation-animationname-expected.txt )
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-animationName.tentative.html (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_cssanimation-animationname.html ) (5 diffs)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-canceling.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-canceling.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-effect.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_setting-effect-expected.txt ) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-effect.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-finished.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-finished.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-getCurrentTime.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-getCurrentTime.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-id.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_animation-id-expected.txt )
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-id.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-pausing.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_animation-pausing-expected.txt )
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-pausing.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-playState.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_animation-playstate-expected.txt ) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-playState.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-ready.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_animation-ready-expected.txt ) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-ready.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-startTime.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-startTime.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/CSSPseudoElement-getAnimations.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_pseudoElement-get-animations-expected.txt ) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/CSSPseudoElement-getAnimations.tentative.html (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_pseudoElement-get-animations.html ) (5 diffs)
-
imported/w3c/web-platform-tests/css/css-animations/Document-getAnimations.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_document-get-animations-expected.txt ) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/Document-getAnimations.tentative.html (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_document-get-animations.html ) (16 diffs)
-
imported/w3c/web-platform-tests/css/css-animations/Element-getAnimations-dynamic-changes.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_animations-dynamic-changes-expected.txt )
-
imported/w3c/web-platform-tests/css/css-animations/Element-getAnimations-dynamic-changes.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/Element-getAnimations.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_element-get-animations-expected.txt ) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/Element-getAnimations.tentative.html (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_element-get-animations.html ) (19 diffs)
-
imported/w3c/web-platform-tests/css/css-animations/KeyframeEffect-getKeyframes.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_keyframeeffect-getkeyframes-expected.txt ) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/KeyframeEffect-getKeyframes.tentative.html (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_keyframeeffect-getkeyframes.html ) (45 diffs)
-
imported/w3c/web-platform-tests/css/css-animations/KeyframeEffect-target.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_effect-target-expected.txt )
-
imported/w3c/web-platform-tests/css/css-animations/KeyframeEffect-target.tentative.html (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_effect-target.html ) (4 diffs)
-
imported/w3c/web-platform-tests/css/css-animations/META.yml (added)
-
imported/w3c/web-platform-tests/css/css-animations/OWNERS (deleted)
-
imported/w3c/web-platform-tests/css/css-animations/animation-opacity-pause-and-set-time-expected.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/animation-opacity-pause-and-set-time.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/animation-pseudo-dynamic-001-expected.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/animation-pseudo-dynamic-001.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/animation-transform-pause-and-set-time-expected.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/animation-transform-pause-and-set-time.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/animationevent-interface-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/animationevent-interface.js (modified) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/animationevent-marker-pseudoelement-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/animationevent-marker-pseudoelement.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/computed-style-animation-parsing-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/computed-style-animation-parsing.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/event-dispatch.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-animations/test_event-dispatch-expected.txt ) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/event-dispatch.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/event-order.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/event-order.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/historical-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/historical.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/idlharness-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/idlharness.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/inheritance-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/inheritance.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/keyframes-remove-documentElement-crash-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/keyframes-remove-documentElement-crash.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-delay-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-delay-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-delay-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-delay-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-delay-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-delay-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-direction-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-direction-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-direction-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-direction-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-direction-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-direction-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-duration-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-duration-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-duration-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-duration-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-duration-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-duration-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-fill-mode-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-fill-mode-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-fill-mode-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-fill-mode-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-fill-mode-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-fill-mode-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-iteration-count-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-iteration-count-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-iteration-count-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-iteration-count-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-iteration-count-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-iteration-count-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-name-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-name-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-name-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-name-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-name-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-name-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-play-state-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-play-state-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-play-state-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-play-state-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-play-state-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-play-state-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-shorthand-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-shorthand.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-timing-function-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-timing-function-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-timing-function-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-timing-function-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-timing-function-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-timing-function-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/animation-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/parsing/w3c-import.log (added)
-
imported/w3c/web-platform-tests/css/css-animations/responsive (added)
-
imported/w3c/web-platform-tests/css/css-animations/responsive/column-rule-color-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/responsive/column-rule-color-001.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/responsive/column-width-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/responsive/column-width-001.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/responsive/w3c-import.log (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log ) (2 diffs)
-
imported/w3c/web-platform-tests/css/css-animations/style-animation-parsing-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-animations/style-animation-parsing.html (added)
-
imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js (modified) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log (modified) (1 diff)
-
imported/w3c/web-platform-tests/css/css-animations/w3c-import.log (modified) (3 diffs)
-
imported/w3c/web-platform-tests/css/css-transitions (added)
-
imported/w3c/web-platform-tests/css/css-transitions/AnimationEffect-getComputedTiming.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-transitions/test_animation-computed-timing-expected.txt ) (1 diff)
-
imported/w3c/web-platform-tests/css/css-transitions/AnimationEffect-getComputedTiming.tentative.html (moved) (moved from trunk/LayoutTests/imported/mozilla/css-transitions/test_animation-computed-timing.html ) (17 diffs)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSPseudoElement-getAnimations.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-transitions/test_pseudoElement-get-animations-expected.txt )
-
imported/w3c/web-platform-tests/css/css-transitions/CSSPseudoElement-getAnimations.tentative.html (moved) (moved from trunk/LayoutTests/imported/mozilla/css-transitions/test_pseudoElement-get-animations.html ) (4 diffs)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-canceling.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-transitions/test_animation-cancel-expected.txt ) (1 diff)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-canceling.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-currentTime.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-currentTime.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-effect.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-effect.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-finished.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-finished.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-ready.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-ready.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-startTime.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-startTime.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-transitionProperty.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-transitions/test_csstransition-transitionproperty-expected.txt )
-
imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-transitionProperty.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/Document-getAnimations.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/Document-getAnimations.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/Element-getAnimations.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/Element-getAnimations.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/KeyframeEffect-getKeyframes.tentative-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/KeyframeEffect-getKeyframes.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/KeyframeEffect-target.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-transitions/test_effect-target-expected.txt )
-
imported/w3c/web-platform-tests/css/css-transitions/KeyframeEffect-target.tentative.html (moved) (moved from trunk/LayoutTests/imported/mozilla/css-transitions/test_effect-target.html ) (4 diffs)
-
imported/w3c/web-platform-tests/css/css-transitions/META.yml (added)
-
imported/w3c/web-platform-tests/css/css-transitions/README.md (added)
-
imported/w3c/web-platform-tests/css/css-transitions/before-load-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/before-load-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/changing-while-transition-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/changing-while-transition-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/changing-while-transition-002-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/changing-while-transition-002.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/changing-while-transition-003-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/changing-while-transition-003.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/currentcolor-animation-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/currentcolor-animation-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/disconnected-element-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/disconnected-element-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/event-dispatch.tentative-expected.txt (moved) (moved from trunk/LayoutTests/imported/mozilla/css-transitions/test_event-dispatch-expected.txt ) (1 diff)
-
imported/w3c/web-platform-tests/css/css-transitions/event-dispatch.tentative.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-002-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-002.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-003-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-003.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-004-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-004.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-005-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-005.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-006-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-006.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-007-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/events-007.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/historical-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/historical.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/idlharness-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/idlharness.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/inherit-height-transition-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/inherit-height-transition.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/inheritance-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/inheritance.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/no-transition-from-ua-to-blocking-stylesheet-expected.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/no-transition-from-ua-to-blocking-stylesheet.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/non-rendered-element-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/non-rendered-element-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/non-rendered-element-002-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/non-rendered-element-002.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-delay-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-delay-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-delay-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-delay-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-delay-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-delay-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-duration-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-duration-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-duration-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-duration-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-duration-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-duration-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-property-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-property-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-property-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-property-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-property-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-property-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-shorthand-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-shorthand.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-timing-function-computed-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-timing-function-computed.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-timing-function-invalid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-timing-function-invalid.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-timing-function-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-timing-function-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-valid-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/transition-valid.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/parsing/w3c-import.log (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-002-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-002.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-003-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-003.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-auto-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-auto-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-implicit-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-implicit-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-002-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-002.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-003-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-003.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/pseudo-elements-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/pseudo-elements-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/pseudo-elements-002-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/pseudo-elements-002.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/starting-of-transitions-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/starting-of-transitions-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/1x1-green.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/1x1-lime.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/1x1-maroon.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/1x1-navy.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/1x1-red.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/1x1-white.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/60x60-gg-rr.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/60x60-green.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/60x60-red.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/README (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/a-green-transition.css (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/a-green.css (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/b-green.css (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/c-red.css (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/cat.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/generalParallelTest.js (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/helper.js (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/import-green.css (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/import-red.css (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/one.gif (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/pattern-grg-rgr-grg.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/pattern-grg-rrg-rgg.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/pattern-rgr-grg-rgr.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/pattern-tr.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/properties.js (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/ruler-h-50%.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/ruler-h-50px.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/ruler-v-100px.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/ruler-v-50px.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/runParallelAsyncHarness.js (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/square-purple.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/square-teal.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/square-white.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/support (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/support/README (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/support/swatch-green.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/support/swatch-red.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/support/w3c-import.log (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log ) (2 diffs)
-
imported/w3c/web-platform-tests/css/css-transitions/support/swatch-blue.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/swatch-green.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/swatch-lime.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/swatch-orange.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/swatch-red.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/swatch-teal.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/swatch-white.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/swatch-yellow.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/test-bl.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/test-br.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/test-inner-half-size.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/test-outer.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/test-tl.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/test-tr.png (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/two.gif (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/vendorPrefix.js (added)
-
imported/w3c/web-platform-tests/css/css-transitions/support/w3c-import.log (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-background-position-with-edge-offset-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-background-position-with-edge-offset.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-delay-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-delay-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-duration-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-duration-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-property-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-property-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-property-002-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-property-002.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-reparented-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-reparented.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-test-expected.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transition-test.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transitioncancel-001-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transitioncancel-001.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transitionevent-interface-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/transitionevent-interface.html (added)
-
imported/w3c/web-platform-tests/css/css-transitions/w3c-import.log (added)
-
imported/w3c/web-platform-tests/css/css-transitions/zero-duration-multiple-transition-expected.txt (added)
-
imported/w3c/web-platform-tests/css/css-transitions/zero-duration-multiple-transition.html (added)
-
imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/property-types.js (modified) (2 diffs)
-
imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/w3c-import.log (added)
-
imported/w3c/web-platform-tests/web-animations/animation-model/combining-effects/w3c-import.log (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log ) (2 diffs)
-
imported/w3c/web-platform-tests/web-animations/animation-model/keyframe-effects/w3c-import.log (added)
-
imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/w3c-import.log (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log ) (2 diffs)
-
imported/w3c/web-platform-tests/web-animations/interfaces/Animation/idlharness.window-expected.txt (added)
-
imported/w3c/web-platform-tests/web-animations/interfaces/Animation/idlharness.window.html (added)
-
imported/w3c/web-platform-tests/web-animations/interfaces/Animation/oncancel.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/web-animations/interfaces/Animation/w3c-import.log (added)
-
imported/w3c/web-platform-tests/web-animations/interfaces/AnimationEffect/w3c-import.log (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log ) (2 diffs)
-
imported/w3c/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/idlharness.window-expected.txt (added)
-
imported/w3c/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/idlharness.window.html (added)
-
imported/w3c/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/w3c-import.log (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log ) (2 diffs)
-
imported/w3c/web-platform-tests/web-animations/interfaces/Document/getAnimations-expected.txt (modified) (1 diff)
-
imported/w3c/web-platform-tests/web-animations/interfaces/Document/getAnimations.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/web-animations/interfaces/Document/w3c-import.log (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log ) (2 diffs)
-
imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/idlharness.window-expected.txt (added)
-
imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/idlharness.window.html (added)
-
imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/w3c-import.log (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log ) (2 diffs)
-
imported/w3c/web-platform-tests/web-animations/interfaces/KeyframeEffect/idlharness.window-expected.txt (added)
-
imported/w3c/web-platform-tests/web-animations/interfaces/KeyframeEffect/idlharness.window.html (added)
-
imported/w3c/web-platform-tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001-expected.txt (modified) (2 diffs)
-
imported/w3c/web-platform-tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001.html (modified) (1 diff)
-
imported/w3c/web-platform-tests/web-animations/interfaces/KeyframeEffect/w3c-import.log (added)
-
imported/w3c/web-platform-tests/web-animations/resources/w3c-import.log (added)
-
imported/w3c/web-platform-tests/web-animations/timing-model/animation-effects/w3c-import.log (added)
-
imported/w3c/web-platform-tests/web-animations/timing-model/animations/w3c-import.log (added)
-
imported/w3c/web-platform-tests/web-animations/timing-model/time-transformations/w3c-import.log (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log ) (2 diffs)
-
imported/w3c/web-platform-tests/web-animations/timing-model/timelines/w3c-import.log (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log ) (2 diffs)
-
imported/w3c/web-platform-tests/web-animations/w3c-import.log (copied) (copied from trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log ) (2 diffs)
-
platform/gtk/TestExpectations (modified) (3 diffs)
-
platform/gtk/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt (modified) (1 diff)
-
platform/gtk/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt (modified) (1 diff)
-
platform/ios/TestExpectations (modified) (1 diff)
-
platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt (modified) (1 diff)
-
platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt (modified) (1 diff)
-
platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt (modified) (1 diff)
-
platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt (modified) (1 diff)
-
platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt (modified) (1 diff)
-
platform/mac-wk1/TestExpectations (modified) (1 diff)
-
platform/win/TestExpectations (modified) (3 diffs)
-
platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt (modified) (1 diff)
-
platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt (modified) (1 diff)
-
tests-options.json (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r251586 r251591 1 2019-10-25 Antoine Quint <graouts@apple.com> 2 3 [Web Animations] Update WPT tests related to Web Animations and remove imported Mozilla tests 4 https://bugs.webkit.org/show_bug.cgi?id=203291 5 <rdar://problem/56577481> 6 7 Reviewed by Youenn Fablet. 8 9 * TestExpectations: 10 * platform/gtk/TestExpectations: 11 * platform/gtk/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: 12 * platform/gtk/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: 13 * platform/ios/TestExpectations: 14 * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: 15 * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: 16 * platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt: 17 * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: 18 * platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: 19 * platform/mac-wk1/TestExpectations: 20 * platform/win/TestExpectations: 21 * platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: 22 * platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: 23 * tests-options.json: 24 1 25 2019-10-25 Chris Dumez <cdumez@apple.com> 2 26 -
trunk/LayoutTests/TestExpectations
r251580 r251591 2802 2802 webkit.org/b/202108 imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/style-change-events.html [ Pass Failure ] 2803 2803 webkit.org/b/202109 imported/w3c/web-platform-tests/web-animations/timing-model/timelines/update-and-send-events.html [ Pass Failure ] 2804 2805 webkit.org/b/183836 imported/mozilla/css-animations/test_animations-dynamic-changes.html [ Pass Failure Timeout ]2806 webkit.org/b/183844 imported/mozilla/css-animations/test_element-get-animations.html [ Pass Failure Timeout ]2807 webkit.org/b/183846 imported/mozilla/css-transitions/test_pseudoElement-get-animations.html [ Pass Failure Timeout ]2808 webkit.org/b/183847 imported/mozilla/css-animations/test_event-order.html [ Pass Failure Timeout ]2809 2810 webkit.org/b/183848 imported/mozilla/css-animations/test_keyframeeffect-getkeyframes.html [ Skip ]2811 2804 2812 2805 webkit.org/b/157068 [ Debug ] imported/w3c/web-platform-tests/fetch/nosniff/importscripts.html [ Pass Crash ] … … 3886 3879 webkit.org/b/200209 imported/w3c/web-platform-tests/css/css-images/multiple-position-color-stop-radial.html [ ImageOnlyFailure ] 3887 3880 3881 webkit.org/b/203296 imported/w3c/web-platform-tests/css/css-animations/keyframes-remove-documentElement-crash.html [ Skip ] 3882 webkit.org/b/203304 imported/w3c/web-platform-tests/css/css-animations/animation-opacity-pause-and-set-time.html [ ImageOnlyFailure ] 3883 webkit.org/b/203304 imported/w3c/web-platform-tests/css/css-animations/animation-transform-pause-and-set-time.html [ ImageOnlyFailure ] 3884 webkit.org/b/203305 imported/w3c/web-platform-tests/css/css-transitions/properties-value-001.html [ Pass Failure ] 3885 webkit.org/b/203305 imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-001.html [ Pass Failure ] 3886 webkit.org/b/203305 imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-002.html [ Pass Failure ] 3887 webkit.org/b/203356 imported/w3c/web-platform-tests/css/css-transitions/properties-value-003.html [ Pass Timeout ] 3888 webkit.org/b/203357 imported/w3c/web-platform-tests/css/css-transitions/event-dispatch.tentative.html [ Pass Failure ] 3889 3888 3890 # wpt css-values failures 3889 3891 webkit.org/b/203320 imported/w3c/web-platform-tests/css/css-values/percentage-rem-low.html [ ImageOnlyFailure ] -
trunk/LayoutTests/imported/mozilla/ChangeLog
r251573 r251591 1 2019-10-25 Antoine Quint <graouts@apple.com> 2 3 [Web Animations] Update WPT tests related to Web Animations and remove imported Mozilla tests 4 https://bugs.webkit.org/show_bug.cgi?id=203291 5 <rdar://problem/56577481> 6 7 Reviewed by Youenn Fablet. 8 9 * css-animations/test_animation-cancel-expected.txt: Removed. 10 * css-animations/test_animation-cancel.html: Removed. 11 * css-animations/test_animation-currenttime-expected.txt: Removed. 12 * css-animations/test_animation-currenttime.html: Removed. 13 * css-animations/test_animation-finish-expected.txt: Removed. 14 * css-animations/test_animation-finish.html: Removed. 15 * css-animations/test_animation-finished-expected.txt: Removed. 16 * css-animations/test_animation-finished.html: Removed. 17 * css-animations/test_animation-id.html: Removed. 18 * css-animations/test_animation-pausing.html: Removed. 19 * css-animations/test_animation-playstate.html: Removed. 20 * css-animations/test_animation-ready.html: Removed. 21 * css-animations/test_animation-reverse-expected.txt: Removed. 22 * css-animations/test_animation-reverse.html: Removed. 23 * css-animations/test_animation-starttime-expected.txt: Removed. 24 * css-animations/test_animation-starttime.html: Removed. 25 * css-animations/test_animations-dynamic-changes.html: Removed. 26 * css-animations/test_event-dispatch.html: Removed. 27 * css-animations/test_event-order-expected.txt: Removed. 28 * css-animations/test_event-order.html: Removed. 29 * css-animations/test_setting-effect.html: Removed. 30 * css-transitions/test_animation-cancel.html: Removed. 31 * css-transitions/test_animation-currenttime-expected.txt: Removed. 32 * css-transitions/test_animation-currenttime.html: Removed. 33 * css-transitions/test_animation-finished-expected.txt: Removed. 34 * css-transitions/test_animation-finished.html: Removed. 35 * css-transitions/test_animation-pausing-expected.txt: Removed. 36 * css-transitions/test_animation-pausing.html: Removed. 37 * css-transitions/test_animation-ready-expected.txt: Removed. 38 * css-transitions/test_animation-ready.html: Removed. 39 * css-transitions/test_animation-starttime-expected.txt: Removed. 40 * css-transitions/test_animation-starttime.html: Removed. 41 * css-transitions/test_csstransition-transitionproperty.html: Removed. 42 * css-transitions/test_document-get-animations-expected.txt: Removed. 43 * css-transitions/test_document-get-animations.html: Removed. 44 * css-transitions/test_element-get-animations-expected.txt: Removed. 45 * css-transitions/test_element-get-animations.html: Removed. 46 * css-transitions/test_event-dispatch.html: Removed. 47 * css-transitions/test_keyframeeffect-getkeyframes-expected.txt: Removed. 48 * css-transitions/test_keyframeeffect-getkeyframes.html: Removed. 49 * css-transitions/test_setting-effect-expected.txt: Removed. 50 * css-transitions/test_setting-effect.html: Removed. 51 1 52 2019-10-24 Russell Epstein <repstein@apple.com> 2 53 -
trunk/LayoutTests/imported/w3c/ChangeLog
r251573 r251591 1 2019-10-25 Antoine Quint <graouts@apple.com> 2 3 [Web Animations] Update WPT tests related to Web Animations and remove imported Mozilla tests 4 https://bugs.webkit.org/show_bug.cgi?id=203291 5 <rdar://problem/56577481> 6 7 Reviewed by Youenn Fablet. 8 9 * resources/import-expectations.json: 10 * web-platform-tests/css/css-animations/AnimationEffect-getComputedTiming.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_animation-computed-timing-expected.txt. 11 * web-platform-tests/css/css-animations/AnimationEffect-getComputedTiming.tentative.html: Renamed from LayoutTests/imported/mozilla/css-animations/test_animation-computed-timing.html. 12 * web-platform-tests/css/css-animations/CSSAnimation-animationName.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_cssanimation-animationname-expected.txt. 13 * web-platform-tests/css/css-animations/CSSAnimation-animationName.tentative.html: Renamed from LayoutTests/imported/mozilla/css-animations/test_cssanimation-animationname.html. 14 * web-platform-tests/css/css-animations/CSSAnimation-canceling.tentative-expected.txt: Added. 15 * web-platform-tests/css/css-animations/CSSAnimation-canceling.tentative.html: Added. 16 * web-platform-tests/css/css-animations/CSSAnimation-effect.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_setting-effect-expected.txt. 17 * web-platform-tests/css/css-animations/CSSAnimation-effect.tentative.html: Added. 18 * web-platform-tests/css/css-animations/CSSAnimation-finished.tentative-expected.txt: Added. 19 * web-platform-tests/css/css-animations/CSSAnimation-finished.tentative.html: Added. 20 * web-platform-tests/css/css-animations/CSSAnimation-getCurrentTime.tentative-expected.txt: Added. 21 * web-platform-tests/css/css-animations/CSSAnimation-getCurrentTime.tentative.html: Added. 22 * web-platform-tests/css/css-animations/CSSAnimation-id.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_animation-id-expected.txt. 23 * web-platform-tests/css/css-animations/CSSAnimation-id.tentative.html: Added. 24 * web-platform-tests/css/css-animations/CSSAnimation-pausing.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_animation-pausing-expected.txt. 25 * web-platform-tests/css/css-animations/CSSAnimation-pausing.tentative.html: Added. 26 * web-platform-tests/css/css-animations/CSSAnimation-playState.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_animation-playstate-expected.txt. 27 * web-platform-tests/css/css-animations/CSSAnimation-playState.tentative.html: Added. 28 * web-platform-tests/css/css-animations/CSSAnimation-ready.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_animation-ready-expected.txt. 29 * web-platform-tests/css/css-animations/CSSAnimation-ready.tentative.html: Added. 30 * web-platform-tests/css/css-animations/CSSAnimation-startTime.tentative-expected.txt: Added. 31 * web-platform-tests/css/css-animations/CSSAnimation-startTime.tentative.html: Added. 32 * web-platform-tests/css/css-animations/CSSPseudoElement-getAnimations.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_pseudoElement-get-animations-expected.txt. 33 * web-platform-tests/css/css-animations/CSSPseudoElement-getAnimations.tentative.html: Renamed from LayoutTests/imported/mozilla/css-animations/test_pseudoElement-get-animations.html. 34 * web-platform-tests/css/css-animations/Document-getAnimations.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_document-get-animations-expected.txt. 35 * web-platform-tests/css/css-animations/Document-getAnimations.tentative.html: Renamed from LayoutTests/imported/mozilla/css-animations/test_document-get-animations.html. 36 * web-platform-tests/css/css-animations/Element-getAnimations-dynamic-changes.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_animations-dynamic-changes-expected.txt. 37 * web-platform-tests/css/css-animations/Element-getAnimations-dynamic-changes.tentative.html: Added. 38 * web-platform-tests/css/css-animations/Element-getAnimations.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_element-get-animations-expected.txt. 39 * web-platform-tests/css/css-animations/Element-getAnimations.tentative.html: Renamed from LayoutTests/imported/mozilla/css-animations/test_element-get-animations.html. 40 * web-platform-tests/css/css-animations/KeyframeEffect-getKeyframes.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_keyframeeffect-getkeyframes-expected.txt. 41 * web-platform-tests/css/css-animations/KeyframeEffect-getKeyframes.tentative.html: Renamed from LayoutTests/imported/mozilla/css-animations/test_keyframeeffect-getkeyframes.html. 42 * web-platform-tests/css/css-animations/KeyframeEffect-target.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_effect-target-expected.txt. 43 * web-platform-tests/css/css-animations/KeyframeEffect-target.tentative.html: Renamed from LayoutTests/imported/mozilla/css-animations/test_effect-target.html. 44 * web-platform-tests/css/css-animations/META.yml: Added. 45 * web-platform-tests/css/css-animations/OWNERS: Removed. 46 * web-platform-tests/css/css-animations/animation-opacity-pause-and-set-time-expected.html: Added. 47 * web-platform-tests/css/css-animations/animation-opacity-pause-and-set-time.html: Added. 48 * web-platform-tests/css/css-animations/animation-pseudo-dynamic-001-expected.html: Added. 49 * web-platform-tests/css/css-animations/animation-pseudo-dynamic-001.html: Added. 50 * web-platform-tests/css/css-animations/animation-transform-pause-and-set-time-expected.html: Added. 51 * web-platform-tests/css/css-animations/animation-transform-pause-and-set-time.html: Added. 52 * web-platform-tests/css/css-animations/animationevent-interface-expected.txt: 53 * web-platform-tests/css/css-animations/animationevent-interface.js: 54 (test): 55 (test.): 56 * web-platform-tests/css/css-animations/animationevent-marker-pseudoelement-expected.txt: Added. 57 * web-platform-tests/css/css-animations/animationevent-marker-pseudoelement.html: Added. 58 * web-platform-tests/css/css-animations/computed-style-animation-parsing-expected.txt: Added. 59 * web-platform-tests/css/css-animations/computed-style-animation-parsing.html: Added. 60 * web-platform-tests/css/css-animations/event-dispatch.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-animations/test_event-dispatch-expected.txt. 61 * web-platform-tests/css/css-animations/event-dispatch.tentative.html: Added. 62 * web-platform-tests/css/css-animations/event-order.tentative-expected.txt: Added. 63 * web-platform-tests/css/css-animations/event-order.tentative.html: Added. 64 * web-platform-tests/css/css-animations/historical-expected.txt: Added. 65 * web-platform-tests/css/css-animations/historical.html: Added. 66 * web-platform-tests/css/css-animations/idlharness-expected.txt: Added. 67 * web-platform-tests/css/css-animations/idlharness.html: Added. 68 * web-platform-tests/css/css-animations/inheritance-expected.txt: Added. 69 * web-platform-tests/css/css-animations/inheritance.html: Added. 70 * web-platform-tests/css/css-animations/keyframes-remove-documentElement-crash-expected.txt: Added. 71 * web-platform-tests/css/css-animations/keyframes-remove-documentElement-crash.html: Added. 72 * web-platform-tests/css/css-animations/parsing/animation-computed-expected.txt: Added. 73 * web-platform-tests/css/css-animations/parsing/animation-computed.html: Added. 74 * web-platform-tests/css/css-animations/parsing/animation-delay-computed-expected.txt: Added. 75 * web-platform-tests/css/css-animations/parsing/animation-delay-computed.html: Added. 76 * web-platform-tests/css/css-animations/parsing/animation-delay-invalid-expected.txt: Added. 77 * web-platform-tests/css/css-animations/parsing/animation-delay-invalid.html: Added. 78 * web-platform-tests/css/css-animations/parsing/animation-delay-valid-expected.txt: Added. 79 * web-platform-tests/css/css-animations/parsing/animation-delay-valid.html: Added. 80 * web-platform-tests/css/css-animations/parsing/animation-direction-computed-expected.txt: Added. 81 * web-platform-tests/css/css-animations/parsing/animation-direction-computed.html: Added. 82 * web-platform-tests/css/css-animations/parsing/animation-direction-invalid-expected.txt: Added. 83 * web-platform-tests/css/css-animations/parsing/animation-direction-invalid.html: Added. 84 * web-platform-tests/css/css-animations/parsing/animation-direction-valid-expected.txt: Added. 85 * web-platform-tests/css/css-animations/parsing/animation-direction-valid.html: Added. 86 * web-platform-tests/css/css-animations/parsing/animation-duration-computed-expected.txt: Added. 87 * web-platform-tests/css/css-animations/parsing/animation-duration-computed.html: Added. 88 * web-platform-tests/css/css-animations/parsing/animation-duration-invalid-expected.txt: Added. 89 * web-platform-tests/css/css-animations/parsing/animation-duration-invalid.html: Added. 90 * web-platform-tests/css/css-animations/parsing/animation-duration-valid-expected.txt: Added. 91 * web-platform-tests/css/css-animations/parsing/animation-duration-valid.html: Added. 92 * web-platform-tests/css/css-animations/parsing/animation-fill-mode-computed-expected.txt: Added. 93 * web-platform-tests/css/css-animations/parsing/animation-fill-mode-computed.html: Added. 94 * web-platform-tests/css/css-animations/parsing/animation-fill-mode-invalid-expected.txt: Added. 95 * web-platform-tests/css/css-animations/parsing/animation-fill-mode-invalid.html: Added. 96 * web-platform-tests/css/css-animations/parsing/animation-fill-mode-valid-expected.txt: Added. 97 * web-platform-tests/css/css-animations/parsing/animation-fill-mode-valid.html: Added. 98 * web-platform-tests/css/css-animations/parsing/animation-invalid-expected.txt: Added. 99 * web-platform-tests/css/css-animations/parsing/animation-invalid.html: Added. 100 * web-platform-tests/css/css-animations/parsing/animation-iteration-count-computed-expected.txt: Added. 101 * web-platform-tests/css/css-animations/parsing/animation-iteration-count-computed.html: Added. 102 * web-platform-tests/css/css-animations/parsing/animation-iteration-count-invalid-expected.txt: Added. 103 * web-platform-tests/css/css-animations/parsing/animation-iteration-count-invalid.html: Added. 104 * web-platform-tests/css/css-animations/parsing/animation-iteration-count-valid-expected.txt: Added. 105 * web-platform-tests/css/css-animations/parsing/animation-iteration-count-valid.html: Added. 106 * web-platform-tests/css/css-animations/parsing/animation-name-computed-expected.txt: Added. 107 * web-platform-tests/css/css-animations/parsing/animation-name-computed.html: Added. 108 * web-platform-tests/css/css-animations/parsing/animation-name-invalid-expected.txt: Added. 109 * web-platform-tests/css/css-animations/parsing/animation-name-invalid.html: Added. 110 * web-platform-tests/css/css-animations/parsing/animation-name-valid-expected.txt: Added. 111 * web-platform-tests/css/css-animations/parsing/animation-name-valid.html: Added. 112 * web-platform-tests/css/css-animations/parsing/animation-play-state-computed-expected.txt: Added. 113 * web-platform-tests/css/css-animations/parsing/animation-play-state-computed.html: Added. 114 * web-platform-tests/css/css-animations/parsing/animation-play-state-invalid-expected.txt: Added. 115 * web-platform-tests/css/css-animations/parsing/animation-play-state-invalid.html: Added. 116 * web-platform-tests/css/css-animations/parsing/animation-play-state-valid-expected.txt: Added. 117 * web-platform-tests/css/css-animations/parsing/animation-play-state-valid.html: Added. 118 * web-platform-tests/css/css-animations/parsing/animation-shorthand-expected.txt: Added. 119 * web-platform-tests/css/css-animations/parsing/animation-shorthand.html: Added. 120 * web-platform-tests/css/css-animations/parsing/animation-timing-function-computed-expected.txt: Added. 121 * web-platform-tests/css/css-animations/parsing/animation-timing-function-computed.html: Added. 122 * web-platform-tests/css/css-animations/parsing/animation-timing-function-invalid-expected.txt: Added. 123 * web-platform-tests/css/css-animations/parsing/animation-timing-function-invalid.html: Added. 124 * web-platform-tests/css/css-animations/parsing/animation-timing-function-valid-expected.txt: Added. 125 * web-platform-tests/css/css-animations/parsing/animation-timing-function-valid.html: Added. 126 * web-platform-tests/css/css-animations/parsing/animation-valid-expected.txt: Added. 127 * web-platform-tests/css/css-animations/parsing/animation-valid.html: Added. 128 * web-platform-tests/css/css-animations/parsing/w3c-import.log: Added. 129 * web-platform-tests/css/css-animations/responsive/column-rule-color-001-expected.txt: Added. 130 * web-platform-tests/css/css-animations/responsive/column-rule-color-001.html: Added. 131 * web-platform-tests/css/css-animations/responsive/column-width-001-expected.txt: Added. 132 * web-platform-tests/css/css-animations/responsive/column-width-001.html: Added. 133 * web-platform-tests/css/css-animations/responsive/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log. 134 * web-platform-tests/css/css-animations/style-animation-parsing-expected.txt: Added. 135 * web-platform-tests/css/css-animations/style-animation-parsing.html: Added. 136 * web-platform-tests/css/css-animations/support/testcommon.js: 137 * web-platform-tests/css/css-animations/support/w3c-import.log: 138 * web-platform-tests/css/css-animations/w3c-import.log: 139 * web-platform-tests/css/css-transitions/AnimationEffect-getComputedTiming.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-transitions/test_animation-computed-timing-expected.txt. 140 * web-platform-tests/css/css-transitions/AnimationEffect-getComputedTiming.tentative.html: Renamed from LayoutTests/imported/mozilla/css-transitions/test_animation-computed-timing.html. 141 * web-platform-tests/css/css-transitions/CSSPseudoElement-getAnimations.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-transitions/test_pseudoElement-get-animations-expected.txt. 142 * web-platform-tests/css/css-transitions/CSSPseudoElement-getAnimations.tentative.html: Renamed from LayoutTests/imported/mozilla/css-transitions/test_pseudoElement-get-animations.html. 143 * web-platform-tests/css/css-transitions/CSSTransition-canceling.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-transitions/test_animation-cancel-expected.txt. 144 * web-platform-tests/css/css-transitions/CSSTransition-canceling.tentative.html: Added. 145 * web-platform-tests/css/css-transitions/CSSTransition-currentTime.tentative-expected.txt: Added. 146 * web-platform-tests/css/css-transitions/CSSTransition-currentTime.tentative.html: Added. 147 * web-platform-tests/css/css-transitions/CSSTransition-effect.tentative-expected.txt: Added. 148 * web-platform-tests/css/css-transitions/CSSTransition-effect.tentative.html: Added. 149 * web-platform-tests/css/css-transitions/CSSTransition-finished.tentative-expected.txt: Added. 150 * web-platform-tests/css/css-transitions/CSSTransition-finished.tentative.html: Added. 151 * web-platform-tests/css/css-transitions/CSSTransition-ready.tentative-expected.txt: Added. 152 * web-platform-tests/css/css-transitions/CSSTransition-ready.tentative.html: Added. 153 * web-platform-tests/css/css-transitions/CSSTransition-startTime.tentative-expected.txt: Added. 154 * web-platform-tests/css/css-transitions/CSSTransition-startTime.tentative.html: Added. 155 * web-platform-tests/css/css-transitions/CSSTransition-transitionProperty.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-transitions/test_csstransition-transitionproperty-expected.txt. 156 * web-platform-tests/css/css-transitions/CSSTransition-transitionProperty.tentative.html: Added. 157 * web-platform-tests/css/css-transitions/Document-getAnimations.tentative-expected.txt: Added. 158 * web-platform-tests/css/css-transitions/Document-getAnimations.tentative.html: Added. 159 * web-platform-tests/css/css-transitions/Element-getAnimations.tentative-expected.txt: Added. 160 * web-platform-tests/css/css-transitions/Element-getAnimations.tentative.html: Added. 161 * web-platform-tests/css/css-transitions/KeyframeEffect-getKeyframes.tentative-expected.txt: Added. 162 * web-platform-tests/css/css-transitions/KeyframeEffect-getKeyframes.tentative.html: Added. 163 * web-platform-tests/css/css-transitions/KeyframeEffect-target.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-transitions/test_effect-target-expected.txt. 164 * web-platform-tests/css/css-transitions/KeyframeEffect-target.tentative.html: Renamed from LayoutTests/imported/mozilla/css-transitions/test_effect-target.html. 165 * web-platform-tests/css/css-transitions/META.yml: Added. 166 * web-platform-tests/css/css-transitions/README.md: Added. 167 * web-platform-tests/css/css-transitions/before-load-001-expected.txt: Added. 168 * web-platform-tests/css/css-transitions/before-load-001.html: Added. 169 * web-platform-tests/css/css-transitions/changing-while-transition-001-expected.txt: Added. 170 * web-platform-tests/css/css-transitions/changing-while-transition-001.html: Added. 171 * web-platform-tests/css/css-transitions/changing-while-transition-002-expected.txt: Added. 172 * web-platform-tests/css/css-transitions/changing-while-transition-002.html: Added. 173 * web-platform-tests/css/css-transitions/changing-while-transition-003-expected.txt: Added. 174 * web-platform-tests/css/css-transitions/changing-while-transition-003.html: Added. 175 * web-platform-tests/css/css-transitions/currentcolor-animation-001-expected.txt: Added. 176 * web-platform-tests/css/css-transitions/currentcolor-animation-001.html: Added. 177 * web-platform-tests/css/css-transitions/disconnected-element-001-expected.txt: Added. 178 * web-platform-tests/css/css-transitions/disconnected-element-001.html: Added. 179 * web-platform-tests/css/css-transitions/event-dispatch.tentative-expected.txt: Renamed from LayoutTests/imported/mozilla/css-transitions/test_event-dispatch-expected.txt. 180 * web-platform-tests/css/css-transitions/event-dispatch.tentative.html: Added. 181 * web-platform-tests/css/css-transitions/events-001-expected.txt: Added. 182 * web-platform-tests/css/css-transitions/events-001.html: Added. 183 * web-platform-tests/css/css-transitions/events-002-expected.txt: Added. 184 * web-platform-tests/css/css-transitions/events-002.html: Added. 185 * web-platform-tests/css/css-transitions/events-003-expected.txt: Added. 186 * web-platform-tests/css/css-transitions/events-003.html: Added. 187 * web-platform-tests/css/css-transitions/events-004-expected.txt: Added. 188 * web-platform-tests/css/css-transitions/events-004.html: Added. 189 * web-platform-tests/css/css-transitions/events-005-expected.txt: Added. 190 * web-platform-tests/css/css-transitions/events-005.html: Added. 191 * web-platform-tests/css/css-transitions/events-006-expected.txt: Added. 192 * web-platform-tests/css/css-transitions/events-006.html: Added. 193 * web-platform-tests/css/css-transitions/events-007-expected.txt: Added. 194 * web-platform-tests/css/css-transitions/events-007.html: Added. 195 * web-platform-tests/css/css-transitions/historical-expected.txt: Added. 196 * web-platform-tests/css/css-transitions/historical.html: Added. 197 * web-platform-tests/css/css-transitions/idlharness-expected.txt: Added. 198 * web-platform-tests/css/css-transitions/idlharness.html: Added. 199 * web-platform-tests/css/css-transitions/inherit-height-transition-expected.txt: Added. 200 * web-platform-tests/css/css-transitions/inherit-height-transition.html: Added. 201 * web-platform-tests/css/css-transitions/inheritance-expected.txt: Added. 202 * web-platform-tests/css/css-transitions/inheritance.html: Added. 203 * web-platform-tests/css/css-transitions/no-transition-from-ua-to-blocking-stylesheet-expected.html: Added. 204 * web-platform-tests/css/css-transitions/no-transition-from-ua-to-blocking-stylesheet.html: Added. 205 * web-platform-tests/css/css-transitions/non-rendered-element-001-expected.txt: Added. 206 * web-platform-tests/css/css-transitions/non-rendered-element-001.html: Added. 207 * web-platform-tests/css/css-transitions/non-rendered-element-002-expected.txt: Added. 208 * web-platform-tests/css/css-transitions/non-rendered-element-002.html: Added. 209 * web-platform-tests/css/css-transitions/parsing/transition-computed-expected.txt: Added. 210 * web-platform-tests/css/css-transitions/parsing/transition-computed.html: Added. 211 * web-platform-tests/css/css-transitions/parsing/transition-delay-computed-expected.txt: Added. 212 * web-platform-tests/css/css-transitions/parsing/transition-delay-computed.html: Added. 213 * web-platform-tests/css/css-transitions/parsing/transition-delay-invalid-expected.txt: Added. 214 * web-platform-tests/css/css-transitions/parsing/transition-delay-invalid.html: Added. 215 * web-platform-tests/css/css-transitions/parsing/transition-delay-valid-expected.txt: Added. 216 * web-platform-tests/css/css-transitions/parsing/transition-delay-valid.html: Added. 217 * web-platform-tests/css/css-transitions/parsing/transition-duration-computed-expected.txt: Added. 218 * web-platform-tests/css/css-transitions/parsing/transition-duration-computed.html: Added. 219 * web-platform-tests/css/css-transitions/parsing/transition-duration-invalid-expected.txt: Added. 220 * web-platform-tests/css/css-transitions/parsing/transition-duration-invalid.html: Added. 221 * web-platform-tests/css/css-transitions/parsing/transition-duration-valid-expected.txt: Added. 222 * web-platform-tests/css/css-transitions/parsing/transition-duration-valid.html: Added. 223 * web-platform-tests/css/css-transitions/parsing/transition-invalid-expected.txt: Added. 224 * web-platform-tests/css/css-transitions/parsing/transition-invalid.html: Added. 225 * web-platform-tests/css/css-transitions/parsing/transition-property-computed-expected.txt: Added. 226 * web-platform-tests/css/css-transitions/parsing/transition-property-computed.html: Added. 227 * web-platform-tests/css/css-transitions/parsing/transition-property-invalid-expected.txt: Added. 228 * web-platform-tests/css/css-transitions/parsing/transition-property-invalid.html: Added. 229 * web-platform-tests/css/css-transitions/parsing/transition-property-valid-expected.txt: Added. 230 * web-platform-tests/css/css-transitions/parsing/transition-property-valid.html: Added. 231 * web-platform-tests/css/css-transitions/parsing/transition-shorthand-expected.txt: Added. 232 * web-platform-tests/css/css-transitions/parsing/transition-shorthand.html: Added. 233 * web-platform-tests/css/css-transitions/parsing/transition-timing-function-computed-expected.txt: Added. 234 * web-platform-tests/css/css-transitions/parsing/transition-timing-function-computed.html: Added. 235 * web-platform-tests/css/css-transitions/parsing/transition-timing-function-invalid-expected.txt: Added. 236 * web-platform-tests/css/css-transitions/parsing/transition-timing-function-invalid.html: Added. 237 * web-platform-tests/css/css-transitions/parsing/transition-timing-function-valid-expected.txt: Added. 238 * web-platform-tests/css/css-transitions/parsing/transition-timing-function-valid.html: Added. 239 * web-platform-tests/css/css-transitions/parsing/transition-valid-expected.txt: Added. 240 * web-platform-tests/css/css-transitions/parsing/transition-valid.html: Added. 241 * web-platform-tests/css/css-transitions/parsing/w3c-import.log: Added. 242 * web-platform-tests/css/css-transitions/properties-value-001-expected.txt: Added. 243 * web-platform-tests/css/css-transitions/properties-value-001.html: Added. 244 * web-platform-tests/css/css-transitions/properties-value-002-expected.txt: Added. 245 * web-platform-tests/css/css-transitions/properties-value-002.html: Added. 246 * web-platform-tests/css/css-transitions/properties-value-003-expected.txt: Added. 247 * web-platform-tests/css/css-transitions/properties-value-003.html: Added. 248 * web-platform-tests/css/css-transitions/properties-value-auto-001-expected.txt: Added. 249 * web-platform-tests/css/css-transitions/properties-value-auto-001.html: Added. 250 * web-platform-tests/css/css-transitions/properties-value-implicit-001-expected.txt: Added. 251 * web-platform-tests/css/css-transitions/properties-value-implicit-001.html: Added. 252 * web-platform-tests/css/css-transitions/properties-value-inherit-001-expected.txt: Added. 253 * web-platform-tests/css/css-transitions/properties-value-inherit-001.html: Added. 254 * web-platform-tests/css/css-transitions/properties-value-inherit-002-expected.txt: Added. 255 * web-platform-tests/css/css-transitions/properties-value-inherit-002.html: Added. 256 * web-platform-tests/css/css-transitions/properties-value-inherit-003-expected.txt: Added. 257 * web-platform-tests/css/css-transitions/properties-value-inherit-003.html: Added. 258 * web-platform-tests/css/css-transitions/pseudo-elements-001-expected.txt: Added. 259 * web-platform-tests/css/css-transitions/pseudo-elements-001.html: Added. 260 * web-platform-tests/css/css-transitions/pseudo-elements-002-expected.txt: Added. 261 * web-platform-tests/css/css-transitions/pseudo-elements-002.html: Added. 262 * web-platform-tests/css/css-transitions/starting-of-transitions-001-expected.txt: Added. 263 * web-platform-tests/css/css-transitions/starting-of-transitions-001.html: Added. 264 * web-platform-tests/css/css-transitions/support/1x1-green.png: Added. 265 * web-platform-tests/css/css-transitions/support/1x1-lime.png: Added. 266 * web-platform-tests/css/css-transitions/support/1x1-maroon.png: Added. 267 * web-platform-tests/css/css-transitions/support/1x1-navy.png: Added. 268 * web-platform-tests/css/css-transitions/support/1x1-red.png: Added. 269 * web-platform-tests/css/css-transitions/support/1x1-white.png: Added. 270 * web-platform-tests/css/css-transitions/support/60x60-gg-rr.png: Added. 271 * web-platform-tests/css/css-transitions/support/60x60-green.png: Added. 272 * web-platform-tests/css/css-transitions/support/60x60-red.png: Added. 273 * web-platform-tests/css/css-transitions/support/README: Added. 274 * web-platform-tests/css/css-transitions/support/a-green-transition.css: Added. 275 (.a): 276 * web-platform-tests/css/css-transitions/support/a-green.css: Added. 277 (.a): 278 * web-platform-tests/css/css-transitions/support/b-green.css: Added. 279 (.b): 280 * web-platform-tests/css/css-transitions/support/c-red.css: Added. 281 (.c): 282 * web-platform-tests/css/css-transitions/support/cat.png: Added. 283 * web-platform-tests/css/css-transitions/support/generalParallelTest.js: Added. 284 (suite.root.generalParallelTest.setup): 285 (suite.root.generalParallelTest.data.transition.computedStyle): 286 (suite.root.generalParallelTest.data.container.computedStyle): 287 (suite.root.generalParallelTest.data.pseudo.computedStyle): 288 (suite.root.generalParallelTest._setupDom): 289 (suite.root.generalParallelTest.): 290 (suite.root.generalParallelTest._setupEvents): 291 (suite.root.generalParallelTest.teardown): 292 (suite.root.generalParallelTest.sliceStart): 293 (suite.root.generalParallelTest.sliceDone): 294 (suite.root.generalParallelTest.done): 295 (suite.root.generalParallelTest.addStyles): 296 (suite.root.generalParallelTest.getStyle): 297 (suite.root.generalParallelTest._getStyleFor): 298 (suite.root.generalParallelTest._addClass): 299 (suite.root.generalParallelTest._removeClass): 300 (suite.root.generalParallelTest.startTransition): 301 (suite.root.generalParallelTest.runLoop): 302 (suite.root.generalParallelTest.startValueCollection): 303 (suite.root.generalParallelTest.stopValueCollection): 304 (suite.root.generalParallelTest.assertExpectedEventsFunc): 305 (suite.root.generalParallelTest.assertIntermediateValuesFunc): 306 * web-platform-tests/css/css-transitions/support/helper.js: Added. 307 (root.setStyle): 308 (serializeStyles): 309 (root.computedStyle): 310 (root.reflow): 311 (root.extend): 312 (root.domFixture): 313 (root.assert_times_equal): 314 (root.assert_time_equals_literal): 315 (root.assert_end_events_equal): 316 (root.assert_end_event_batch_equal): 317 (root.addDiv): 318 (root.addStyle): 319 (root.waitForFrame): 320 (root.waitForAnimationFrames.return.new.Promise): 321 (root.waitForAnimationFrames): 322 (root.frameTimeout): 323 * web-platform-tests/css/css-transitions/support/import-green.css: Added. 324 (.import): 325 * web-platform-tests/css/css-transitions/support/import-red.css: Added. 326 (.import): 327 * web-platform-tests/css/css-transitions/support/one.gif: Added. 328 * web-platform-tests/css/css-transitions/support/pattern-grg-rgr-grg.png: Added. 329 * web-platform-tests/css/css-transitions/support/pattern-grg-rrg-rgg.png: Added. 330 * web-platform-tests/css/css-transitions/support/pattern-rgr-grg-rgr.png: Added. 331 * web-platform-tests/css/css-transitions/support/pattern-tr.png: Added. 332 * web-platform-tests/css/css-transitions/support/properties.js: Added. 333 (values.string_appeared_here): 334 (assemble.): 335 (assemble): 336 (root.getPropertyTests): 337 (root.getMissingPropertyTests): 338 (root.getUnspecifiedPropertyTests): 339 (root.getFontSizeRelativePropertyTests): 340 (root.getAutoPropertyTests): 341 (root.filterPropertyTests): 342 * web-platform-tests/css/css-transitions/support/ruler-h-50%.png: Added. 343 * web-platform-tests/css/css-transitions/support/ruler-h-50px.png: Added. 344 * web-platform-tests/css/css-transitions/support/ruler-v-100px.png: Added. 345 * web-platform-tests/css/css-transitions/support/ruler-v-50px.png: Added. 346 * web-platform-tests/css/css-transitions/support/runParallelAsyncHarness.js: Added. 347 (noop): 348 (runLoop.concludeSlice): 349 (root.runParallelAsyncHarness): 350 * web-platform-tests/css/css-transitions/support/square-purple.png: Added. 351 * web-platform-tests/css/css-transitions/support/square-teal.png: Added. 352 * web-platform-tests/css/css-transitions/support/square-white.png: Added. 353 * web-platform-tests/css/css-transitions/support/support/README: Added. 354 * web-platform-tests/css/css-transitions/support/support/swatch-green.png: Added. 355 * web-platform-tests/css/css-transitions/support/support/swatch-red.png: Added. 356 * web-platform-tests/css/css-transitions/support/support/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log. 357 * web-platform-tests/css/css-transitions/support/swatch-blue.png: Added. 358 * web-platform-tests/css/css-transitions/support/swatch-green.png: Added. 359 * web-platform-tests/css/css-transitions/support/swatch-lime.png: Added. 360 * web-platform-tests/css/css-transitions/support/swatch-orange.png: Added. 361 * web-platform-tests/css/css-transitions/support/swatch-red.png: Added. 362 * web-platform-tests/css/css-transitions/support/swatch-teal.png: Added. 363 * web-platform-tests/css/css-transitions/support/swatch-white.png: Added. 364 * web-platform-tests/css/css-transitions/support/swatch-yellow.png: Added. 365 * web-platform-tests/css/css-transitions/support/test-bl.png: Added. 366 * web-platform-tests/css/css-transitions/support/test-br.png: Added. 367 * web-platform-tests/css/css-transitions/support/test-inner-half-size.png: Added. 368 * web-platform-tests/css/css-transitions/support/test-outer.png: Added. 369 * web-platform-tests/css/css-transitions/support/test-tl.png: Added. 370 * web-platform-tests/css/css-transitions/support/test-tr.png: Added. 371 * web-platform-tests/css/css-transitions/support/two.gif: Added. 372 * web-platform-tests/css/css-transitions/support/vendorPrefix.js: Added. 373 (root.addVendorPrefix): 374 (root.addValueVendorPrefix): 375 (root.getVendorPrefix): 376 (root.getValueVendorPrefix): 377 * web-platform-tests/css/css-transitions/support/w3c-import.log: Added. 378 * web-platform-tests/css/css-transitions/transition-001-expected.txt: Added. 379 * web-platform-tests/css/css-transitions/transition-001.html: Added. 380 * web-platform-tests/css/css-transitions/transition-background-position-with-edge-offset-expected.txt: Added. 381 * web-platform-tests/css/css-transitions/transition-background-position-with-edge-offset.html: Added. 382 * web-platform-tests/css/css-transitions/transition-delay-001-expected.txt: Added. 383 * web-platform-tests/css/css-transitions/transition-delay-001.html: Added. 384 * web-platform-tests/css/css-transitions/transition-duration-001-expected.txt: Added. 385 * web-platform-tests/css/css-transitions/transition-duration-001.html: Added. 386 * web-platform-tests/css/css-transitions/transition-property-001-expected.txt: Added. 387 * web-platform-tests/css/css-transitions/transition-property-001.html: Added. 388 * web-platform-tests/css/css-transitions/transition-property-002-expected.txt: Added. 389 * web-platform-tests/css/css-transitions/transition-property-002.html: Added. 390 * web-platform-tests/css/css-transitions/transition-reparented-expected.txt: Added. 391 * web-platform-tests/css/css-transitions/transition-reparented.html: Added. 392 * web-platform-tests/css/css-transitions/transition-test-expected.html: Added. 393 * web-platform-tests/css/css-transitions/transition-test.html: Added. 394 * web-platform-tests/css/css-transitions/transitioncancel-001-expected.txt: Added. 395 * web-platform-tests/css/css-transitions/transitioncancel-001.html: Added. 396 * web-platform-tests/css/css-transitions/transitionevent-interface-expected.txt: Added. 397 * web-platform-tests/css/css-transitions/transitionevent-interface.html: Added. 398 * web-platform-tests/css/css-transitions/w3c-import.log: Added. 399 * web-platform-tests/css/css-transitions/zero-duration-multiple-transition-expected.txt: Added. 400 * web-platform-tests/css/css-transitions/zero-duration-multiple-transition.html: Added. 401 * web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt: 402 * web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt: 403 * web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt: 404 * web-platform-tests/web-animations/animation-model/animation-types/property-types.js: 405 (const.visibilityType.testAdditionOrAccumulation): 406 (const.filterListType.testInterpolation): 407 * web-platform-tests/web-animations/animation-model/animation-types/w3c-import.log: Added. 408 * web-platform-tests/web-animations/animation-model/combining-effects/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log. 409 * web-platform-tests/web-animations/animation-model/keyframe-effects/w3c-import.log: Added. 410 * web-platform-tests/web-animations/interfaces/Animatable/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log. 411 * web-platform-tests/web-animations/interfaces/Animation/idlharness.window-expected.txt: Added. 412 * web-platform-tests/web-animations/interfaces/Animation/idlharness.window.html: Added. 413 * web-platform-tests/web-animations/interfaces/Animation/oncancel.html: 414 * web-platform-tests/web-animations/interfaces/Animation/w3c-import.log: Added. 415 * web-platform-tests/web-animations/interfaces/AnimationEffect/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log. 416 * web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/idlharness.window-expected.txt: Added. 417 * web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/idlharness.window.html: Added. 418 * web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log. 419 * web-platform-tests/web-animations/interfaces/Document/getAnimations-expected.txt: 420 * web-platform-tests/web-animations/interfaces/Document/getAnimations.html: 421 * web-platform-tests/web-animations/interfaces/Document/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log. 422 * web-platform-tests/web-animations/interfaces/DocumentTimeline/idlharness.window-expected.txt: Added. 423 * web-platform-tests/web-animations/interfaces/DocumentTimeline/idlharness.window.html: Added. 424 * web-platform-tests/web-animations/interfaces/DocumentTimeline/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log. 425 * web-platform-tests/web-animations/interfaces/KeyframeEffect/idlharness.window-expected.txt: Added. 426 * web-platform-tests/web-animations/interfaces/KeyframeEffect/idlharness.window.html: Added. 427 * web-platform-tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001-expected.txt: 428 * web-platform-tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001.html: 429 * web-platform-tests/web-animations/interfaces/KeyframeEffect/w3c-import.log: Added. 430 * web-platform-tests/web-animations/resources/w3c-import.log: Added. 431 * web-platform-tests/web-animations/timing-model/animation-effects/w3c-import.log: Added. 432 * web-platform-tests/web-animations/timing-model/animations/w3c-import.log: Added. 433 * web-platform-tests/web-animations/timing-model/time-transformations/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log. 434 * web-platform-tests/web-animations/timing-model/timelines/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log. 435 * web-platform-tests/web-animations/w3c-import.log: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log. 436 1 437 2019-10-24 Russell Epstein <repstein@apple.com> 2 438 -
trunk/LayoutTests/imported/w3c/resources/import-expectations.json
r251573 r251591 66 66 "web-platform-tests/css/WOFF2": "import", 67 67 "web-platform-tests/css/css-align": "import", 68 "web-platform-tests/css/css-animations": "import", 68 69 "web-platform-tests/css/css-animations/": "import", 69 70 "web-platform-tests/css/css-color": "import", … … 87 88 "web-platform-tests/css/css-shapes/test-plan/index.html": "skip", 88 89 "web-platform-tests/css/css-text": "import", 90 "web-platform-tests/css/css-transitions": "import", 89 91 "web-platform-tests/css/css-ui": "import", 90 92 "web-platform-tests/css/cssom": "import", … … 358 360 "web-platform-tests/wasm": "skip", 359 361 "web-platform-tests/wasm/jsapi": "import", 360 "web-platform-tests/web-animations": " skip",362 "web-platform-tests/web-animations": "import", 361 363 "web-platform-tests/web-nfc": "skip", 362 364 "web-platform-tests/webaudio": "import", -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/AnimationEffect-getComputedTiming.tentative.html
r251590 r251591 1 1 <!doctype html> 2 2 <meta charset=utf-8> 3 <script src="../../../resources/testharness.js"></script> 4 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../resources/testcommon.js"></script> 3 <title>AnimationEffect.getComputedTiming() for CSS animations</title> 4 <!-- TODO: Add a more specific link for this once it is specified. --> 5 <link rel="help" href="https://drafts.csswg.org/css-animations-2/#cssanimation"> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src="support/testcommon.js"></script> 6 9 <style> 7 10 @keyframes moveAnimation { … … 19 22 // delay 20 23 // -------------------- 21 test(function(t) { 22 var div = addDiv(t, {style: 'animation: moveAnimation 100s'}); 23 var effect = div.getAnimations()[0].effect;24 assert_equals(effect.getComputedTiming().delay, 0,25 'Initial value of delay');24 25 test(t => { 26 const div = addDiv(t, { style: 'animation: moveAnimation 100s' }); 27 const effect = div.getAnimations()[0].effect; 28 assert_equals(effect.getComputedTiming().delay, 0, 'Initial value of delay'); 26 29 }, 'delay of a new animation'); 27 30 28 test( function(t){29 var div = addDiv(t, {style: 'animation: moveAnimation 100s -10s'});30 vareffect = div.getAnimations()[0].effect;31 test(t => { 32 const div = addDiv(t, { style: 'animation: moveAnimation 100s -10s' }); 33 const effect = div.getAnimations()[0].effect; 31 34 assert_equals(effect.getComputedTiming().delay, -10 * MS_PER_SEC, 32 35 'Initial value of delay'); 33 36 }, 'Negative delay of a new animation'); 34 37 35 test( function(t){36 var div = addDiv(t, {style: 'animation: moveAnimation 100s 10s'});37 vareffect = div.getAnimations()[0].effect;38 test(t => { 39 const div = addDiv(t, { style: 'animation: moveAnimation 100s 10s' }); 40 const effect = div.getAnimations()[0].effect; 38 41 assert_equals(effect.getComputedTiming().delay, 10 * MS_PER_SEC, 39 42 'Initial value of delay'); … … 44 47 // endDelay 45 48 // -------------------- 46 test(function(t) { 47 var div = addDiv(t, {style: 'animation: moveAnimation 100s'}); 48 var effect = div.getAnimations()[0].effect; 49 50 test(t => { 51 const div = addDiv(t, { style: 'animation: moveAnimation 100s' }); 52 const effect = div.getAnimations()[0].effect; 49 53 assert_equals(effect.getComputedTiming().endDelay, 0, 50 54 'Initial value of endDelay'); … … 55 59 // fill 56 60 // -------------------- 57 test(function(t) { 58 var getEffectWithFill = function(fill) { 59 var div = addDiv(t, {style: 'animation: moveAnimation 100s ' + fill}); 61 62 test(t => { 63 const getEffectWithFill = fill => { 64 const div = addDiv(t, { style: 'animation: moveAnimation 100s ' + fill }); 60 65 return div.getAnimations()[0].effect; 61 66 }; 62 67 63 vareffect = getEffectWithFill('');68 let effect = getEffectWithFill(''); 64 69 assert_equals(effect.getComputedTiming().fill, 'none', 65 70 'Initial value of fill'); … … 79 84 // iterationStart 80 85 // -------------------- 81 test(function(t) { 82 var div = addDiv(t, {style: 'animation: moveAnimation 100s'}); 83 var effect = div.getAnimations()[0].effect; 86 87 test(t => { 88 const div = addDiv(t, { style: 'animation: moveAnimation 100s' }); 89 const effect = div.getAnimations()[0].effect; 84 90 assert_equals(effect.getComputedTiming().iterationStart, 0, 85 91 'Initial value of iterationStart'); … … 90 96 // iterations 91 97 // -------------------- 92 test(function(t) { 93 var div = addDiv(t, {style: 'animation: moveAnimation 100s'}); 94 var effect = div.getAnimations()[0].effect; 98 99 test(t => { 100 const div = addDiv(t, { style: 'animation: moveAnimation 100s' }); 101 const effect = div.getAnimations()[0].effect; 95 102 assert_equals(effect.getComputedTiming().iterations, 1, 96 103 'Initial value of iterations'); 97 104 }, 'iterations of a new animation'); 98 105 99 test( function(t){100 var div = addDiv(t, {style: 'animation: moveAnimation 100s 2016.5'});101 vareffect = div.getAnimations()[0].effect;106 test(t => { 107 const div = addDiv(t, { style: 'animation: moveAnimation 100s 2016.5' }); 108 const effect = div.getAnimations()[0].effect; 102 109 assert_equals(effect.getComputedTiming().iterations, 2016.5, 103 110 'Initial value of iterations'); 104 111 }, 'iterations of a finitely repeating animation'); 105 112 106 test( function(t){107 var div = addDiv(t, {style: 'animation: moveAnimation 100s infinite'});108 vareffect = div.getAnimations()[0].effect;113 test(t => { 114 const div = addDiv(t, { style: 'animation: moveAnimation 100s infinite' }); 115 const effect = div.getAnimations()[0].effect; 109 116 assert_equals(effect.getComputedTiming().iterations, Infinity, 110 117 'Initial value of iterations'); … … 115 122 // duration 116 123 // -------------------- 117 test(function(t) { 118 var div = addDiv(t, {style: 'animation: moveAnimation 100s -10s infinite'}); 119 var effect = div.getAnimations()[0].effect; 124 125 test(t => { 126 const div = addDiv(t, { 127 style: 'animation: moveAnimation 100s -10s infinite' 128 }); 129 const effect = div.getAnimations()[0].effect; 120 130 assert_equals(effect.getComputedTiming().duration, 100 * MS_PER_SEC, 121 131 'Initial value of duration'); … … 126 136 // direction 127 137 // -------------------- 128 test(function(t) { 129 var getEffectWithDir = function(dir) { 130 var div = addDiv(t, {style: 'animation: moveAnimation 100s ' + dir}); 138 139 test(t => { 140 const getEffectWithDir = dir => { 141 const div = addDiv(t, { style: 'animation: moveAnimation 100s ' + dir }); 131 142 return div.getAnimations()[0].effect; 132 143 }; 133 144 134 vareffect = getEffectWithDir('');145 let effect = getEffectWithDir(''); 135 146 assert_equals(effect.getComputedTiming().direction, 'normal', 136 147 'Initial value of normal direction'); … … 150 161 // easing 151 162 // -------------------- 152 test(function(t) { 153 var div = addDiv(t, {style: 'animation: moveAnimation 100s'}); 154 var effect = div.getAnimations()[0].effect; 163 164 test(t => { 165 const div = addDiv(t, { style: 'animation: moveAnimation 100s' }); 166 const effect = div.getAnimations()[0].effect; 155 167 assert_equals(effect.getComputedTiming().easing, 'linear', 156 168 'Initial value of easing'); … … 162 174 // = max(start delay + active duration + end delay, 0) 163 175 // -------------------- 164 test(function(t) { 165 var div = addDiv(t, {style: 'animation: moveAnimation 100s'}); 166 var effect = div.getAnimations()[0].effect; 176 177 test(t => { 178 const div = addDiv(t, { style: 'animation: moveAnimation 100s' }); 179 const effect = div.getAnimations()[0].effect; 167 180 assert_equals(effect.getComputedTiming().endTime, 100 * MS_PER_SEC, 168 181 'Initial value of endTime'); 169 182 }, 'endTime of an new animation'); 170 183 171 test( function(t){172 var div = addDiv(t, {style: 'animation: moveAnimation 100s -5s'});173 vareffect = div.getAnimations()[0].effect;174 varanswer = (100 - 5) * MS_PER_SEC;184 test(t => { 185 const div = addDiv(t, { style: 'animation: moveAnimation 100s -5s' }); 186 const effect = div.getAnimations()[0].effect; 187 const answer = (100 - 5) * MS_PER_SEC; 175 188 assert_equals(effect.getComputedTiming().endTime, answer, 176 189 'Initial value of endTime'); 177 190 }, 'endTime of an animation with a negative delay'); 178 191 179 test(function(t) { 180 var div = addDiv(t, {style: 'animation: moveAnimation 10s -100s infinite'}); 181 var effect = div.getAnimations()[0].effect; 192 test(t => { 193 const div = addDiv(t, { 194 style: 'animation: moveAnimation 10s -100s infinite' 195 }); 196 const effect = div.getAnimations()[0].effect; 182 197 assert_equals(effect.getComputedTiming().endTime, Infinity, 183 198 'Initial value of endTime'); 184 199 }, 'endTime of an infinitely repeating animation'); 185 200 186 test( function(t){187 var div = addDiv(t, {style: 'animation: moveAnimation 0s 100s infinite'});188 vareffect = div.getAnimations()[0].effect;201 test(t => { 202 const div = addDiv(t, { style: 'animation: moveAnimation 0s 100s infinite' }); 203 const effect = div.getAnimations()[0].effect; 189 204 assert_equals(effect.getComputedTiming().endTime, 100 * MS_PER_SEC, 190 205 'Initial value of endTime'); 191 206 }, 'endTime of an infinitely repeating zero-duration animation'); 192 207 193 test( function(t){208 test(t => { 194 209 // Fill forwards so div.getAnimations()[0] won't return an 195 210 // undefined value. 196 var div = addDiv(t, {style: 'animation: moveAnimation 10s -100s forwards'}); 197 var effect = div.getAnimations()[0].effect; 211 const div = addDiv(t, { 212 style: 'animation: moveAnimation 10s -100s forwards' 213 }); 214 const effect = div.getAnimations()[0].effect; 198 215 assert_equals(effect.getComputedTiming().endTime, 0, 199 216 'Initial value of endTime'); … … 205 222 // = iteration duration * iteration count 206 223 // -------------------- 207 test(function(t) { 208 var div = addDiv(t, {style: 'animation: moveAnimation 100s 5'}); 209 var effect = div.getAnimations()[0].effect; 210 var answer = 100 * MS_PER_SEC * 5; 224 225 test(t => { 226 const div = addDiv(t, { style: 'animation: moveAnimation 100s 5' }); 227 const effect = div.getAnimations()[0].effect; 228 const answer = 100 * MS_PER_SEC * 5; 211 229 assert_equals(effect.getComputedTiming().activeDuration, answer, 212 230 'Initial value of activeDuration'); 213 231 }, 'activeDuration of a new animation'); 214 232 215 test( function(t){216 var div = addDiv(t, {style: 'animation: moveAnimation 100s infinite'});217 vareffect = div.getAnimations()[0].effect;233 test(t => { 234 const div = addDiv(t, { style: 'animation: moveAnimation 100s infinite' }); 235 const effect = div.getAnimations()[0].effect; 218 236 assert_equals(effect.getComputedTiming().activeDuration, Infinity, 219 237 'Initial value of activeDuration'); 220 238 }, 'activeDuration of an infinitely repeating animation'); 221 239 222 test( function(t){223 var div = addDiv(t, {style: 'animation: moveAnimation 0s 1s infinite'});224 vareffect = div.getAnimations()[0].effect;240 test(t => { 241 const div = addDiv(t, { style: 'animation: moveAnimation 0s 1s infinite' }); 242 const effect = div.getAnimations()[0].effect; 225 243 // If either the iteration duration or iteration count are zero, 226 244 // the active duration is zero. … … 229 247 }, 'activeDuration of an infinitely repeating zero-duration animation'); 230 248 231 test( function(t){232 var div = addDiv(t, {style: 'animation: moveAnimation 100s 1s 0'});233 vareffect = div.getAnimations()[0].effect;249 test(t => { 250 const div = addDiv(t, { style: 'animation: moveAnimation 100s 1s 0' }); 251 const effect = div.getAnimations()[0].effect; 234 252 // If either the iteration duration or iteration count are zero, 235 253 // the active duration is zero. … … 242 260 // localTime 243 261 // -------------------- 244 test(function(t) { 245 var div = addDiv(t, {style: 'animation: moveAnimation 100s'}); 246 var effect = div.getAnimations()[0].effect; 262 263 test(t => { 264 const div = addDiv(t, { style: 'animation: moveAnimation 100s' }); 265 const effect = div.getAnimations()[0].effect; 247 266 assert_equals(effect.getComputedTiming().localTime, 0, 248 267 'Initial value of localTime'); 249 268 }, 'localTime of a new animation'); 250 269 251 test( function(t){252 var div = addDiv(t, {style: 'animation: moveAnimation 100s'});253 varanim = div.getAnimations()[0];270 test(t => { 271 const div = addDiv(t, { style: 'animation: moveAnimation 100s' }); 272 const anim = div.getAnimations()[0]; 254 273 anim.currentTime = 5 * MS_PER_SEC; 255 274 assert_equals(anim.effect.getComputedTiming().localTime, anim.currentTime, … … 257 276 }, 'localTime of an animation is always equal to currentTime'); 258 277 259 promise_test( function(t){260 var div = addDiv(t, {style: 'animation: moveAnimation 100s'});261 262 varanim = div.getAnimations()[0];278 promise_test(async t => { 279 const div = addDiv(t, { style: 'animation: moveAnimation 100s' }); 280 281 const anim = div.getAnimations()[0]; 263 282 anim.playbackRate = 2; // 2 times faster 264 283 265 return anim.ready.then(function() { 266 assert_equals(anim.effect.getComputedTiming().localTime, anim.currentTime, 267 'localTime is equal to currentTime'); 268 return waitForFrame(); 269 }).then(function() { 270 assert_equals(anim.effect.getComputedTiming().localTime, anim.currentTime, 271 'localTime is equal to currentTime'); 272 }); 284 await anim.ready; 285 286 assert_equals(anim.effect.getComputedTiming().localTime, anim.currentTime, 287 'localTime is equal to currentTime'); 288 289 await waitForFrame(); 290 291 assert_equals(anim.effect.getComputedTiming().localTime, anim.currentTime, 292 'localTime is equal to currentTime'); 273 293 }, 'localTime reflects playbackRate immediately'); 274 294 275 test( function(t){276 vardiv = addDiv(t);277 vareffect = new KeyframeEffect(div, {left: ["0px", "100px"]});295 test(t => { 296 const div = addDiv(t); 297 const effect = new KeyframeEffect(div, {left: ["0px", "100px"]}); 278 298 279 299 assert_equals(effect.getComputedTiming().localTime, null, … … 284 304 // -------------------- 285 305 // progress 286 // Note: Default timing function is linear. 287 // -------------------- 288 test(function(t) { 289 [{fill: '', progress: [ null, null ]}, 290 {fill: 'none', progress: [ null, null ]}, 291 {fill: 'forwards', progress: [ null, 1.0 ]}, 292 {fill: 'backwards', progress: [ 0.0, null ]}, 293 {fill: 'both', progress: [ 0.0, 1.0 ]}] 294 .forEach(function(test) { 295 var div = 296 addDiv(t, {style: 'animation: moveAnimation 100s 10s ' + test.fill}); 297 var anim = div.getAnimations()[0]; 306 // 307 // Note: Even though CSS animations have a default animation-timing-function of 308 // "ease", this only applies between keyframes (often referred to as the 309 // keyframe-level easing). The progress value returned by getComputedTiming(), 310 // however, only reflects effect-level easing and this defaults to "linear", 311 // even for CSS animations. 312 // -------------------- 313 314 test(t => { 315 const tests = [ 316 { fill: '', progress: [null, null] }, 317 { fill: 'none', progress: [null, null] }, 318 { fill: 'forwards', progress: [null, 1.0] }, 319 { fill: 'backwards', progress: [0.0, null] }, 320 { fill: 'both', progress: [0.0, 1.0] }, 321 ]; 322 for (const test of tests) { 323 const div = addDiv(t, { 324 style: 'animation: moveAnimation 100s 10s ' + test.fill 325 }); 326 const anim = div.getAnimations()[0]; 298 327 assert_true(anim.effect.getComputedTiming().progress === test.progress[0], 299 'initial progress with "' + test.fill + '" fill');328 `Initial progress with "${test.fill}" fill`); 300 329 anim.finish(); 301 330 assert_true(anim.effect.getComputedTiming().progress === test.progress[1], 302 'finished progress with "' + test.fill + '" fill');303 } );331 `Initial progress with "${test.fill}" fill`); 332 } 304 333 }, 'progress of an animation with different fill modes'); 305 334 306 test( function(t){307 var div = addDiv(t, {style: 'animation: moveAnimation 10s 10 both'});308 varanim = div.getAnimations()[0];335 test(t => { 336 const div = addDiv(t, { style: 'animation: moveAnimation 10s 10 both' }); 337 const anim = div.getAnimations()[0]; 309 338 310 339 assert_equals(anim.effect.getComputedTiming().progress, 0.0, … … 324 353 }, 'progress of an integral repeating animation with normal direction'); 325 354 326 test(function(t) { 327 var div = addDiv(t); 355 test(t => { 328 356 // Note: FillMode here is "both" because 329 357 // 1. Since this a zero-duration animation, it will already have finished … … 331 359 // 2. Fill backwards, so the progress before phase wouldn't be 332 360 // unresolved (null value). 333 var div = addDiv(t, {style: 'animation: moveAnimation 0s infinite both'});334 varanim = div.getAnimations()[0];361 const div = addDiv(t, { style: 'animation: moveAnimation 0s infinite both' }); 362 const anim = div.getAnimations()[0]; 335 363 336 364 assert_equals(anim.effect.getComputedTiming().progress, 1.0, … … 343 371 }, 'progress of an infinitely repeating zero-duration animation'); 344 372 345 test( function(t){373 test(t => { 346 374 // Default iterations = 1 347 var div = addDiv(t, {style: 'animation: moveAnimation 0s both'});348 varanim = div.getAnimations()[0];375 const div = addDiv(t, { style: 'animation: moveAnimation 0s both' }); 376 const anim = div.getAnimations()[0]; 349 377 350 378 assert_equals(anim.effect.getComputedTiming().progress, 1.0, … … 357 385 }, 'progress of a finitely repeating zero-duration animation'); 358 386 359 test( function(t){360 var div = addDiv(t, {style: 'animation: moveAnimation 0s 5s 10.25 both'});361 varanim = div.getAnimations()[0];387 test(t => { 388 const div = addDiv(t, { style: 'animation: moveAnimation 0s 5s 10.25 both' }); 389 const anim = div.getAnimations()[0]; 362 390 363 391 assert_equals(anim.effect.getComputedTiming().progress, 0.0, … … 371 399 }, 'progress of a non-integral repeating zero-duration animation'); 372 400 373 test(function(t) { 374 var div = addDiv(t, {style: 'animation: moveAnimation 0s 5s 10.25 both reverse'}); 375 var anim = div.getAnimations()[0]; 401 test(t => { 402 const div = addDiv(t, { 403 style: 'animation: moveAnimation 0s 5s 10.25 both reverse', 404 }); 405 const anim = div.getAnimations()[0]; 376 406 377 407 assert_equals(anim.effect.getComputedTiming().progress, 1.0, … … 385 415 'with reversing direction'); 386 416 387 test(function(t) { 388 var div = addDiv(t, {style: 'animation: moveAnimation 10s 10.25 both alternate'}); 389 var anim = div.getAnimations()[0]; 417 test(t => { 418 const div = addDiv(t, { 419 style: 'animation: moveAnimation 10s 10.25 both alternate', 420 }); 421 const anim = div.getAnimations()[0]; 390 422 391 423 assert_equals(anim.effect.getComputedTiming().progress, 0.0, … … 406 438 'with alternate direction'); 407 439 408 test(function(t) { 409 var div = addDiv(t, {style: 'animation: moveAnimation 10s 10.25 both alternate-reverse'}); 410 var anim = div.getAnimations()[0]; 440 test(t => { 441 const div = addDiv(t, { 442 style: 'animation: moveAnimation 10s 10.25 both alternate-reverse', 443 }); 444 const anim = div.getAnimations()[0]; 411 445 412 446 assert_equals(anim.effect.getComputedTiming().progress, 1.0, … … 427 461 'with alternate-reversing direction'); 428 462 429 test(function(t) { 430 var div = addDiv(t, {style: 'animation: moveAnimation 0s 10.25 both alternate'}); 431 var anim = div.getAnimations()[0]; 463 test(t => { 464 const div = addDiv(t, { 465 style: 'animation: moveAnimation 0s 10.25 both alternate', 466 }); 467 const anim = div.getAnimations()[0]; 432 468 433 469 assert_equals(anim.effect.getComputedTiming().progress, 0.25, … … 445 481 'with alternate direction'); 446 482 447 test(function(t) { 448 var div = addDiv(t, {style: 'animation: moveAnimation 0s 10.25 both alternate-reverse'}); 449 var anim = div.getAnimations()[0]; 483 test(t => { 484 const div = addDiv(t, { 485 style: 'animation: moveAnimation 0s 10.25 both alternate-reverse', 486 }); 487 const anim = div.getAnimations()[0]; 450 488 451 489 assert_equals(anim.effect.getComputedTiming().progress, 0.75, … … 467 505 // currentIteration 468 506 // -------------------- 469 test(function(t) { 470 var div = addDiv(t, {style: 'animation: moveAnimation 100s 2s'}); 471 var effect = div.getAnimations()[0].effect; 507 508 test(t => { 509 const div = addDiv(t, { style: 'animation: moveAnimation 100s 2s' }); 510 const effect = div.getAnimations()[0].effect; 472 511 assert_equals(effect.getComputedTiming().currentIteration, null, 473 512 'Initial value of currentIteration before phase'); … … 475 514 'in before phase'); 476 515 477 test( function(t){478 var div = addDiv(t, {style: 'animation: moveAnimation 100s'});479 varanim = div.getAnimations()[0];516 test(t => { 517 const div = addDiv(t, { style: 'animation: moveAnimation 100s' }); 518 const anim = div.getAnimations()[0]; 480 519 assert_equals(anim.effect.getComputedTiming().currentIteration, 0, 481 520 'Initial value of currentIteration'); 482 521 }, 'currentIteration of a new animation is zero'); 483 522 484 test( function(t){523 test(t => { 485 524 // Note: FillMode here is "both" because 486 525 // 1. Since this a zero-duration animation, it will already have finished … … 488 527 // 2. Fill backwards, so the currentIteration (before phase) wouldn't be 489 528 // unresolved (null value). 490 var div = addDiv(t, {style: 'animation: moveAnimation 0s infinite both'});491 varanim = div.getAnimations()[0];529 const div = addDiv(t, { style: 'animation: moveAnimation 0s infinite both' }); 530 const anim = div.getAnimations()[0]; 492 531 493 532 assert_equals(anim.effect.getComputedTiming().currentIteration, Infinity, … … 500 539 }, 'currentIteration of an infinitely repeating zero-duration animation'); 501 540 502 test( function(t){503 var div = addDiv(t, {style: 'animation: moveAnimation 0s 10.5 both'});504 varanim = div.getAnimations()[0];541 test(t => { 542 const div = addDiv(t, { style: 'animation: moveAnimation 0s 10.5 both' }); 543 const anim = div.getAnimations()[0]; 505 544 506 545 // Note: currentIteration = ceil(iteration start + iteration count) - 1 … … 514 553 }, 'currentIteration of a finitely repeating zero-duration animation'); 515 554 516 test(function(t) { 517 var div = addDiv(t, {style: 'animation: moveAnimation 100s 5.5 forwards'}); 518 var anim = div.getAnimations()[0]; 555 test(t => { 556 const div = addDiv(t, { 557 style: 'animation: moveAnimation 100s 5.5 forwards' 558 }); 559 const anim = div.getAnimations()[0]; 519 560 520 561 assert_equals(anim.effect.getComputedTiming().currentIteration, 0, … … 531 572 }, 'currentIteration of an animation with a non-integral iteration count'); 532 573 533 test( function(t){534 var div = addDiv(t, {style: 'animation: moveAnimation 100s 2 forwards'});535 varanim = div.getAnimations()[0];574 test(t => { 575 const div = addDiv(t, { style: 'animation: moveAnimation 100s 2 forwards' }); 576 const anim = div.getAnimations()[0]; 536 577 537 578 assert_equals(anim.effect.getComputedTiming().currentIteration, 0, … … 543 584 }, 'currentIteration of an animation with an integral iteration count'); 544 585 545 test( function(t){546 var div = addDiv(t, {style: 'animation: moveAnimation 100s forwards'});547 varanim = div.getAnimations()[0];586 test(t => { 587 const div = addDiv(t, { style: 'animation: moveAnimation 100s forwards' }); 588 const anim = div.getAnimations()[0]; 548 589 assert_equals(anim.effect.getComputedTiming().currentIteration, 0, 549 590 'Initial value of currentIteration'); … … 554 595 }, 'currentIteration of an animation with a default iteration count'); 555 596 556 test( function(t){557 vardiv = addDiv(t);558 vareffect = new KeyframeEffect(div, {left: ["0px", "100px"]});597 test(t => { 598 const div = addDiv(t); 599 const effect = new KeyframeEffect(div, {left: ["0px", "100px"]}); 559 600 560 601 assert_equals(effect.getComputedTiming().currentIteration, null, -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-animationName.tentative.html
r251590 r251591 1 1 <!doctype html> 2 2 <meta charset=utf-8> 3 <script src="../../../resources/testharness.js"></script> 4 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../resources/testcommon.js"></script> 3 <title>CSSAnimation.animationName</title> 4 <link rel="help" 5 href="https://drafts.csswg.org/css-animations-2/#dom-cssanimation-animationname"> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src="support/testcommon.js"></script> 6 9 <style> 7 10 @keyframes xyz { … … 9 12 } 10 13 </style> 11 <body>12 14 <div id="log"></div> 13 15 <script> 14 16 'use strict'; 15 17 16 test( function(t){17 vardiv = addDiv(t);18 test(t => { 19 const div = addDiv(t); 18 20 div.style.animation = 'xyz 100s'; 19 21 assert_equals(div.getAnimations()[0].animationName, 'xyz', … … 21 23 }, 'Animation name makes keyframe rule'); 22 24 23 test( function(t){24 vardiv = addDiv(t);25 test(t => { 26 const div = addDiv(t); 25 27 div.style.animation = 'x\\yz 100s'; 26 28 assert_equals(div.getAnimations()[0].animationName, 'xyz', … … 28 30 }, 'Escaped animation name'); 29 31 30 test( function(t){31 vardiv = addDiv(t);32 test(t => { 33 const div = addDiv(t); 32 34 div.style.animation = 'x\\79 z 100s'; 33 35 assert_equals(div.getAnimations()[0].animationName, 'xyz', … … 37 39 38 40 </script> 39 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-effect.tentative-expected.txt
r251590 r251591 4 4 PASS Replacing an animation's effect with a shorter one that should have already finished, the animation finishes immediately 5 5 PASS A play-pending animation's effect whose effect is replaced still exits the pending state 6 PASS The event isdispatched at the original element even after setting an effect with a different target element6 PASS CSS animation events are dispatched at the original element even after setting an effect with a different target element 7 7 PASS After replacing a finished animation's effect with a longer one it fires an animationstart event 8 8 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-playState.tentative-expected.txt
r251590 r251591 1 1 2 PASS A nimation returns correct playState when running2 PASS A new CSS animation is initially play-pending 3 3 PASS Animation returns correct playState when paused 4 4 PASS Animation.playState updates when paused by script 5 5 PASS Animation.playState updates when resumed by setting style 6 PASS Animation returns correct playState when cancel led6 PASS Animation returns correct playState when canceled 7 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-ready.tentative-expected.txt
r251590 r251591 2 2 PASS A new ready promise is created when setting animation-play-state: running 3 3 PASS ready promise is rejected when an animation is canceled by resetting the animation property 4 PASS ready promise is rejected when an animation is cancel led by updating the animation property4 PASS ready promise is rejected when an animation is canceled by updating the animation property 5 5 PASS A new ready promise is created when setting animation-play-state: paused 6 6 PASS Pausing twice re-uses the same Promise 7 PASS If a pause operation is interrupted, the ready promise is reused8 PASS When a pause is complete the Promise callback gets the correct animation9 7 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSPseudoElement-getAnimations.tentative-expected.txt
r251590 r251591 1 1 2 2 PASS getAnimations returns CSSAnimation objects 3 PASS getAnimations returns csstransitions/animations, and script-generated animations in the expected order3 PASS getAnimations returns CSS transitions/animations, and script-generated animations in the expected order 4 4 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSPseudoElement-getAnimations.tentative.html
r251590 r251591 1 1 <!doctype html> 2 2 <meta charset=utf-8> 3 <script src="../../../resources/testharness.js"></script> 4 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../resources/testcommon.js"></script> 3 <title>CSSPseudoElement.getAnimations() for CSS animations</title> 4 <!-- TODO: Add a more specific link for this once it is specified. --> 5 <link rel="help" href="https://drafts.csswg.org/css-animations-2/"> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src="support/testcommon.js"></script> 6 9 <style> 7 10 @keyframes anim1 { } … … 24 27 } 25 28 </style> 26 <body>27 29 <div id="log"></div> 28 30 <script> 29 31 'use strict'; 30 32 31 test( function(t){32 vardiv = addDiv(t, { class: 'before' });33 varpseudoTarget = document.getAnimations()[0].effect.target;33 test(t => { 34 const div = addDiv(t, { class: 'before' }); 35 const pseudoTarget = document.getAnimations()[0].effect.target; 34 36 assert_equals(pseudoTarget.getAnimations().length, 1, 35 37 'Expected number of animations are returned'); … … 38 40 }, 'getAnimations returns CSSAnimation objects'); 39 41 40 test( function(t){41 vardiv = addDiv(t, { class: 'after-with-mix-anims-trans' });42 test(t => { 43 const div = addDiv(t, { class: 'after-with-mix-anims-trans' }); 42 44 // Trigger transitions 43 45 flushComputedStyle(div); … … 45 47 46 48 // Create additional animation on the pseudo-element from script 47 varpseudoTarget = document.getAnimations()[0].effect.target;48 vareffect = new KeyframeEffect(pseudoTarget,49 { background: ["blue", "red"] },50 3 * MS_PER_SEC);51 varnewAnimation = new Animation(effect, document.timeline);49 const pseudoTarget = document.getAnimations()[0].effect.target; 50 const effect = new KeyframeEffect(pseudoTarget, 51 { background: ["blue", "red"] }, 52 3 * MS_PER_SEC); 53 const newAnimation = new Animation(effect, document.timeline); 52 54 newAnimation.id = 'scripted-anim'; 53 55 newAnimation.play(); 54 56 55 57 // Check order - the script-generated animation should appear later 56 varanims = pseudoTarget.getAnimations();58 const anims = pseudoTarget.getAnimations(); 57 59 assert_equals(anims.length, 5, 58 60 'Got expected number of animations/trnasitions running on ' + … … 68 70 assert_equals(anims[4].id, 'scripted-anim', 69 71 'Animation added by script appears last'); 70 }, 'getAnimations returns csstransitions/animations, and script-generated ' +72 }, 'getAnimations returns CSS transitions/animations, and script-generated ' + 71 73 'animations in the expected order'); 72 74 73 75 </script> 74 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/Document-getAnimations.tentative-expected.txt
r251590 r251591 11 11 PASS Finished but not filling CSS Animations are not returned 12 12 PASS Yet-to-start CSS Animations are returned 13 PASS CSS Animations cancel led via the API are not returned14 PASS CSS Animations cancel led and restarted via the API are returned15 PASS CSS Animations targetting (pseudo-)elements should have correct order after sorting 13 PASS CSS Animations canceled via the API are not returned 14 PASS CSS Animations canceled and restarted via the API are returned 15 FAIL CSS Animations targetting (pseudo-)elements should have correct order after sorting assert_equals: Animation #2 has expected target expected (object) Element node <div id="parent" style="animation: animBottom 100s"><div ... but got (undefined) undefined 16 16 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/Document-getAnimations.tentative.html
r251590 r251591 1 1 <!doctype html> 2 2 <meta charset=utf-8> 3 <script src="../../../resources/testharness.js"></script> 4 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../resources/testcommon.js"></script> 3 <title>Document.getAnimations() for CSS animations</title> 4 <link rel="help" href="https://drafts.csswg.org/css-animations-2/#animation-composite-order"> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="support/testcommon.js"></script> 6 8 <style> 7 9 @keyframes animLeft { … … 17 19 to { right: 100px } 18 20 } 19 ::before {20 content: ''21 }22 ::after {23 content: ''24 }25 21 </style> 26 <body>27 22 <div id="log"></div> 28 23 <script> 29 24 'use strict'; 30 25 31 test( function(t){26 test(t => { 32 27 assert_equals(document.getAnimations().length, 0, 33 28 'getAnimations returns an empty sequence for a document' … … 35 30 }, 'getAnimations for non-animated content'); 36 31 37 test( function(t){38 vardiv = addDiv(t);32 test(t => { 33 const div = addDiv(t); 39 34 40 35 // Add an animation … … 54 49 }, 'getAnimations for CSS Animations'); 55 50 56 test( function(t){57 vardiv = addDiv(t);51 test(t => { 52 const div = addDiv(t); 58 53 div.style.animation = 'animLeft 100s, animTop 100s, animRight 100s, ' + 59 54 'animBottom 100s'; 60 55 61 varanimations = document.getAnimations();56 const animations = document.getAnimations(); 62 57 assert_equals(animations.length, 4, 63 58 'getAnimations returns all running CSS Animations'); … … 72 67 }, 'Order of CSS Animations - within an element'); 73 68 74 test( function(t){75 vardiv1 = addDiv(t, { style: 'animation: animLeft 100s' });76 vardiv2 = addDiv(t, { style: 'animation: animLeft 100s' });77 vardiv3 = addDiv(t, { style: 'animation: animLeft 100s' });78 vardiv4 = addDiv(t, { style: 'animation: animLeft 100s' });79 80 varanimations = document.getAnimations();69 test(t => { 70 const div1 = addDiv(t, { style: 'animation: animLeft 100s' }); 71 const div2 = addDiv(t, { style: 'animation: animLeft 100s' }); 72 const div3 = addDiv(t, { style: 'animation: animLeft 100s' }); 73 const div4 = addDiv(t, { style: 'animation: animLeft 100s' }); 74 75 let animations = document.getAnimations(); 81 76 assert_equals(animations.length, 4, 82 77 'getAnimations returns all running CSS Animations'); … … 113 108 }, 'Order of CSS Animations - across elements'); 114 109 115 test( function(t){116 vardiv1 = addDiv(t, { style: 'animation: animLeft 100s, animTop 100s' });117 vardiv2 = addDiv(t, { style: 'animation: animBottom 100s' });118 119 varexpectedResults = [ [ div1, 'animLeft' ],120 [ div1, 'animTop' ],121 [ div2, 'animBottom' ] ];122 varanimations = document.getAnimations();110 test(t => { 111 const div1 = addDiv(t, { style: 'animation: animLeft 100s, animTop 100s' }); 112 const div2 = addDiv(t, { style: 'animation: animBottom 100s' }); 113 114 let expectedResults = [ [ div1, 'animLeft' ], 115 [ div1, 'animTop' ], 116 [ div2, 'animBottom' ] ]; 117 let animations = document.getAnimations(); 123 118 assert_equals(animations.length, expectedResults.length, 124 119 'getAnimations returns all running CSS Animations'); 125 animations.forEach( function(anim, i){120 animations.forEach((anim, i) => { 126 121 assert_equals(anim.effect.target, expectedResults[i][0], 127 122 'Target of animation in position ' + i); … … 142 137 'getAnimations returns all running CSS Animations after ' + 143 138 'making changes'); 144 animations.forEach( function(anim, i){139 animations.forEach((anim, i) => { 145 140 assert_equals(anim.effect.target, expectedResults[i][0], 146 141 'Target of animation in position ' + i + ' after changes'); … … 150 145 }, 'Order of CSS Animations - across and within elements'); 151 146 152 test( function(t){153 vardiv = addDiv(t, { style: 'animation: animLeft 100s, animTop 100s' });154 varanimLeft = document.getAnimations()[0];147 test(t => { 148 const div = addDiv(t, { style: 'animation: animLeft 100s, animTop 100s' }); 149 const animLeft = document.getAnimations()[0]; 155 150 assert_equals(animLeft.animationName, 'animLeft', 156 151 'Originally, animLeft animation comes first'); … … 160 155 animLeft.play(); 161 156 162 varanimations = document.getAnimations();157 const animations = document.getAnimations(); 163 158 assert_equals(animations.length, 2, 164 159 'getAnimations returns markup-bound and free animations'); … … 168 163 }, 'Order of CSS Animations - markup-bound vs free animations'); 169 164 170 test( function(t){171 vardiv = addDiv(t, { style: 'animation: animLeft 100s, animTop 100s' });172 varanimLeft = document.getAnimations()[0];173 varanimTop = document.getAnimations()[1];165 test(t => { 166 const div = addDiv(t, { style: 'animation: animLeft 100s, animTop 100s' }); 167 const animLeft = document.getAnimations()[0]; 168 const animTop = document.getAnimations()[1]; 174 169 175 170 // Disassociate both animations from markup and restart in opposite order … … 178 173 animLeft.play(); 179 174 180 varanimations = document.getAnimations();175 const animations = document.getAnimations(); 181 176 assert_equals(animations.length, 2, 182 177 'getAnimations returns free animations'); … … 194 189 }, 'Order of CSS Animations - free animations'); 195 190 196 test( function(t){191 test(t => { 197 192 // Add an animation first 198 vardiv = addDiv(t, { style: 'animation: animLeft 100s' });193 const div = addDiv(t, { style: 'animation: animLeft 100s' }); 199 194 div.style.top = '0px'; 200 195 div.style.transition = 'all 100s'; … … 206 201 207 202 // Although the transition was added later, it should come first in the list 208 varanimations = document.getAnimations();203 const animations = document.getAnimations(); 209 204 assert_equals(animations.length, 2, 210 205 'Both CSS animations and transitions are returned'); … … 213 208 }, 'Order of CSS Animations and CSS Transitions'); 214 209 215 test( function(t){216 vardiv = addDiv(t, { style: 'animation: animLeft 100s forwards' });210 test(t => { 211 const div = addDiv(t, { style: 'animation: animLeft 100s forwards' }); 217 212 div.getAnimations()[0].finish(); 218 213 assert_equals(document.getAnimations().length, 1, … … 220 215 }, 'Finished but filling CSS Animations are returned'); 221 216 222 test( function(t){223 vardiv = addDiv(t, { style: 'animation: animLeft 100s' });217 test(t => { 218 const div = addDiv(t, { style: 'animation: animLeft 100s' }); 224 219 div.getAnimations()[0].finish(); 225 220 assert_equals(document.getAnimations().length, 0, … … 227 222 }, 'Finished but not filling CSS Animations are not returned'); 228 223 229 test( function(t){230 vardiv = addDiv(t, { style: 'animation: animLeft 100s 100s' });224 test(t => { 225 const div = addDiv(t, { style: 'animation: animLeft 100s 100s' }); 231 226 assert_equals(document.getAnimations().length, 1, 232 227 'Yet-to-start CSS animations are returned'); 233 228 }, 'Yet-to-start CSS Animations are returned'); 234 229 235 test( function(t){236 vardiv = addDiv(t, { style: 'animation: animLeft 100s' });230 test(t => { 231 const div = addDiv(t, { style: 'animation: animLeft 100s' }); 237 232 div.getAnimations()[0].cancel(); 238 233 assert_equals(document.getAnimations().length, 0, 239 'CSS animations cancel led by the API are not returned');240 }, 'CSS Animations cancel led via the API are not returned');241 242 test( function(t){243 vardiv = addDiv(t, { style: 'animation: animLeft 100s' });244 varanim = div.getAnimations()[0];234 'CSS animations canceled by the API are not returned'); 235 }, 'CSS Animations canceled via the API are not returned'); 236 237 test(t => { 238 const div = addDiv(t, { style: 'animation: animLeft 100s' }); 239 const anim = div.getAnimations()[0]; 245 240 anim.cancel(); 246 241 anim.play(); 247 242 assert_equals(document.getAnimations().length, 1, 248 'CSS animations cancel led and restarted by the API are ' +243 'CSS animations canceled and restarted by the API are ' + 249 244 'returned'); 250 }, 'CSS Animations cancelled and restarted via the API are returned'); 251 252 test(function(t) { 253 addStyle(t, { '#parent::after': 'animation: animLeft 10s;', 254 '#parent::before': 'animation: animRight 10s;' }); 255 // create two divs with these arrangement: 245 }, 'CSS Animations canceled and restarted via the API are returned'); 246 247 test(t => { 248 // Create two divs with the following arrangement: 249 // 256 250 // parent 251 // (::marker,) 257 252 // ::before, 258 253 // ::after 259 254 // | 260 255 // child 261 var parent = addDiv(t, { 'id': 'parent' }); 262 var child = addDiv(t, { 'id': 'child' }); 256 257 addStyle(t, { 258 '#parent::after': "content: ''; animation: animLeft 100s;", 259 '#parent::before': "content: ''; animation: animRight 100s;", 260 }); 261 262 const supportsMarkerPseudos = CSS.supports('selector(::marker)'); 263 if (supportsMarkerPseudos) { 264 addStyle(t, { 265 '#parent': 'display: list-item;', 266 '#parent::marker': "content: ''; animation: animLeft 100s;", 267 }); 268 } 269 270 const parent = addDiv(t, { id: 'parent' }); 271 const child = addDiv(t); 263 272 parent.appendChild(child); 264 [parent, child].forEach((div) => { 265 div.setAttribute('style', 'animation: animBottom 10s'); 266 }); 267 268 var anims = document.getAnimations(); 269 assert_equals(anims.length, 4, 270 'CSS animations on both pseudo-elements and elements ' + 271 'are returned'); 272 assert_equals(anims[0].effect.target, parent, 273 'The animation targeting the parent element comes first'); 274 assert_equals(anims[1].animationName, 'animRight', 275 'The animation targeting the ::before element comes second'); 276 assert_equals(anims[2].animationName, 'animLeft', 277 'The animation targeting the ::after element comes third'); 278 assert_equals(anims[3].effect.target, child, 279 'The animation targeting the child element comes last'); 280 }, 'CSS Animations targetting (pseudo-)elements should have correct order ' + 281 'after sorting'); 273 for (const div of [parent, child]) { 274 div.setAttribute('style', 'animation: animBottom 100s'); 275 } 276 277 const expectedAnimations = [ 278 [parent, undefined], 279 [parent, '::marker'], 280 [parent, '::before'], 281 [parent, '::after'], 282 [child, undefined], 283 ]; 284 if (!supportsMarkerPseudos) { 285 expectedAnimations.splice(1, 1); 286 } 287 288 const animations = document.getAnimations(); 289 assert_equals( 290 animations.length, 291 expectedAnimations.length, 292 'CSS animations on both pseudo-elements and elements are returned' 293 ); 294 295 for (const [index, expected] of expectedAnimations.entries()) { 296 const [element, pseudo] = expected; 297 const actual = animations[index]; 298 299 if (pseudo) { 300 assert_equals( 301 actual.effect.target.element, 302 element, 303 `Animation #${index + 1} has expected target` 304 ); 305 assert_equals( 306 actual.effect.target.type, 307 pseudo, 308 `Animation #${index + 1} has expected pseudo type` 309 ); 310 } else { 311 assert_equals( 312 actual.effect.target, 313 element, 314 `Animation #${index + 1} has expected target` 315 ); 316 } 317 } 318 }, 'CSS Animations targetting (pseudo-)elements should have correct order ' 319 + 'after sorting'); 282 320 283 321 </script> 284 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/Element-getAnimations.tentative-expected.txt
r251590 r251591 15 15 PASS getAnimations for zero-duration CSS Animations 16 16 PASS getAnimations returns objects with the same identity 17 PASS getAnimations for CSS Animations that are cancel led17 PASS getAnimations for CSS Animations that are canceled 18 18 FAIL getAnimations for CSS Animations follows animation-name order assert_equals: animation order after prepending to list expected "anim1" but got "anim2" 19 PASS Test AnimationFilter{ subtree: false } with single element20 FAIL Test AnimationFilter{ subtree: true } with single elementassert_equals: getAnimations({ subtree: true }) should return animations on pseudo-elements expected 3 but got 121 PASS Test AnimationFilter{ subtree: false } with element that has a child22 FAIL Test AnimationFilter{ subtree: true } with element that has a childassert_equals: Should find all elements, pesudo-elements that parent has expected 6 but got 123 FAIL Test AnimationFilter{ subtree: true } with element that has many descendantassert_equals: Should find all descendants of the element expected 5 but got 119 PASS { subtree: false } on a leaf element returns the element's animations and ignore pseudo-elements 20 FAIL { subtree: true } on a leaf element returns the element's animations and its pseudo-elements' animations assert_equals: getAnimations({ subtree: true }) should return animations on pseudo-elements expected 3 but got 1 21 PASS { subtree: false } on an element with a child returns only the element's animations 22 FAIL { subtree: true } on an element with a child returns animations from the element, its pseudo-elements, its child and its child pseudo-elements assert_equals: Should find all elements, pesudo-elements that parent has expected 6 but got 1 23 FAIL { subtree: true } on an element with many descendants returns animations from all the descendants assert_equals: Should find all descendants of the element expected 5 but got 1 24 24 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/Element-getAnimations.tentative.html
r251590 r251591 1 1 <!doctype html> 2 2 <meta charset=utf-8> 3 <script src="../../../resources/testharness.js"></script> 4 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../resources/testcommon.js"></script> 3 <title>Element.getAnimations() for CSS animations</title> 4 <!-- TODO: Add a more specific link for this once it is specified. --> 5 <link rel="help" href="https://drafts.csswg.org/css-animations-2/"> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src="support/testcommon.js"></script> 6 9 <style> 7 10 @keyframes anim1 { … … 22 25 @keyframes empty { } 23 26 </style> 24 <body>25 27 <div id="log"></div> 26 28 <script> 27 29 'use strict'; 28 30 29 test( function(t){30 vardiv = addDiv(t);31 test(t => { 32 const div = addDiv(t); 31 33 assert_equals(div.getAnimations().length, 0, 32 34 'getAnimations returns an empty sequence for an element' … … 34 36 }, 'getAnimations for non-animated content'); 35 37 36 promise_test(function(t) { 37 var div = addDiv(t); 38 39 // FIXME: This test does too many things. It should be split up. 38 promise_test(async t => { 39 const div = addDiv(t); 40 40 41 41 // Add an animation 42 42 div.style.animation = 'anim1 100s'; 43 varanimations = div.getAnimations();43 let animations = div.getAnimations(); 44 44 assert_equals(animations.length, 1, 45 45 'getAnimations returns an Animation running CSS Animations'); 46 return animations[0].ready.then(function() { 47 var startTime = animations[0].startTime; 48 assert_true(startTime > 0 && startTime <= document.timeline.currentTime, 49 'CSS animation has a sensible start time'); 50 51 // Wait a moment then add a second animation. 52 // 53 // We wait for the next frame so that we can test that the start times of 54 // the animations differ. 55 return waitForFrame(); 56 }).then(function() { 57 div.style.animation = 'anim1 100s, anim2 100s'; 58 animations = div.getAnimations(); 59 assert_equals(animations.length, 2, 60 'getAnimations returns one Animation for each value of' 61 + ' animation-name'); 62 // Wait until both Animations are ready 63 // (We don't make any assumptions about the order of the Animations since 64 // that is the purpose of the following test.) 65 return waitForAllAnimations(animations); 66 }).then(function() { 67 assert_true(animations[0].startTime < animations[1].startTime, 68 'Additional Animations for CSS animations start after the original' 69 + ' animation and appear later in the list'); 70 }); 46 await animations[0].ready; 47 48 // Add a second animation 49 div.style.animation = 'anim1 100s, anim2 100s'; 50 animations = div.getAnimations(); 51 assert_equals(animations.length, 2, 52 'getAnimations returns one CSSAnimation for each value of animation-name'); 53 // (We don't check the order of the Animations since that is covered by tests 54 // later in this file.) 71 55 }, 'getAnimations for CSS Animations'); 72 56 73 test( function(t){74 vardiv = addDiv(t, { style: 'animation: anim1 100s' });57 test(t => { 58 const div = addDiv(t, { style: 'animation: anim1 100s' }); 75 59 assert_class_string(div.getAnimations()[0], 'CSSAnimation', 76 60 'Interface of returned animation is CSSAnimation'); 77 61 }, 'getAnimations returns CSSAnimation objects for CSS Animations'); 78 62 79 test( function(t){80 vardiv = addDiv(t);63 test(t => { 64 const div = addDiv(t); 81 65 82 66 // Add an animation that targets multiple properties … … 87 71 }, 'getAnimations for multi-property animations'); 88 72 89 promise_test( function(t){90 vardiv = addDiv(t);73 promise_test(async t => { 74 const div = addDiv(t); 91 75 92 76 // Add an animation … … 96 80 97 81 // Wait until a frame after the animation starts, then add a transition 98 var animations = div.getAnimations(); 99 return animations[0].ready.then(waitForFrame).then(function() { 100 div.style.transition = 'all 100s'; 101 div.style.backgroundColor = 'green'; 102 103 animations = div.getAnimations(); 104 assert_equals(animations.length, 2, 105 'getAnimations returns Animations for both animations and' 106 + ' transitions that run simultaneously'); 107 assert_class_string(animations[0], 'CSSTransition', 108 'First-returned animation is the CSS Transition'); 109 assert_class_string(animations[1], 'CSSAnimation', 110 'Second-returned animation is the CSS Animation'); 111 }); 82 let animations = div.getAnimations(); 83 await animations[0].ready; 84 await waitForFrame(); 85 86 div.style.transition = 'all 100s'; 87 div.style.backgroundColor = 'green'; 88 89 animations = div.getAnimations(); 90 assert_equals(animations.length, 2, 91 'getAnimations returns Animations for both animations and' 92 + ' transitions that run simultaneously'); 93 assert_class_string(animations[0], 'CSSTransition', 94 'First-returned animation is the CSS Transition'); 95 assert_class_string(animations[1], 'CSSAnimation', 96 'Second-returned animation is the CSS Animation'); 112 97 }, 'getAnimations for both CSS Animations and CSS Transitions at once'); 113 98 114 async_test( function(t){115 vardiv = addDiv(t);99 async_test(t => { 100 const div = addDiv(t); 116 101 117 102 // Set up event listener 118 div.addEventListener('animationend', t.step_func( function(){103 div.addEventListener('animationend', t.step_func(() => { 119 104 assert_equals(div.getAnimations().length, 0, 120 105 'getAnimations does not return Animations for finished ' … … 127 112 }, 'getAnimations for CSS Animations that have finished'); 128 113 129 async_test( function(t){130 vardiv = addDiv(t);114 async_test(t => { 115 const div = addDiv(t); 131 116 132 117 // Set up event listener 133 div.addEventListener('animationend', t.step_func( function(){118 div.addEventListener('animationend', t.step_func(() => { 134 119 assert_equals(div.getAnimations().length, 1, 135 120 'getAnimations returns Animations for CSS Animations that have' … … 143 128 + ' forwards filling'); 144 129 145 test( function(t){146 vardiv = addDiv(t);130 test(t => { 131 const div = addDiv(t); 147 132 div.style.animation = 'none 100s'; 148 133 149 varanimations = div.getAnimations();134 let animations = div.getAnimations(); 150 135 assert_equals(animations.length, 0, 151 136 'getAnimations returns an empty sequence for an element' … … 159 144 }, 'getAnimations for CSS Animations with animation-name: none'); 160 145 161 test( function(t){162 vardiv = addDiv(t);146 test(t => { 147 const div = addDiv(t); 163 148 div.style.animation = 'missing 100s'; 164 varanimations = div.getAnimations();149 let animations = div.getAnimations(); 165 150 assert_equals(animations.length, 0, 166 151 'getAnimations returns an empty sequence for an element' … … 174 159 }, 'getAnimations for CSS Animations with animation-name: missing'); 175 160 176 promise_test( function(t){177 vardiv = addDiv(t);161 promise_test(async t => { 162 const div = addDiv(t); 178 163 div.style.animation = 'anim1 100s, notyet 100s'; 179 varanimations = div.getAnimations();164 let animations = div.getAnimations(); 180 165 assert_equals(animations.length, 1, 181 166 'getAnimations initally only returns Animations for CSS Animations whose' 182 167 + ' animation-name is found'); 183 168 184 return animations[0].ready.then(waitForFrame).then(function() { 185 var keyframes = '@keyframes notyet { to { left: 100px; } }'; 186 document.styleSheets[0].insertRule(keyframes, 0); 187 animations = div.getAnimations(); 188 assert_equals(animations.length, 2, 189 'getAnimations includes Animation when @keyframes rule is added' 190 + ' later'); 191 return waitForAllAnimations(animations); 192 }).then(function() { 193 assert_true(animations[0].startTime < animations[1].startTime, 194 'Newly added animation has a later start time'); 195 document.styleSheets[0].deleteRule(0); 196 }); 169 await animations[0].ready; 170 await waitForFrame(); 171 172 const keyframes = '@keyframes notyet { to { left: 100px; } }'; 173 document.styleSheets[0].insertRule(keyframes, 0); 174 animations = div.getAnimations(); 175 assert_equals(animations.length, 2, 176 'getAnimations includes Animation when @keyframes rule is added' 177 + ' later'); 178 await waitForAllAnimations(animations); 179 180 assert_true(animations[0].startTime < animations[1].startTime, 181 'Newly added animation has a later start time'); 182 document.styleSheets[0].deleteRule(0); 197 183 }, 'getAnimations for CSS Animations where the @keyframes rule is added' 198 184 + ' later'); 199 185 200 test( function(t){201 vardiv = addDiv(t);186 test(t => { 187 const div = addDiv(t); 202 188 div.style.animation = 'anim1 100s, anim1 100s'; 203 189 assert_equals(div.getAnimations().length, 2, … … 206 192 }, 'getAnimations for CSS Animations with duplicated animation-name'); 207 193 208 test( function(t){209 vardiv = addDiv(t);194 test(t => { 195 const div = addDiv(t); 210 196 div.style.animation = 'empty 100s'; 211 197 assert_equals(div.getAnimations().length, 1, … … 214 200 }, 'getAnimations for CSS Animations with empty keyframes rule'); 215 201 216 promise_test( function(t){217 vardiv = addDiv(t);202 promise_test(async t => { 203 const div = addDiv(t); 218 204 div.style.animation = 'anim1 100s 100s'; 219 varanimations = div.getAnimations();205 const animations = div.getAnimations(); 220 206 assert_equals(animations.length, 1, 221 207 'getAnimations returns animations for CSS animations whose' 222 208 + ' delay makes them start later'); 223 return animations[0].ready.then(waitForFrame).then(function() { 224 assert_true(animations[0].startTime <= document.timeline.currentTime, 225 'For CSS Animations in delay phase, the start time of the Animation is' 226 + ' not in the future'); 227 }); 209 await animations[0].ready; 210 await waitForFrame(); 211 212 assert_true(animations[0].startTime <= document.timeline.currentTime, 213 'For CSS Animations in delay phase, the start time of the Animation is' 214 + ' not in the future'); 228 215 }, 'getAnimations for CSS animations in delay phase'); 229 216 230 test( function(t){231 vardiv = addDiv(t);217 test(t => { 218 const div = addDiv(t); 232 219 div.style.animation = 'anim1 0s 100s'; 233 220 assert_equals(div.getAnimations().length, 1, … … 237 224 }, 'getAnimations for zero-duration CSS Animations'); 238 225 239 test( function(t){240 vardiv = addDiv(t);226 test(t => { 227 const div = addDiv(t); 241 228 div.style.animation = 'anim1 100s'; 242 varoriginalAnimation = div.getAnimations()[0];229 const originalAnimation = div.getAnimations()[0]; 243 230 244 231 // Update pause state (an Animation change) 245 232 div.style.animationPlayState = 'paused'; 246 varpendingAnimation = div.getAnimations()[0];233 const pendingAnimation = div.getAnimations()[0]; 247 234 assert_equals(pendingAnimation.playState, 'paused', 248 235 'animation\'s play state is updated'); … … 253 240 // Update duration (an Animation change) 254 241 div.style.animationDuration = '200s'; 255 var extendedAnimation = div.getAnimations()[0]; 256 // FIXME: Check extendedAnimation.effect.timing.duration has changed once the 257 // API is available 242 const extendedAnimation = div.getAnimations()[0]; 243 assert_equals( 244 extendedAnimation.effect.getTiming().duration, 245 200 * MS_PER_SEC, 246 'animation\'s duration has been updated' 247 ); 258 248 assert_equals(originalAnimation, extendedAnimation, 259 249 'getAnimations returns the same objects even when their' … … 261 251 }, 'getAnimations returns objects with the same identity'); 262 252 263 test( function(t){264 vardiv = addDiv(t);253 test(t => { 254 const div = addDiv(t); 265 255 div.style.animation = 'anim1 100s'; 266 256 267 257 assert_equals(div.getAnimations().length, 1, 268 'getAnimations returns an animation before cancel ling');269 270 varanimation = div.getAnimations()[0];258 'getAnimations returns an animation before canceling'); 259 260 const animation = div.getAnimations()[0]; 271 261 272 262 animation.cancel(); 273 263 assert_equals(div.getAnimations().length, 0, 274 'getAnimations does not return cancel led animations');264 'getAnimations does not return canceled animations'); 275 265 276 266 animation.play(); 277 267 assert_equals(div.getAnimations().length, 1, 278 'getAnimations returns cancel led animations that have been re-started');279 280 }, 'getAnimations for CSS Animations that are cancel led');281 282 promise_test( function(t){283 vardiv = addDiv(t);268 'getAnimations returns canceled animations that have been re-started'); 269 270 }, 'getAnimations for CSS Animations that are canceled'); 271 272 promise_test(async t => { 273 const div = addDiv(t); 284 274 div.style.animation = 'anim2 100s'; 285 275 286 return div.getAnimations()[0].ready.then(function() {287 // Prepend to the list and test that even though anim1 was triggered 288 // *after* anim2, it should come first because it appears first289 // in the animation-name property.290 div.style.animation = 'anim1 100s, anim2 100s';291 var anims = div.getAnimations();292 assert_equals(anims[0].animationName, 'anim1',293 'animation order after prepending to list');294 assert_equals(anims[1].animationName, 'anim2',295 'animation order after prepending to list');296 297 // Normally calling cancel and play would this push anim1 to the top of 298 // the stack but it shouldn't for CSS animations that map an the299 // animation-name property.300 var anim1 = anims[0];301 anim1.cancel();302 anim1.play();303 anims = div.getAnimations();304 assert_equals(anims[0].animationName, 'anim1',305 'animation order after cancelling and restarting');306 assert_equals(anims[1].animationName, 'anim2',307 'animation order after cancelling and restarting');308 });276 await div.getAnimations()[0].ready; 277 278 // Prepend to the list and test that even though anim1 was triggered 279 // *after* anim2, it should come first because it appears first 280 // in the animation-name property. 281 div.style.animation = 'anim1 100s, anim2 100s'; 282 let anims = div.getAnimations(); 283 assert_equals(anims[0].animationName, 'anim1', 284 'animation order after prepending to list'); 285 assert_equals(anims[1].animationName, 'anim2', 286 'animation order after prepending to list'); 287 288 // Normally calling cancel and play would this push anim1 to the top of 289 // the stack but it shouldn't for CSS animations that map an the 290 // animation-name property. 291 const anim1 = anims[0]; 292 anim1.cancel(); 293 anim1.play(); 294 anims = div.getAnimations(); 295 assert_equals(anims[0].animationName, 'anim1', 296 'animation order after canceling and restarting'); 297 assert_equals(anims[1].animationName, 'anim2', 298 'animation order after canceling and restarting'); 309 299 }, 'getAnimations for CSS Animations follows animation-name order'); 310 300 311 test( function(t){301 test(t => { 312 302 addStyle(t, { '#target::after': 'animation: anim1 10s;', 313 303 '#target::before': 'animation: anim1 10s;' }); 314 vartarget = addDiv(t, { 'id': 'target' });304 const target = addDiv(t, { 'id': 'target' }); 315 305 target.style.animation = 'anim1 100s'; 316 306 317 varanimations = target.getAnimations({ subtree: false });307 const animations = target.getAnimations({ subtree: false }); 318 308 assert_equals(animations.length, 1, 319 309 'Should find only the element'); 320 310 assert_equals(animations[0].effect.target, target, 321 311 'Effect target should be the element'); 322 }, 'Test AnimationFilter{ subtree: false } with single element'); 323 324 test(function(t) { 312 }, '{ subtree: false } on a leaf element returns the element\'s animations' 313 + ' and ignore pseudo-elements'); 314 315 test(t => { 325 316 addStyle(t, { '#target::after': 'animation: anim1 10s;', 326 317 '#target::before': 'animation: anim1 10s;' }); 327 vartarget = addDiv(t, { 'id': 'target' });318 const target = addDiv(t, { 'id': 'target' }); 328 319 target.style.animation = 'anim1 100s'; 329 320 330 varanimations = target.getAnimations({ subtree: true });321 const animations = target.getAnimations({ subtree: true }); 331 322 assert_equals(animations.length, 3, 332 323 'getAnimations({ subtree: true }) ' + … … 341 332 'The animation targeting the ::after pesudo-element ' + 342 333 'should be returned last'); 343 }, 'Test AnimationFilter{ subtree: true } with single element'); 344 345 test(function(t) { 334 }, '{ subtree: true } on a leaf element returns the element\'s animations' 335 + ' and its pseudo-elements\' animations'); 336 337 test(t => { 346 338 addStyle(t, { '#parent::after': 'animation: anim1 10s;', 347 339 '#parent::before': 'animation: anim1 10s;', 348 340 '#child::after': 'animation: anim1 10s;', 349 341 '#child::before': 'animation: anim1 10s;' }); 350 varparent = addDiv(t, { 'id': 'parent' });342 const parent = addDiv(t, { 'id': 'parent' }); 351 343 parent.style.animation = 'anim1 100s'; 352 varchild = addDiv(t, { 'id': 'child' });344 const child = addDiv(t, { 'id': 'child' }); 353 345 child.style.animation = 'anim1 100s'; 354 346 parent.appendChild(child); 355 347 356 varanimations = parent.getAnimations({ subtree: false });348 const animations = parent.getAnimations({ subtree: false }); 357 349 assert_equals(animations.length, 1, 358 350 'Should find only the element even if it has a child'); 359 351 assert_equals(animations[0].effect.target, parent, 360 352 'Effect target shuld be the element'); 361 }, 'Test AnimationFilter{ subtree: false } with element that has a child'); 362 363 test(function(t) { 353 }, '{ subtree: false } on an element with a child returns only the element\'s' 354 + ' animations'); 355 356 test(t => { 364 357 addStyle(t, { '#parent::after': 'animation: anim1 10s;', 365 358 '#parent::before': 'animation: anim1 10s;', 366 359 '#child::after': 'animation: anim1 10s;', 367 360 '#child::before': 'animation: anim1 10s;' }); 368 varparent = addDiv(t, { 'id': 'parent' });369 varchild = addDiv(t, { 'id': 'child' });361 const parent = addDiv(t, { 'id': 'parent' }); 362 const child = addDiv(t, { 'id': 'child' }); 370 363 parent.style.animation = 'anim1 100s'; 371 364 child.style.animation = 'anim1 100s'; 372 365 parent.appendChild(child); 373 366 374 varanimations = parent.getAnimations({ subtree: true });367 const animations = parent.getAnimations({ subtree: true }); 375 368 assert_equals(animations.length, 6, 376 369 'Should find all elements, pesudo-elements that parent has'); … … 382 375 'The animation targeting the ::before pseudo-element ' + 383 376 'should be returned second'); 384 assert_equals(animations[1].effect.target. parentElement, parent,377 assert_equals(animations[1].effect.target.element, parent, 385 378 'This ::before element should be child of parent element'); 386 379 assert_equals(animations[2].effect.target.type, '::after', 387 380 'The animation targeting the ::after pesudo-element ' + 388 381 'should be returned third'); 389 assert_equals(animations[2].effect.target. parentElement, parent,382 assert_equals(animations[2].effect.target.element, parent, 390 383 'This ::after element should be child of parent element'); 391 384 … … 396 389 'The animation targeting the ::before pseudo-element ' + 397 390 'should be returned fifth'); 398 assert_equals(animations[4].effect.target. parentElement, child,391 assert_equals(animations[4].effect.target.element, child, 399 392 'This ::before element should be child of child element'); 400 393 assert_equals(animations[5].effect.target.type, '::after', 401 394 'The animation targeting the ::after pesudo-element ' + 402 395 'should be returned last'); 403 assert_equals(animations[5].effect.target. parentElement, child,396 assert_equals(animations[5].effect.target.element, child, 404 397 'This ::after element should be child of child element'); 405 }, 'Test AnimationFilter{ subtree: true } with element that has a child'); 406 407 test(function(t) { 408 var parent = addDiv(t, { 'id': 'parent' }); 409 var child1 = addDiv(t, { 'id': 'child1' }); 410 var grandchild1 = addDiv(t, { 'id': 'grandchild1' }); 411 var grandchild2 = addDiv(t, { 'id': 'grandchild2' }); 412 var child2 = addDiv(t, { 'id': 'child2' }); 398 }, '{ subtree: true } on an element with a child returns animations from the' 399 + ' element, its pseudo-elements, its child and its child pseudo-elements'); 400 401 test(t => { 402 const parent = addDiv(t, { 'id': 'parent' }); 403 const child1 = addDiv(t, { 'id': 'child1' }); 404 const grandchild1 = addDiv(t, { 'id': 'grandchild1' }); 405 const grandchild2 = addDiv(t, { 'id': 'grandchild2' }); 406 const child2 = addDiv(t, { 'id': 'child2' }); 413 407 414 408 parent.style.animation = 'anim1 100s'; … … 423 417 parent.appendChild(child2); 424 418 425 varanimations = parent.getAnimations({ subtree: true });419 const animations = parent.getAnimations({ subtree: true }); 426 420 assert_equals( 427 421 parent.getAnimations({ subtree: true }).length, 5, … … 448 442 'should be returned last'); 449 443 450 }, 'Test AnimationFilter{ subtree: true } with element that has many descendant'); 444 }, '{ subtree: true } on an element with many descendants returns animations' 445 + ' from all the descendants'); 451 446 452 447 </script> 453 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/KeyframeEffect-getKeyframes.tentative-expected.txt
r251590 r251591 23 23 FAIL KeyframeEffect.getKeyframes() returns expected values for animations with CSS variables as keyframe values in a shorthand property assert_equals: properties on ComputedKeyframe #0 expected "composite,computedOffset,easing,marginBottom,marginLeft,marginRight,marginTop,offset" but got "composite,computedOffset,easing,offset" 24 24 FAIL KeyframeEffect.getKeyframes() returns expected values for animations with a CSS variable which is overriden by the value in keyframe assert_equals: properties on ComputedKeyframe #0 expected "color,composite,computedOffset,easing,offset" but got "composite,computedOffset,easing,offset" 25 FAIL KeyframeEffect.getKeyframes() returns expected values for animations with only custom property in a keyframe assert_equals: value for 'transform' on ComputedKeyframe #0 expected "translate(100px , 0px)" but got "none"25 FAIL KeyframeEffect.getKeyframes() returns expected values for animations with only custom property in a keyframe assert_equals: value for 'transform' on ComputedKeyframe #0 expected "translate(100px)" but got "none" 26 26 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/KeyframeEffect-getKeyframes.tentative.html
r251590 r251591 1 1 <!doctype html> 2 2 <meta charset=utf-8> 3 <script src="../../../resources/testharness.js"></script> 4 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../resources/testcommon.js"></script> 3 <title>KeyframeEffect.getKeyframes() for CSS animations</title> 4 <!-- TODO: Add a more specific link for this once it is specified. --> 5 <link rel="help" href="https://drafts.csswg.org/css-animations-2/"> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src="support/testcommon.js"></script> 6 9 <style> 7 10 @keyframes anim-empty { } … … 160 163 "use strict"; 161 164 162 function getKeyframes(e) { 163 return e.getAnimations()[0].effect.getKeyframes(); 164 } 165 166 function assert_frames_equal(a, b, name) { 165 const getKeyframes = elem => elem.getAnimations()[0].effect.getKeyframes(); 166 167 const assert_frames_equal = (a, b, name) => { 167 168 assert_equals(Object.keys(a).sort().toString(), 168 169 Object.keys(b).sort().toString(), 169 170 "properties on " + name); 170 for ( varp in a) {171 for (const p in a) { 171 172 if (p === 'offset' || p === 'computedOffset') { 172 173 assert_approx_equals(a[p], b[p], 0.00001, … … 176 177 } 177 178 } 178 } 179 }; 179 180 180 181 // animation-timing-function values to test with, where the value … … 196 197 ]; 197 198 198 test( function(t){199 vardiv = addDiv(t);199 test(t => { 200 const div = addDiv(t); 200 201 201 202 div.style.animation = 'anim-empty 100s'; … … 219 220 + ' of empty enimations'); 220 221 221 test( function(t){222 vardiv = addDiv(t);222 test(t => { 223 const div = addDiv(t); 223 224 224 225 div.style.animation = 'anim-simple 100s'; 225 varframes = getKeyframes(div);226 227 assert_equals(frames.length, 2, "number of frames"); 228 229 varexpected = [226 const frames = getKeyframes(div); 227 228 assert_equals(frames.length, 2, "number of frames"); 229 230 const expected = [ 230 231 { offset: 0, computedOffset: 0, easing: "ease", 231 232 color: "rgb(0, 0, 0)", composite: "auto" }, … … 234 235 ]; 235 236 236 for ( vari = 0; i < frames.length; i++) {237 for (let i = 0; i < frames.length; i++) { 237 238 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 238 239 } … … 240 241 + ' animation'); 241 242 242 test( function(t){243 kTimingFunctionValues.forEach(function(easing) {244 vardiv = addDiv(t);243 test(t => { 244 for (const easing of kTimingFunctionValues) { 245 const div = addDiv(t); 245 246 246 247 div.style.animation = 'anim-simple-three 100s ' + easing; 247 varframes = getKeyframes(div);248 const frames = getKeyframes(div); 248 249 249 250 assert_equals(frames.length, 3, "number of frames"); 250 251 251 for ( vari = 0; i < frames.length; i++) {252 for (let i = 0; i < frames.length; i++) { 252 253 assert_equals(frames[i].easing, easing, 253 254 "value for 'easing' on ComputedKeyframe #" + i); 254 255 } 255 } );256 } 256 257 }, 'KeyframeEffect.getKeyframes() returns frames with expected easing' 257 258 + ' values, when the easing comes from animation-timing-function on the' 258 259 + ' element'); 259 260 260 test( function(t){261 vardiv = addDiv(t);261 test(t => { 262 const div = addDiv(t); 262 263 263 264 div.style.animation = 'anim-simple-timing 100s'; 264 varframes = getKeyframes(div);265 const frames = getKeyframes(div); 265 266 266 267 assert_equals(frames.length, 3, "number of frames"); … … 274 275 + ' values, when the easing is specified on each keyframe'); 275 276 276 test( function(t){277 vardiv = addDiv(t);277 test(t => { 278 const div = addDiv(t); 278 279 279 280 div.style.animation = 'anim-simple-timing-some 100s step-start'; 280 varframes = getKeyframes(div);281 const frames = getKeyframes(div); 281 282 282 283 assert_equals(frames.length, 3, "number of frames"); … … 290 291 + ' values, when the easing is specified on some keyframes'); 291 292 292 test( function(t){293 vardiv = addDiv(t);293 test(t => { 294 const div = addDiv(t); 294 295 295 296 div.style.animation = 'anim-simple-shorthand 100s'; 296 varframes = getKeyframes(div);297 298 assert_equals(frames.length, 2, "number of frames"); 299 300 varexpected = [297 const frames = getKeyframes(div); 298 299 assert_equals(frames.length, 2, "number of frames"); 300 301 const expected = [ 301 302 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 302 303 marginBottom: "8px", marginLeft: "8px", … … 307 308 ]; 308 309 309 for ( vari = 0; i < frames.length; i++) {310 for (let i = 0; i < frames.length; i++) { 310 311 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 311 312 } … … 313 314 + ' animation that specifies a single shorthand property'); 314 315 315 test( function(t){316 vardiv = addDiv(t);316 test(t => { 317 const div = addDiv(t); 317 318 318 319 div.style.animation = 'anim-omit-to 100s'; 319 320 div.style.color = 'rgb(255, 255, 255)'; 320 varframes = getKeyframes(div);321 322 assert_equals(frames.length, 2, "number of frames"); 323 324 varexpected = [321 const frames = getKeyframes(div); 322 323 assert_equals(frames.length, 2, "number of frames"); 324 325 const expected = [ 325 326 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 326 327 color: "rgb(0, 0, 255)" }, … … 329 330 ]; 330 331 331 for ( vari = 0; i < frames.length; i++) {332 for (let i = 0; i < frames.length; i++) { 332 333 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 333 334 } … … 335 336 'animation with a 0% keyframe and no 100% keyframe'); 336 337 337 test( function(t){338 vardiv = addDiv(t);338 test(t => { 339 const div = addDiv(t); 339 340 340 341 div.style.animation = 'anim-omit-from 100s'; 341 342 div.style.color = 'rgb(255, 255, 255)'; 342 varframes = getKeyframes(div);343 344 assert_equals(frames.length, 2, "number of frames"); 345 346 varexpected = [343 const frames = getKeyframes(div); 344 345 assert_equals(frames.length, 2, "number of frames"); 346 347 const expected = [ 347 348 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 348 349 color: "rgb(255, 255, 255)" }, … … 351 352 ]; 352 353 353 for ( vari = 0; i < frames.length; i++) {354 for (let i = 0; i < frames.length; i++) { 354 355 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 355 356 } … … 357 358 'animation with a 100% keyframe and no 0% keyframe'); 358 359 359 test( function(t){360 vardiv = addDiv(t);360 test(t => { 361 const div = addDiv(t); 361 362 362 363 div.style.animation = 'anim-omit-from-to 100s'; 363 364 div.style.color = 'rgb(255, 255, 255)'; 364 varframes = getKeyframes(div);365 const frames = getKeyframes(div); 365 366 366 367 assert_equals(frames.length, 3, "number of frames"); 367 368 368 varexpected = [369 const expected = [ 369 370 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 370 371 color: "rgb(255, 255, 255)" }, … … 375 376 ]; 376 377 377 for ( vari = 0; i < frames.length; i++) {378 for (let i = 0; i < frames.length; i++) { 378 379 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 379 380 } … … 381 382 'animation with no 0% or 100% keyframe but with a 50% keyframe'); 382 383 383 test( function(t){384 vardiv = addDiv(t);384 test(t => { 385 const div = addDiv(t); 385 386 386 387 div.style.animation = 'anim-partially-omit-to 100s'; 387 388 div.style.marginTop = '250px'; 388 varframes = getKeyframes(div);389 390 assert_equals(frames.length, 2, "number of frames"); 391 392 varexpected = [389 const frames = getKeyframes(div); 390 391 assert_equals(frames.length, 2, "number of frames"); 392 393 const expected = [ 393 394 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 394 395 marginTop: '50px', marginBottom: '100px' }, … … 397 398 ]; 398 399 399 for ( vari = 0; i < frames.length; i++) {400 for (let i = 0; i < frames.length; i++) { 400 401 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 401 402 } … … 404 405 '!important rule is ignored)'); 405 406 406 test( function(t){407 vardiv = addDiv(t);407 test(t => { 408 const div = addDiv(t); 408 409 409 410 div.style.animation = 'anim-different-props 100s'; 410 varframes = getKeyframes(div);411 const frames = getKeyframes(div); 411 412 412 413 assert_equals(frames.length, 4, "number of frames"); 413 414 414 varexpected = [415 const expected = [ 415 416 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 416 417 color: "rgb(0, 0, 0)", marginTop: "8px" }, … … 423 424 ]; 424 425 425 for ( vari = 0; i < frames.length; i++) {426 for (let i = 0; i < frames.length; i++) { 426 427 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 427 428 } … … 430 431 'with the same easing function'); 431 432 432 test( function(t){433 vardiv = addDiv(t);433 test(t => { 434 const div = addDiv(t); 434 435 435 436 div.style.animation = 'anim-different-props-and-easing 100s'; 436 varframes = getKeyframes(div);437 const frames = getKeyframes(div); 437 438 438 439 assert_equals(frames.length, 4, "number of frames"); 439 440 440 varexpected = [441 const expected = [ 441 442 { offset: 0, computedOffset: 0, easing: "linear", composite: "auto", 442 443 color: "rgb(0, 0, 0)", marginTop: "8px" }, … … 449 450 ]; 450 451 451 for ( vari = 0; i < frames.length; i++) {452 for (let i = 0; i < frames.length; i++) { 452 453 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 453 454 } … … 456 457 'a different easing function on each'); 457 458 458 test( function(t){459 vardiv = addDiv(t);459 test(t => { 460 const div = addDiv(t); 460 461 461 462 div.style.animation = 'anim-merge-offset 100s'; 462 varframes = getKeyframes(div);463 464 assert_equals(frames.length, 2, "number of frames"); 465 466 varexpected = [463 const frames = getKeyframes(div); 464 465 assert_equals(frames.length, 2, "number of frames"); 466 467 const expected = [ 467 468 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 468 469 color: "rgb(0, 0, 0)", marginTop: "8px" }, … … 471 472 ]; 472 473 473 for ( vari = 0; i < frames.length; i++) {474 for (let i = 0; i < frames.length; i++) { 474 475 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 475 476 } … … 478 479 'the same easing function'); 479 480 480 test( function(t){481 vardiv = addDiv(t);481 test(t => { 482 const div = addDiv(t); 482 483 483 484 div.style.animation = 'anim-merge-offset-and-easing 100s'; 484 varframes = getKeyframes(div);485 const frames = getKeyframes(div); 485 486 486 487 assert_equals(frames.length, 3, "number of frames"); 487 488 488 varexpected = [489 const expected = [ 489 490 { offset: 0, computedOffset: 0, easing: "steps(1)", composite: "auto", 490 491 color: "rgb(0, 0, 0)", fontSize: "16px" }, … … 496 497 ]; 497 498 498 for ( vari = 0; i < frames.length; i++) {499 for (let i = 0; i < frames.length; i++) { 499 500 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 500 501 } … … 503 504 'different easing functions'); 504 505 505 test( function(t){506 vardiv = addDiv(t);506 test(t => { 507 const div = addDiv(t); 507 508 508 509 div.style.animation = 'anim-no-merge-equiv-easing 100s'; 509 varframes = getKeyframes(div);510 const frames = getKeyframes(div); 510 511 511 512 assert_equals(frames.length, 3, "number of frames"); 512 513 513 varexpected = [514 const expected = [ 514 515 { offset: 0, computedOffset: 0, easing: "steps(1)", composite: "auto", 515 516 marginTop: "0px", marginRight: "0px", marginBottom: "0px" }, … … 520 521 ]; 521 522 522 for ( vari = 0; i < frames.length; i++) {523 for (let i = 0; i < frames.length; i++) { 523 524 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 524 525 } … … 527 528 'different but equivalent easing functions'); 528 529 529 test( function(t){530 vardiv = addDiv(t);530 test(t => { 531 const div = addDiv(t); 531 532 532 533 div.style.animation = 'anim-overriding 100s'; 533 varframes = getKeyframes(div);534 const frames = getKeyframes(div); 534 535 535 536 assert_equals(frames.length, 6, "number of frames"); 536 537 537 varexpected = [538 const expected = [ 538 539 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 539 540 paddingTop: "30px" }, … … 550 551 ]; 551 552 552 for ( vari = 0; i < frames.length; i++) {553 for (let i = 0; i < frames.length; i++) { 553 554 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 554 555 } … … 559 560 // computed value for filter, "none", is correctly represented. 560 561 561 test( function(t){562 vardiv = addDiv(t);562 test(t => { 563 const div = addDiv(t); 563 564 564 565 div.style.animation = 'anim-filter 100s'; 565 varframes = getKeyframes(div);566 567 assert_equals(frames.length, 2, "number of frames"); 568 569 varexpected = [566 const frames = getKeyframes(div); 567 568 assert_equals(frames.length, 2, "number of frames"); 569 570 const expected = [ 570 571 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 571 572 filter: "none" }, … … 574 575 ]; 575 576 576 for ( vari = 0; i < frames.length; i++) {577 for (let i = 0; i < frames.length; i++) { 577 578 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 578 579 } … … 580 581 'animations with filter properties and missing keyframes'); 581 582 582 test( function(t){583 vardiv = addDiv(t);583 test(t => { 584 const div = addDiv(t); 584 585 585 586 div.style.animation = 'anim-filter-drop-shadow 100s'; 586 varframes = getKeyframes(div);587 588 assert_equals(frames.length, 2, "number of frames"); 589 590 varexpected = [587 const frames = getKeyframes(div); 588 589 assert_equals(frames.length, 2, "number of frames"); 590 591 const expected = [ 591 592 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 592 593 filter: "drop-shadow(rgb(0, 255, 0) 10px 10px 10px)" }, … … 595 596 ]; 596 597 597 for ( vari = 0; i < frames.length; i++) {598 for (let i = 0; i < frames.length; i++) { 598 599 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 599 600 } … … 605 606 // are correctly represented. 606 607 607 test( function(t){608 vardiv = addDiv(t);608 test(t => { 609 const div = addDiv(t); 609 610 610 611 div.style.textShadow = '1px 1px 2px rgb(0, 0, 0), ' + … … 612 613 '0 0 3.2px rgb(0, 0, 255)'; 613 614 div.style.animation = 'anim-text-shadow 100s'; 614 varframes = getKeyframes(div);615 616 assert_equals(frames.length, 2, "number of frames"); 617 618 varexpected = [615 const frames = getKeyframes(div); 616 617 assert_equals(frames.length, 2, "number of frames"); 618 619 const expected = [ 619 620 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 620 621 textShadow: "rgb(0, 0, 0) 1px 1px 2px," … … 625 626 ]; 626 627 627 for ( vari = 0; i < frames.length; i++) {628 for (let i = 0; i < frames.length; i++) { 628 629 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 629 630 } … … 635 636 // represented. 636 637 637 test( function(t){638 vardiv = addDiv(t);638 test(t => { 639 const div = addDiv(t); 639 640 640 641 div.style.animation = 'anim-background-size 100s'; 641 varframes = getKeyframes(div);642 643 assert_equals(frames.length, 2, "number of frames"); 644 645 varexpected = [646 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 647 backgroundSize: "auto auto" },648 { offset: 1, computedOffset: 1, easing: "ease", composite: "auto", 649 backgroundSize: "50% auto, 6px auto, contain" },650 ]; 651 652 for ( vari = 0; i < frames.length; i++) {642 let frames = getKeyframes(div); 643 644 assert_equals(frames.length, 2, "number of frames"); 645 646 const expected = [ 647 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 648 backgroundSize: "auto" }, 649 { offset: 1, computedOffset: 1, easing: "ease", composite: "auto", 650 backgroundSize: "50%, 6px, contain" }, 651 ]; 652 653 for (let i = 0; i < frames.length; i++) { 653 654 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 654 655 } … … 657 658 658 659 expected[0].backgroundSize = div.style.backgroundSize = 659 "30px auto, 40% auto, autoauto";660 "30px, 40%, auto"; 660 661 frames = getKeyframes(div); 661 662 662 for ( vari = 0; i < frames.length; i++) {663 for (let i = 0; i < frames.length; i++) { 663 664 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i 664 665 + " after updating current style"); … … 667 668 'animations with background-size properties and missing keyframes'); 668 669 669 test( function(t){670 vardiv = addDiv(t);670 test(t => { 671 const div = addDiv(t); 671 672 div.style.animation = 'anim-variables 100s'; 672 673 673 varframes = getKeyframes(div);674 675 assert_equals(frames.length, 2, "number of frames"); 676 677 varexpected = [674 const frames = getKeyframes(div); 675 676 assert_equals(frames.length, 2, "number of frames"); 677 678 const expected = [ 678 679 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 679 680 transform: "none" }, 680 681 { offset: 1, computedOffset: 1, easing: "ease", composite: "auto", 681 transform: "translate(100px , 0px)" },682 ]; 683 for ( vari = 0; i < frames.length; i++) {682 transform: "translate(100px)" }, 683 ]; 684 for (let i = 0; i < frames.length; i++) { 684 685 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 685 686 } … … 687 688 'animations with CSS variables as keyframe values'); 688 689 689 test( function(t){690 vardiv = addDiv(t);690 test(t => { 691 const div = addDiv(t); 691 692 div.style.animation = 'anim-variables-shorthand 100s'; 692 693 693 varframes = getKeyframes(div);694 695 assert_equals(frames.length, 2, "number of frames"); 696 697 varexpected = [694 const frames = getKeyframes(div); 695 696 assert_equals(frames.length, 2, "number of frames"); 697 698 const expected = [ 698 699 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 699 700 marginBottom: "0px", … … 707 708 marginTop: "100px" }, 708 709 ]; 709 for ( vari = 0; i < frames.length; i++) {710 for (let i = 0; i < frames.length; i++) { 710 711 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 711 712 } … … 713 714 'animations with CSS variables as keyframe values in a shorthand property'); 714 715 715 test( function(t){716 vardiv = addDiv(t);716 test(t => { 717 const div = addDiv(t); 717 718 div.style.animation = 'anim-custom-property-in-keyframe 100s'; 718 719 719 varframes = getKeyframes(div);720 721 assert_equals(frames.length, 2, "number of frames"); 722 723 varexpected = [720 const frames = getKeyframes(div); 721 722 assert_equals(frames.length, 2, "number of frames"); 723 724 const expected = [ 724 725 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 725 726 color: "rgb(0, 0, 0)" }, … … 727 728 color: "rgb(0, 255, 0)" }, 728 729 ]; 729 for ( vari = 0; i < frames.length; i++) {730 for (let i = 0; i < frames.length; i++) { 730 731 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 731 732 } … … 733 734 'animations with a CSS variable which is overriden by the value in keyframe'); 734 735 735 test( function(t){736 vardiv = addDiv(t);736 test(t => { 737 const div = addDiv(t); 737 738 div.style.animation = 'anim-only-custom-property-in-keyframe 100s'; 738 739 739 varframes = getKeyframes(div);740 741 assert_equals(frames.length, 2, "number of frames"); 742 743 varexpected = [744 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 745 transform: "translate(100px , 0px)" },740 const frames = getKeyframes(div); 741 742 assert_equals(frames.length, 2, "number of frames"); 743 744 const expected = [ 745 { offset: 0, computedOffset: 0, easing: "ease", composite: "auto", 746 transform: "translate(100px)" }, 746 747 { offset: 1, computedOffset: 1, easing: "ease", composite: "auto", 747 748 transform: "none" }, 748 749 ]; 749 for ( vari = 0; i < frames.length; i++) {750 for (let i = 0; i < frames.length; i++) { 750 751 assert_frames_equal(frames[i], expected[i], "ComputedKeyframe #" + i); 751 752 } -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/KeyframeEffect-target.tentative.html
r251590 r251591 1 1 <!doctype html> 2 2 <meta charset=utf-8> 3 <script src="../../../resources/testharness.js"></script> 4 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../resources/testcommon.js"></script> 3 <title>CSSAnimation.effect.target</title> 4 <!-- TODO: Add a more specific link for this once it is specified. --> 5 <link rel="help" href="https://drafts.csswg.org/css-animations-2/"> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src="support/testcommon.js"></script> 6 9 <style> 7 10 @keyframes anim { } … … 13 16 } 14 17 </style> 15 <body>16 18 <div id="log"></div> 17 19 <script> 18 20 'use strict'; 19 21 20 test( function(t){21 vardiv = addDiv(t);22 test(t => { 23 const div = addDiv(t); 22 24 div.style.animation = 'anim 100s'; 23 varanimation = div.getAnimations()[0];25 const animation = div.getAnimations()[0]; 24 26 assert_equals(animation.effect.target, div, 25 27 'Animation.target is the animatable div'); 26 28 }, 'Returned CSS animations have the correct effect target'); 27 29 28 test( function(t){30 test(t => { 29 31 addStyle(t, { '.after::after': 'animation: anim 10s, anim 100s;' }); 30 vardiv = addDiv(t, { class: 'after' });31 varanims = document.getAnimations();32 const div = addDiv(t, { class: 'after' }); 33 const anims = document.getAnimations(); 32 34 assert_equals(anims.length, 2, 33 35 'Got animations running on ::after pseudo element'); … … 36 38 }, 'effect.target should return the same CSSPseudoElement object each time'); 37 39 38 test( function(t){40 test(t => { 39 41 addStyle(t, { '.after::after': 'animation: anim 10s;' }); 40 vardiv = addDiv(t, { class: 'after' });41 varpseudoTarget = document.getAnimations()[0].effect.target;42 vareffect = new KeyframeEffect(pseudoTarget,43 { background: ["blue", "red"] },44 3 * MS_PER_SEC);45 varnewAnim = new Animation(effect, document.timeline);42 const div = addDiv(t, { class: 'after' }); 43 const pseudoTarget = document.getAnimations()[0].effect.target; 44 const effect = new KeyframeEffect(pseudoTarget, 45 { background: ["blue", "red"] }, 46 3 * MS_PER_SEC); 47 const newAnim = new Animation(effect, document.timeline); 46 48 newAnim.play(); 47 varanims = document.getAnimations();49 const anims = document.getAnimations(); 48 50 assert_equals(anims.length, 2, 49 51 'Got animations running on ::after pseudo element'); … … 60 62 61 63 </script> 62 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animationevent-interface-expected.txt
r251573 r251591 15 15 FAIL AnimationEvent.pseudoElement initialized from the dictionary assert_equals: expected (string) "::testPseudo" but got (undefined) undefined 16 16 PASS animationName set to 'sample' 17 PASS animationName set to undefined 18 PASS animationName set to null 19 PASS animationName set to false 20 PASS animationName set to true 21 PASS animationName set to a number 22 PASS animationName set to [] 23 PASS animationName set to [1, 2, 3] 24 PASS animationName set to an object 25 PASS animationName set to an object with a valueOf function 17 26 PASS elapsedTime set to 0.5 27 PASS elapsedTime set to -0.5 28 PASS elapsedTime set to undefined 29 PASS elapsedTime set to null 30 PASS elapsedTime set to false 31 PASS elapsedTime set to true 32 PASS elapsedTime set to '' 33 PASS elapsedTime set to [] 34 PASS elapsedTime set to [0.5] 35 PASS elapsedTime set to an object with a valueOf function 36 PASS elapsedTime cannot be set to NaN 37 PASS elapsedTime cannot be set to Infinity 38 PASS elapsedTime cannot be set to -Infinity 39 PASS elapsedTime cannot be set to 'sample' 40 PASS elapsedTime cannot be set to [0.5, 1.0] 41 PASS elapsedTime cannot be set to an object 18 42 PASS AnimationEventInit properties set value 19 43 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animationevent-interface.js
r251573 r251591 80 80 81 81 test(function() { 82 var event = new AnimationEvent("test", {animationName: undefined}); 83 assert_equals(event.animationName, ""); 84 }, "animationName set to undefined"); 85 86 test(function() { 87 var event = new AnimationEvent("test", {animationName: null}); 88 assert_equals(event.animationName, "null"); 89 }, "animationName set to null"); 90 91 test(function() { 92 var event = new AnimationEvent("test", {animationName: false}); 93 assert_equals(event.animationName, "false"); 94 }, "animationName set to false"); 95 96 test(function() { 97 var event = new AnimationEvent("test", {animationName: true}); 98 assert_equals(event.animationName, "true"); 99 }, "animationName set to true"); 100 101 test(function() { 102 var event = new AnimationEvent("test", {animationName: 0.5}); 103 assert_equals(event.animationName, "0.5"); 104 }, "animationName set to a number"); 105 106 test(function() { 107 var event = new AnimationEvent("test", {animationName: []}); 108 assert_equals(event.animationName, ""); 109 }, "animationName set to []"); 110 111 test(function() { 112 var event = new AnimationEvent("test", {animationName: [1, 2, 3]}); 113 assert_equals(event.animationName, "1,2,3"); 114 }, "animationName set to [1, 2, 3]"); 115 116 test(function() { 117 var event = new AnimationEvent("test", {animationName: {sample: 0.5}}); 118 assert_equals(event.animationName, "[object Object]"); 119 }, "animationName set to an object"); 120 121 test(function() { 122 var event = new AnimationEvent("test", 123 {animationName: {valueOf: function () { return 'sample'; }}}); 124 assert_equals(event.animationName, "[object Object]"); 125 }, "animationName set to an object with a valueOf function"); 126 127 test(function() { 82 128 var event = new AnimationEvent("test", {elapsedTime: 0.5}); 83 129 assert_equals(event.elapsedTime, 0.5); 84 130 }, "elapsedTime set to 0.5"); 131 132 test(function() { 133 var event = new AnimationEvent("test", {elapsedTime: -0.5}); 134 assert_equals(event.elapsedTime, -0.5); 135 }, "elapsedTime set to -0.5"); 136 137 test(function() { 138 var event = new AnimationEvent("test", {elapsedTime: undefined}); 139 assert_equals(event.elapsedTime, 0); 140 }, "elapsedTime set to undefined"); 141 142 test(function() { 143 var event = new AnimationEvent("test", {elapsedTime: null}); 144 assert_equals(event.elapsedTime, 0); 145 }, "elapsedTime set to null"); 146 147 test(function() { 148 var event = new AnimationEvent("test", {elapsedTime: false}); 149 assert_equals(event.elapsedTime, 0); 150 }, "elapsedTime set to false"); 151 152 test(function() { 153 var event = new AnimationEvent("test", {elapsedTime: true}); 154 assert_equals(event.elapsedTime, 1); 155 }, "elapsedTime set to true"); 156 157 test(function() { 158 var event = new AnimationEvent("test", {elapsedTime: ""}); 159 assert_equals(event.elapsedTime, 0); 160 }, "elapsedTime set to ''"); 161 162 test(function() { 163 var event = new AnimationEvent("test", {elapsedTime: []}); 164 assert_equals(event.elapsedTime, 0); 165 }, "elapsedTime set to []"); 166 167 test(function() { 168 var event = new AnimationEvent("test", {elapsedTime: [0.5]}); 169 assert_equals(event.elapsedTime, 0.5); 170 }, "elapsedTime set to [0.5]"); 171 172 test(function() { 173 var event = new AnimationEvent( 174 "test", {elapsedTime: { valueOf: function() { return 0.5; }}}); 175 assert_equals(event.elapsedTime, 0.5); 176 }, "elapsedTime set to an object with a valueOf function"); 177 178 test(function() { 179 assert_throws(new TypeError(), function() { 180 new AnimationEvent("test", {elapsedTime: NaN}); 181 }, 'elapsedTime cannot be NaN so was expecting a TypeError'); 182 }, "elapsedTime cannot be set to NaN"); 183 184 test(function() { 185 assert_throws(new TypeError(), function() { 186 new AnimationEvent("test", {elapsedTime: Infinity}); 187 }, 'elapsedTime cannot be Infinity so was expecting a TypeError'); 188 }, "elapsedTime cannot be set to Infinity"); 189 190 test(function() { 191 assert_throws(new TypeError(), function() { 192 new AnimationEvent("test", {elapsedTime: -Infinity}); 193 }, 'elapsedTime cannot be -Infinity so was expecting a TypeError'); 194 }, "elapsedTime cannot be set to -Infinity"); 195 196 test(function() { 197 assert_throws(new TypeError(), function() { 198 new AnimationEvent("test", {elapsedTime: "sample"}); 199 }, 'elapsedTime cannot be a string so was expecting a TypeError'); 200 }, "elapsedTime cannot be set to 'sample'"); 201 202 test(function() { 203 assert_throws(new TypeError(), function() { 204 new AnimationEvent("test", {elapsedTime: [0.5, 1.0]}); 205 }, 'elapsedTime cannot be a multi-element array so was expecting a TypeError'); 206 }, "elapsedTime cannot be set to [0.5, 1.0]"); 207 208 test(function() { 209 assert_throws(new TypeError(), function() { 210 new AnimationEvent("test", {elapsedTime: { sample: 0.5}}); 211 }, 'elapsedTime cannot be an object so was expecting a TypeError'); 212 }, "elapsedTime cannot be set to an object"); 85 213 86 214 test(function() { -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/event-dispatch.tentative-expected.txt
r251590 r251591 15 15 PASS Active -> Idle -> Active: animationstart is fired by restarting animation 16 16 PASS Negative playbackRate sanity test(Before -> Active -> Before) 17 PASS Call Animation.cancel after cancelling animation. 18 PASS Restart animation after cancelling animation immediately. 17 PASS Redundant change, before -> active, then back 18 PASS Redundant change, before -> after, then back 19 PASS Redundant change, active -> before, then back 20 PASS Redundant change, active -> after, then back 21 PASS Redundant change, after -> before, then back 22 PASS Redundant change, after -> active, then back 23 PASS Call Animation.cancel after canceling animation. 24 PASS Restart animation after canceling animation immediately. 19 25 PASS Call Animation.cancel after restarting animation immediately. 20 26 PASS Set timeline and play transition after clearing the timeline. 21 PASS Set null target effect after cancel ling the animation.27 PASS Set null target effect after canceling the animation. 22 28 PASS Cancel the animation after clearing the target effect. 23 29 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/responsive/w3c-import.log
r251590 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/responsive/column-rule-color-001.html 18 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/responsive/column-width-001.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js
r251573 r251591 104 104 /** 105 105 * Waits for a requestAnimationFrame callback in the next refresh driver tick. 106 * Note that 'dom.animations-api.core.enabled' pref should be true to use this107 * function.108 106 */ 109 107 function waitForNextFrame() { -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/w3c-import.log
r251573 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-animations/w3c-import.log
r251573 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/OWNERS 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/AnimationEffect-getComputedTiming.tentative.html 18 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-animationName.tentative.html 19 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-canceling.tentative.html 20 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-effect.tentative.html 21 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-finished.tentative.html 22 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-getCurrentTime.tentative.html 23 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-id.tentative.html 24 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-pausing.tentative.html 25 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-playState.tentative.html 26 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-ready.tentative.html 27 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-startTime.tentative.html 28 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/CSSPseudoElement-getAnimations.tentative.html 29 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/Document-getAnimations.tentative.html 30 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/Element-getAnimations-dynamic-changes.tentative.html 31 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/Element-getAnimations.tentative.html 32 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/KeyframeEffect-getKeyframes.tentative.html 33 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/KeyframeEffect-target.tentative.html 34 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/META.yml 18 35 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-delay-008-expected.html 19 36 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-delay-008.html … … 25 42 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-delay-011.html 26 43 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-iteration-count-calc.html 44 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-opacity-pause-and-set-time-expected.html 45 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-opacity-pause-and-set-time.html 46 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-pseudo-dynamic-001-expected.html 47 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-pseudo-dynamic-001.html 48 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-transform-pause-and-set-time-expected.html 49 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animation-transform-pause-and-set-time.html 27 50 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animationevent-interface.html 28 51 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animationevent-interface.js 52 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animationevent-marker-pseudoelement.html 29 53 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animationevent-pseudoelement.html 30 54 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/animationevent-types.html 55 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/computed-style-animation-parsing.html 56 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/event-dispatch.tentative.html 57 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/event-order.tentative.html 58 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/historical.html 59 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/idlharness.html 60 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/inheritance.html 61 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/keyframes-remove-documentElement-crash.html 31 62 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/pending-style-changes-001.html 63 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/style-animation-parsing.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/AnimationEffect-getComputedTiming.tentative-expected.txt
r251590 r251591 9 9 PASS duration of a new transition 10 10 PASS direction of a new transition 11 PASS easing of a new transition 11 FAIL easing of a new transition assert_equals: Initial value of easing expected "ease" but got "linear" 12 FAIL non-default easing of a new transition assert_equals: Initial value of easing expected "steps(4)" but got "linear" 12 13 PASS endTime of a new transition 13 14 PASS activeDuration of a new transition -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/AnimationEffect-getComputedTiming.tentative.html
r251590 r251591 1 1 <!doctype html> 2 2 <meta charset=utf-8> 3 <script src="../../../resources/testharness.js"></script> 4 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../resources/testcommon.js"></script> 3 <title>AnimationEffect.getComputedTiming() for CSS transitions</title> 4 <!-- TODO: Add a more specific link for this once it is specified. --> 5 <link rel="help" href="https://drafts.csswg.org/css-transitions-2/#csstransition"> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src="support/helper.js"></script> 6 9 <style> 7 10 … … 11 14 12 15 </style> 13 <body>14 16 <div id="log"></div> 15 17 <script> … … 17 19 'use strict'; 18 20 21 19 22 // -------------------- 20 23 // delay 21 24 // -------------------- 22 test(function(t) { 23 var div = addDiv(t, {'class': 'animated-div'}); 24 div.style.transition = 'margin-left 10s'; 25 flushComputedStyle(div); 26 div.style.marginLeft = '10px'; 27 28 29 var effect = div.getAnimations()[0].effect; 30 assert_equals(effect.getComputedTiming().delay, 0, 31 'Initial value of delay'); 25 26 test(t => { 27 const div = addDiv(t, { class: 'animated-div' }); 28 div.style.transition = 'margin-left 10s'; 29 getComputedStyle(div).marginLeft; 30 div.style.marginLeft = '10px'; 31 32 const effect = div.getAnimations()[0].effect; 33 assert_equals(effect.getComputedTiming().delay, 0, 'Initial value of delay'); 32 34 }, 'delay of a new tranisition'); 33 35 34 test( function(t){35 var div = addDiv(t, {'class': 'animated-div'});36 test(t => { 37 const div = addDiv(t, { class: 'animated-div' }); 36 38 div.style.transition = 'margin-left 10s 10s'; 37 flushComputedStyle(div);38 div.style.marginLeft = '10px'; 39 40 vareffect = div.getAnimations()[0].effect;39 getComputedStyle(div).marginLeft; 40 div.style.marginLeft = '10px'; 41 42 const effect = div.getAnimations()[0].effect; 41 43 assert_equals(effect.getComputedTiming().delay, 10000, 42 44 'Initial value of delay'); 43 45 }, 'Positive delay of a new transition'); 44 46 45 test( function(t){46 var div = addDiv(t, {'class': 'animated-div'});47 test(t => { 48 const div = addDiv(t, { class: 'animated-div' }); 47 49 div.style.transition = 'margin-left 10s -5s'; 48 flushComputedStyle(div);49 div.style.marginLeft = '10px'; 50 51 vareffect = div.getAnimations()[0].effect;50 getComputedStyle(div).marginLeft; 51 div.style.marginLeft = '10px'; 52 53 const effect = div.getAnimations()[0].effect; 52 54 assert_equals(effect.getComputedTiming().delay, -5000, 53 55 'Initial value of delay'); … … 58 60 // endDelay 59 61 // -------------------- 60 test(function(t) { 61 var div = addDiv(t, {'class': 'animated-div'}); 62 div.style.transition = 'margin-left 10s'; 63 flushComputedStyle(div); 64 div.style.marginLeft = '10px'; 65 66 var effect = div.getAnimations()[0].effect; 62 63 test(t => { 64 const div = addDiv(t, { class: 'animated-div' }); 65 div.style.transition = 'margin-left 10s'; 66 getComputedStyle(div).marginLeft; 67 div.style.marginLeft = '10px'; 68 69 const effect = div.getAnimations()[0].effect; 67 70 assert_equals(effect.getComputedTiming().endDelay, 0, 68 71 'Initial value of endDelay'); … … 73 76 // fill 74 77 // -------------------- 75 test(function(t) { 76 var div = addDiv(t, {'class': 'animated-div'}); 77 div.style.transition = 'margin-left 10s';78 flushComputedStyle(div);79 div.style.marginLeft = '10px';80 81 var effect = div.getAnimations()[0].effect; 82 assert_equals(effect.getComputedTiming().fill, 'backwards',83 'Fill backwards');78 79 test(t => { 80 const div = addDiv(t, { class: 'animated-div' }); 81 div.style.transition = 'margin-left 10s'; 82 getComputedStyle(div).marginLeft; 83 div.style.marginLeft = '10px'; 84 85 const effect = div.getAnimations()[0].effect; 86 assert_equals(effect.getComputedTiming().fill, 'backwards', 'Fill backwards'); 84 87 }, 'fill of a new transition'); 85 88 … … 88 91 // iterationStart 89 92 // -------------------- 90 test(function(t) { 91 var div = addDiv(t, {'class': 'animated-div'}); 92 div.style.transition = 'margin-left 10s'; 93 flushComputedStyle(div); 94 div.style.marginLeft = '10px'; 95 96 var effect = div.getAnimations()[0].effect; 93 94 test(t => { 95 const div = addDiv(t, { class: 'animated-div' }); 96 div.style.transition = 'margin-left 10s'; 97 getComputedStyle(div).marginLeft; 98 div.style.marginLeft = '10px'; 99 100 const effect = div.getAnimations()[0].effect; 97 101 assert_equals(effect.getComputedTiming().iterationStart, 0, 98 102 'Initial value of iterationStart'); … … 103 107 // iterations 104 108 // -------------------- 105 test(function(t) { 106 var div = addDiv(t, {'class': 'animated-div'}); 107 div.style.transition = 'margin-left 10s'; 108 flushComputedStyle(div); 109 div.style.marginLeft = '10px'; 110 111 var effect = div.getAnimations()[0].effect; 109 110 test(t => { 111 const div = addDiv(t, { class: 'animated-div' }); 112 div.style.transition = 'margin-left 10s'; 113 getComputedStyle(div).marginLeft; 114 div.style.marginLeft = '10px'; 115 116 const effect = div.getAnimations()[0].effect; 112 117 assert_equals(effect.getComputedTiming().iterations, 1, 113 118 'Initial value of iterations'); … … 118 123 // duration 119 124 // -------------------- 120 test(function(t) { 121 var div = addDiv(t, {'class': 'animated-div'}); 122 div.style.transition = 'margin-left 10s'; 123 flushComputedStyle(div); 124 div.style.marginLeft = '10px'; 125 126 var effect = div.getAnimations()[0].effect; 125 126 test(t => { 127 const div = addDiv(t, { class: 'animated-div' }); 128 div.style.transition = 'margin-left 10s'; 129 getComputedStyle(div).marginLeft; 130 div.style.marginLeft = '10px'; 131 132 const effect = div.getAnimations()[0].effect; 127 133 assert_equals(effect.getComputedTiming().duration, 10000, 128 134 'Initial value of duration'); … … 133 139 // direction 134 140 // -------------------- 135 test(function(t) { 136 var div = addDiv(t, {'class': 'animated-div'}); 137 div.style.transition = 'margin-left 10s'; 138 flushComputedStyle(div); 139 div.style.marginLeft = '10px'; 140 141 var effect = div.getAnimations()[0].effect; 141 142 test(t => { 143 const div = addDiv(t, { class : 'animated-div' }); 144 div.style.transition = 'margin-left 10s'; 145 getComputedStyle(div).marginLeft; 146 div.style.marginLeft = '10px'; 147 148 const effect = div.getAnimations()[0].effect; 142 149 assert_equals(effect.getComputedTiming().direction, 'normal', 143 150 'Initial value of direction'); … … 148 155 // easing 149 156 // -------------------- 150 test(function(t) { 151 var div = addDiv(t, {'class': 'animated-div'}); 152 div.style.transition = 'margin-left 10s'; 153 flushComputedStyle(div); 154 div.style.marginLeft = '10px'; 155 156 var effect = div.getAnimations()[0].effect; 157 assert_equals(effect.getComputedTiming().easing, 'linear', 157 158 test(t => { 159 const div = addDiv(t, { class: 'animated-div' }); 160 div.style.transition = 'margin-left 10s'; 161 getComputedStyle(div).marginLeft; 162 div.style.marginLeft = '10px'; 163 164 const effect = div.getAnimations()[0].effect; 165 assert_equals(effect.getComputedTiming().easing, 'ease', 158 166 'Initial value of easing'); 159 167 }, 'easing of a new transition'); 168 169 test(t => { 170 const div = addDiv(t, { class: 'animated-div' }); 171 div.style.transition = 'margin-left 10s steps(4)'; 172 getComputedStyle(div).marginLeft; 173 div.style.marginLeft = '10px'; 174 175 const effect = div.getAnimations()[0].effect; 176 assert_equals(effect.getComputedTiming().easing, 'steps(4)', 177 'Initial value of easing'); 178 }, 'non-default easing of a new transition'); 160 179 161 180 … … 164 183 // = max(start delay + active duration + end delay, 0) 165 184 // -------------------- 166 test(function(t) { 167 var div = addDiv(t, {'class': 'animated-div'}); 185 186 test(t => { 187 const div = addDiv(t, { class: 'animated-div' }); 168 188 div.style.transition = 'margin-left 100s -5s'; 169 flushComputedStyle(div);170 div.style.marginLeft = '10px'; 171 172 vareffect = div.getAnimations()[0].effect;173 varanswer = 100000 - 5000; // ms189 getComputedStyle(div).marginLeft; 190 div.style.marginLeft = '10px'; 191 192 const effect = div.getAnimations()[0].effect; 193 const answer = 100000 - 5000; // ms 174 194 assert_equals(effect.getComputedTiming().endTime, answer, 175 195 'Initial value of endTime'); … … 181 201 // = iteration duration * iteration count(==1) 182 202 // -------------------- 183 test(function(t) { 184 var div = addDiv(t, {'class': 'animated-div'}); 203 204 test(t => { 205 const div = addDiv(t, { class: 'animated-div' }); 185 206 div.style.transition = 'margin-left 100s -5s'; 186 flushComputedStyle(div);187 div.style.marginLeft = '10px'; 188 189 vareffect = div.getAnimations()[0].effect;207 getComputedStyle(div).marginLeft; 208 div.style.marginLeft = '10px'; 209 210 const effect = div.getAnimations()[0].effect; 190 211 assert_equals(effect.getComputedTiming().activeDuration, 100000, 191 212 'Initial value of activeDuration'); … … 196 217 // localTime 197 218 // -------------------- 198 test(function(t) { 199 var div = addDiv(t, {'class': 'animated-div'}); 219 220 test(t => { 221 const div = addDiv(t, { class: 'animated-div' }); 200 222 div.style.transition = 'margin-left 100s'; 201 flushComputedStyle(div);202 div.style.marginLeft = '10px'; 203 204 vareffect = div.getAnimations()[0].effect;223 getComputedStyle(div).marginLeft; 224 div.style.marginLeft = '10px'; 225 226 const effect = div.getAnimations()[0].effect; 205 227 assert_equals(effect.getComputedTiming().localTime, 0, 206 228 'Initial value of localTime'); 207 229 }, 'localTime of a new transition'); 208 230 209 test( function(t){210 var div = addDiv(t, {'class': 'animated-div'});231 test(t => { 232 const div = addDiv(t, { class: 'animated-div' }); 211 233 div.style.transition = 'margin-left 100s'; 212 flushComputedStyle(div);213 div.style.marginLeft = '10px'; 214 215 varanim = div.getAnimations()[0];234 getComputedStyle(div).marginLeft; 235 div.style.marginLeft = '10px'; 236 237 const anim = div.getAnimations()[0]; 216 238 anim.currentTime = 5000; 217 239 assert_equals(anim.effect.getComputedTiming().localTime, anim.currentTime, … … 219 241 }, 'localTime is always equal to currentTime'); 220 242 221 async_test(function(t){222 var div = addDiv(t, {'class': 'animated-div'});243 promise_test(async t => { 244 const div = addDiv(t, { class: 'animated-div' }); 223 245 div.style.transition = 'margin-left 100s'; 224 flushComputedStyle(div);225 div.style.marginLeft = '10px'; 226 227 varanim = div.getAnimations()[0];246 getComputedStyle(div).marginLeft; 247 div.style.marginLeft = '10px'; 248 249 const anim = div.getAnimations()[0]; 228 250 anim.playbackRate = 2; // 2 times faster 229 251 230 a nim.ready.then(t.step_func(function() {231 assert_equals(anim.effect.getComputedTiming().localTime, anim.currentTime, 232 'localTime is equal to currentTime');233 return waitForFrame();234 })).then(t.step_func_done(function() {235 assert_equals(anim.effect.getComputedTiming().localTime, anim.currentTime, 236 'localTime is equal to currentTime');237 }));252 await anim.ready; 253 254 assert_equals(anim.effect.getComputedTiming().localTime, anim.currentTime, 255 'localTime is equal to currentTime'); 256 await waitForFrame(); 257 258 assert_equals(anim.effect.getComputedTiming().localTime, anim.currentTime, 259 'localTime is equal to currentTime'); 238 260 }, 'localTime reflects playbackRate immediately'); 239 261 … … 242 264 // progress 243 265 // -------------------- 244 test(function(t) { 245 var div = addDiv(t, {'class': 'animated-div'}); 266 267 test(t => { 268 const div = addDiv(t, { class: 'animated-div' }); 246 269 div.style.transition = 'margin-left 10.5s'; 247 flushComputedStyle(div);248 div.style.marginLeft = '10px'; 249 250 vareffect = div.getAnimations()[0].effect;270 getComputedStyle(div).marginLeft; 271 div.style.marginLeft = '10px'; 272 273 const effect = div.getAnimations()[0].effect; 251 274 assert_equals(effect.getComputedTiming().progress, 0.0, 252 275 'Initial value of progress'); 253 276 }, 'progress of a new transition'); 254 277 255 test( function(t){256 var div = addDiv(t, {'class': 'animated-div'});278 test(t => { 279 const div = addDiv(t, { class: 'animated-div' }); 257 280 div.style.transition = 'margin-left 10.5s 2s'; 258 flushComputedStyle(div);259 div.style.marginLeft = '10px'; 260 261 vareffect = div.getAnimations()[0].effect;281 getComputedStyle(div).marginLeft; 282 div.style.marginLeft = '10px'; 283 284 const effect = div.getAnimations()[0].effect; 262 285 assert_equals(effect.getComputedTiming().progress, 0.0, 263 286 'Initial value of progress'); 264 287 }, 'progress of a new transition with positive delay in before phase'); 265 288 266 test( function(t){267 var div = addDiv(t, {'class': 'animated-div'});289 test(t => { 290 const div = addDiv(t, { class: 'animated-div' }); 268 291 div.style.transition = 'margin-left 10.5s'; 269 flushComputedStyle(div);270 div.style.marginLeft = '10px'; 271 272 varanim = div.getAnimations()[0];273 anim.finish() 292 getComputedStyle(div).marginLeft; 293 div.style.marginLeft = '10px'; 294 295 const anim = div.getAnimations()[0]; 296 anim.finish(); 274 297 assert_equals(anim.effect.getComputedTiming().progress, null, 275 298 'finished progress'); … … 280 303 // currentIteration 281 304 // -------------------- 282 test(function(t) { 283 var div = addDiv(t, {'class': 'animated-div'}); 284 div.style.transition = 'margin-left 10s'; 285 flushComputedStyle(div); 286 div.style.marginLeft = '10px'; 287 288 var effect = div.getAnimations()[0].effect; 305 306 test(t => { 307 const div = addDiv(t, { class: 'animated-div' }); 308 div.style.transition = 'margin-left 10s'; 309 getComputedStyle(div).marginLeft; 310 div.style.marginLeft = '10px'; 311 312 const effect = div.getAnimations()[0].effect; 289 313 assert_equals(effect.getComputedTiming().currentIteration, 0, 290 314 'Initial value of currentIteration'); 291 315 }, 'currentIteration of a new transition'); 292 316 293 test( function(t){294 var div = addDiv(t, {'class': 'animated-div'});317 test(t => { 318 const div = addDiv(t, { class: 'animated-div' }); 295 319 div.style.transition = 'margin-left 10s 2s'; 296 flushComputedStyle(div);297 div.style.marginLeft = '10px'; 298 299 vareffect = div.getAnimations()[0].effect;320 getComputedStyle(div).marginLeft; 321 div.style.marginLeft = '10px'; 322 323 const effect = div.getAnimations()[0].effect; 300 324 assert_equals(effect.getComputedTiming().currentIteration, 0, 301 325 'Initial value of currentIteration'); 302 326 }, 'currentIteration of a new transition with positive delay in before phase'); 303 327 304 test( function(t){305 var div = addDiv(t, {'class': 'animated-div'});306 div.style.transition = 'margin-left 10s'; 307 flushComputedStyle(div);308 div.style.marginLeft = '10px'; 309 310 varanim = div.getAnimations()[0];328 test(t => { 329 const div = addDiv(t, { class: 'animated-div' }); 330 div.style.transition = 'margin-left 10s'; 331 getComputedStyle(div).marginLeft; 332 div.style.marginLeft = '10px'; 333 334 const anim = div.getAnimations()[0]; 311 335 anim.finish(); 312 336 assert_equals(anim.effect.getComputedTiming().currentIteration, null, … … 315 339 316 340 </script> 317 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/CSSPseudoElement-getAnimations.tentative.html
r251590 r251591 1 1 <!doctype html> 2 2 <meta charset=utf-8> 3 <script src="../../../resources/testharness.js"></script> 4 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../resources/testcommon.js"></script> 3 <title>CSSPseudoElement.getAnimations() for CSS transitions</title> 4 <link rel="help" href="https://drafts.csswg.org/css-transitions-2/#animation-composite-order"> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 <script src="support/helper.js"></script> 6 8 <style> 7 9 .init::before { … … 18 20 } 19 21 </style> 20 <body>21 22 <div id="log"></div> 22 23 <script> 23 24 'use strict'; 24 25 25 test( function(t){26 vardiv = addDiv(t, { class: 'init' });27 flushComputedStyle(div);26 test(t => { 27 const div = addDiv(t, { class: 'init' }); 28 getComputedStyle(div).width; 28 29 div.classList.add('change'); 29 30 … … 31 32 assert_equals(document.getAnimations().length, 3, 32 33 'Got expected number of animations on document'); 33 varpseudoTarget = document.getAnimations()[0].effect.target;34 const pseudoTarget = document.getAnimations()[0].effect.target; 34 35 assert_class_string(pseudoTarget, 'CSSPseudoElement', 35 36 'Got pseudo-element target'); 36 37 37 38 // Check animations returned from the pseudo element are in correct order 38 varanims = pseudoTarget.getAnimations();39 const anims = pseudoTarget.getAnimations(); 39 40 assert_equals(anims.length, 3, 40 41 'Got expected number of animations on pseudo-element'); … … 45 46 46 47 </script> 47 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/CSSTransition-canceling.tentative-expected.txt
r251590 r251591 1 1 2 PASS Animated style is cleared after cancel ling a running CSS transition2 PASS Animated style is cleared after canceling a running CSS transition 3 3 PASS After canceling a transition, it can still be re-used 4 PASS After cancel ling a finished transition, it can still be re-used5 PASS After cancel ling a transition, updating transition properties doesn't make it live again4 PASS After canceling a finished transition, it can still be re-used 5 PASS After canceling a transition, updating transition properties doesn't make it live again 6 6 PASS Setting display:none on an element cancels its transitions 7 7 PASS Setting display:none cancels transitions on a child element -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/KeyframeEffect-target.tentative.html
r251590 r251591 1 1 <!doctype html> 2 2 <meta charset=utf-8> 3 <script src="../../../resources/testharness.js"></script> 4 <script src="../../../resources/testharnessreport.js"></script> 5 <script src="../resources/testcommon.js"></script> 6 <body> 3 <title>CSSTransition.effect.target</title> 4 <!-- TODO: Add a more specific link for this once it is specified. --> 5 <link rel="help" href="https://drafts.csswg.org/css-transitions-2/#csstransition"> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src="support/helper.js"></script> 7 9 <div id="log"></div> 8 10 <script> 9 11 'use strict'; 10 12 11 test( function(t){12 vardiv = addDiv(t);13 test(t => { 14 const div = addDiv(t); 13 15 14 16 div.style.left = '0px'; … … 17 19 div.style.left = '100px'; 18 20 19 varanimation = div.getAnimations()[0];21 const animation = div.getAnimations()[0]; 20 22 assert_equals(animation.effect.target, div, 21 23 'Animation.target is the animatable div'); 22 24 }, 'Returned CSS transitions have the correct Animation.target'); 23 25 24 test( function(t){26 test(t => { 25 27 addStyle(t, { '.init::after': 'content: ""; width: 0px; height: 0px; ' + 26 28 'transition: all 10s;', 27 29 '.change::after': 'width: 100px; height: 100px;' }); 28 vardiv = addDiv(t, { class: 'init' });29 flushComputedStyle(div);30 const div = addDiv(t, { class: 'init' }); 31 getComputedStyle(div).width; 30 32 div.classList.add('change'); 31 33 32 varanims = document.getAnimations();34 const anims = document.getAnimations(); 33 35 assert_equals(anims.length, 2, 34 36 'Got transitions running on ::after pseudo element'); … … 37 39 }, 'effect.target should return the same CSSPseudoElement object each time'); 38 40 39 test( function(t){41 test(t => { 40 42 addStyle(t, { '.init::after': 'content: ""; width: 0px; transition: all 10s;', 41 43 '.change::after': 'width: 100px;' }); 42 vardiv = addDiv(t, { class: 'init' });43 flushComputedStyle(div);44 const div = addDiv(t, { class: 'init' }); 45 getComputedStyle(div).width; 44 46 div.classList.add('change'); 45 varpseudoTarget = document.getAnimations()[0].effect.target;46 vareffect = new KeyframeEffect(pseudoTarget,47 { background: ["blue", "red"] },48 3000);49 varnewAnim = new Animation(effect, document.timeline);47 const pseudoTarget = document.getAnimations()[0].effect.target; 48 const effect = new KeyframeEffect(pseudoTarget, 49 { background: ["blue", "red"] }, 50 3000); 51 const newAnim = new Animation(effect, document.timeline); 50 52 newAnim.play(); 51 53 52 varanims = document.getAnimations();54 const anims = document.getAnimations(); 53 55 assert_equals(anims.length, 2, 54 56 'Got animations running on ::after pseudo element'); … … 66 68 67 69 </script> 68 </body> -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/event-dispatch.tentative-expected.txt
r251590 r251591 20 20 PASS Calculating the interval start and end time with negative start delay. 21 21 PASS Calculating the interval start and end time with negative end delay. 22 PASS Call Animation.cancel after cancel ling transition.23 PASS Restart transition after cancel ling transition immediately22 PASS Call Animation.cancel after canceling transition. 23 PASS Restart transition after canceling transition immediately 24 24 PASS Call Animation.cancel after restarting transition immediately 25 25 PASS Set timeline and play transition after clear the timeline 26 PASS Set null target effect after cancel the transition26 PASS Set null target effect after canceling the transition 27 27 PASS Cancel the transition after clearing the target effect 28 28 -
trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/support/support/w3c-import.log
r251590 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/support/support/README 18 /LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/support/support/swatch-green.png 19 /LayoutTests/imported/w3c/web-platform-tests/css/css-transitions/support/support/swatch-red.png -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt
r251573 r251591 209 209 PASS transform: non-invertible matrices in mismatched transform lists (invertible onto non-invertible) 210 210 PASS visibility (type: visibility) has testAccumulation function 211 FAIL visibility: onto "visible" assert_equals: The value should be visible at 1000ms expected "visible" but got "hidden" 211 PASS visibility: onto "visible" 212 212 PASS visibility: onto "hidden" 213 213 PASS word-spacing (type: lengthPercentageOrCalc) has testAccumulation function -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt
r251573 r251591 204 204 FAIL transform: non-invertible matrices in mismatched transform lists assert_approx_equals: expected matrix(-2, 0, 0, -2, 250, 0) but got matrix(-2, 0, 0, -2, 200, 0): The value should be matrix(-2, 0, 0, -2, 250, 0) at 0ms but got matrix(-2, 0, 0, -2, 200, 0) expected 250 +/- 0.0001 but got 200 205 205 PASS visibility (type: visibility) has testAddition function 206 FAIL visibility: onto "visible" assert_equals: The value should be visible at 1000ms expected "visible" but got "hidden" 206 PASS visibility: onto "visible" 207 207 PASS visibility: onto "hidden" 208 208 PASS word-spacing (type: lengthPercentageOrCalc) has testAddition function -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt
r251573 r251591 131 131 FAIL filter: interpolate different length of filter-function-list with function which lacuna value is 1 assert_equals: The value should be grayscale(0.5) brightness(0.5) contrast(0.5) opacity(0.5) saturate(0.5) at 500ms expected "grayscale(0.5) brightness(0.5) contrast(0.5) opacity(0.5) saturate(0.5)" but got "grayscale(1) brightness(0) contrast(0) opacity(0) saturate(0)" 132 132 FAIL filter: interpolate different length of filter-function-list with function which lacuna value is 0 assert_equals: The value should be opacity(0.5) grayscale(0.5) invert(0.5) sepia(0.5) blur(5px) at 500ms expected "opacity(0.5) grayscale(0.5) invert(0.5) sepia(0.5) blur(5px)" but got "opacity(0) grayscale(1) invert(1) sepia(1) blur(10px)" 133 FAIL filter: interpolate different length of filter-function-list with drop-shadow function assert_equals: The value should be blur(5px) drop-shadow(rgba(0, 0, 255, 0.4) 5px 5px 5px at 500ms expected "blur(5px) drop-shadow(rgba(0, 0, 255, 0.4) 5px 5px 5px" but got "blur(10px) drop-shadow(rgba(0, 0, 255, 0.8) 10px 10px 10px)"133 FAIL filter: interpolate different length of filter-function-list with drop-shadow function assert_equals: The value should be blur(5px) drop-shadow(rgba(0, 0, 255, 0.4) 5px 5px 5px) at 500ms expected "blur(5px) drop-shadow(rgba(0, 0, 255, 0.4) 5px 5px 5px)" but got "blur(10px) drop-shadow(rgba(0, 0, 255, 0.8) 10px 10px 10px)" 134 134 PASS filter: interpolate from none 135 135 FAIL filter: url function (interpoalte as discrete) assert_equals: The value should be blur(0px) url("#f1") at 499ms expected "blur(0px) url(\"#f1\")" but got "blur(4.989999771118164px) url(\"#f1\")" -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/property-types.js
r251573 r251591 618 618 testAnimationSamples(animation, idlName, 619 619 [{ time: 0, expected: 'visible' }, 620 { time: 1000, expected: ' visible' }]);620 { time: 1000, expected: 'hidden' }]); 621 621 }, `${property}: onto "visible"`); 622 622 … … 2206 2206 // Per the spec: The initial value for interpolation is all length values 2207 2207 // set to 0 and the used color set to transparent. 2208 expected: 'blur(5px) drop-shadow(rgba(0, 0, 255, 0.4) 5px 5px 5px ' }]);2208 expected: 'blur(5px) drop-shadow(rgba(0, 0, 255, 0.4) 5px 5px 5px)' }]); 2209 2209 }, `${property}: interpolate different length of filter-function-list` 2210 2210 + ' with drop-shadow function'); -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/combining-effects/w3c-import.log
r251590 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js 17 /LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/combining-effects/applying-the-composited-result.html 18 /LayoutTests/imported/w3c/web-platform-tests/web-animations/animation-model/combining-effects/effect-composition.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/w3c-import.log
r251590 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js 17 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/animate-no-browsing-context.html 18 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/animate.html 19 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animatable/getAnimations.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Animation/oncancel.html
r251573 r251591 22 22 assert_equals(event.currentTime, null, 23 23 'event.currentTime should be null'); 24 assert_ equals(event.timelineTime, finishedTimelineTime,24 assert_times_equal(event.timelineTime, finishedTimelineTime, 25 25 'event.timelineTime should equal to the animation timeline ' + 26 26 'when finished promise is rejected'); -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/AnimationEffect/w3c-import.log
r251590 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js 17 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/AnimationEffect/getComputedTiming.html 18 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/AnimationEffect/updateTiming.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/w3c-import.log
r251590 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js 17 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/constructor.html 18 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/AnimationPlaybackEvent/idlharness.window.js -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Document/getAnimations-expected.txt
r251573 r251591 5 5 PASS Test document.getAnimations for a disconnected node 6 6 PASS Test document.getAnimations with null target 7 FAIL Test document.getAnimations for elements inside same-origin iframes assert_ true: Not expecting event, but got load event expected true got false7 FAIL Test document.getAnimations for elements inside same-origin iframes assert_equals: expected 1 but got 0 8 8 PASS Triggers a style change event 9 9 -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Document/getAnimations.html
r251573 r251591 69 69 70 70 const eventWatcher = new EventWatcher(t, iframe, ['load']); 71 const event_promise = eventWatcher.wait_for('load'); 71 72 72 73 document.body.appendChild(iframe); 73 74 t.add_cleanup(() => { document.body.removeChild(iframe); }); 74 75 75 await event Watcher.wait_for('load');76 await event_promise; 76 77 77 78 const div = createDiv(t, iframe.contentDocument) -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Document/w3c-import.log
r251590 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js 17 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Document/getAnimations.html 18 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/Document/timeline.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/w3c-import.log
r251590 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js 17 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/constructor.html 18 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/idlharness.window.js 19 /LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/DocumentTimeline/style-change-events.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001-expected.txt
r251573 r251591 22 22 PASS non-animatable property 'writingMode' is not accessed when using a property-indexed keyframe object 23 23 PASS non-animatable property 'unsupportedProperty' is not accessed when using a property-indexed keyframe object 24 PASS non-animatable property 'float' is not accessed when using a property-indexed keyframe object 24 25 PASS non-animatable property 'font-size' is not accessed when using a property-indexed keyframe object 25 26 PASS non-animatable property 'animation' is not accessed when using a keyframe sequence … … 45 46 PASS non-animatable property 'writingMode' is not accessed when using a keyframe sequence 46 47 PASS non-animatable property 'unsupportedProperty' is not accessed when using a keyframe sequence 48 PASS non-animatable property 'float' is not accessed when using a keyframe sequence 47 49 PASS non-animatable property 'font-size' is not accessed when using a keyframe sequence 48 50 PASS Equivalent property-indexed and sequenced keyframes: two properties with one value -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-001.html
r251573 r251591 46 46 'unsupportedProperty', 47 47 48 'float', // We use the string "cssFloat" to represent "float" property, and 49 // so reject "float" in the keyframe-like object. 48 50 'font-size', // Supported property that uses dashes 49 51 ]; -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/time-transformations/w3c-import.log
r251590 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/ css/css-animations/support/testcommon.js17 /LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/time-transformations/transformed-progress.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/timelines/w3c-import.log
r251590 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js 17 /LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/timelines/document-timelines.html 18 /LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/timelines/timelines.html 19 /LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/timelines/update-and-send-events-replacement.html 20 /LayoutTests/imported/w3c/web-platform-tests/web-animations/timing-model/timelines/update-and-send-events.html -
trunk/LayoutTests/imported/w3c/web-platform-tests/web-animations/w3c-import.log
r251590 r251591 2 2 Do NOT modify these tests directly in WebKit. 3 3 Instead, create a pull request on the WPT github: 4 https://github.com/w 3c/web-platform-tests4 https://github.com/web-platform-tests/wpt 5 5 6 6 Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport … … 15 15 ------------------------------------------------------------------------ 16 16 List of files: 17 /LayoutTests/imported/w3c/web-platform-tests/css/css-animations/support/testcommon.js 17 /LayoutTests/imported/w3c/web-platform-tests/web-animations/META.yml 18 /LayoutTests/imported/w3c/web-platform-tests/web-animations/README.md 19 /LayoutTests/imported/w3c/web-platform-tests/web-animations/testcommon.js -
trunk/LayoutTests/platform/gtk/TestExpectations
r251586 r251591 1846 1846 webkit.org/b/186136 compositing/animation/layer-for-filling-animation.html [ Failure Pass Timeout ] 1847 1847 1848 webkit.org/b/186143 imported/mozilla/css-animations/test_event-dispatch.html [ Timeout Pass ]1849 1850 1848 webkit.org/b/184569 storage/indexeddb/modern/transactions-stop-on-navigation.html [ Pass Failure ] 1851 1849 … … 1856 1854 webkit.org/b/186638 animations/play-state-paused.html [ Failure Pass ] 1857 1855 webkit.org/b/186638 imported/w3c/web-platform-tests/streams/piping/error-propagation-forward.html [ Failure Pass ] 1858 webkit.org/b/186638 imported/mozilla/css-transitions/test_animation-finished.html [ Timeout Pass ]1859 1856 webkit.org/b/186638 compositing/repaint/repaint-on-layer-grouping-change.html [ Failure Pass ] 1860 1857 webkit.org/b/186638 imported/w3c/web-platform-tests/mathml/presentation-markup/spaces/space-2.html [ Timeout Pass ] … … 2095 2092 webkit.org/b/197507 imported/blink/svg/hittest/rect-miterlimit.html [ Timeout Pass ] 2096 2093 webkit.org/b/197507 imported/blink/transitions/no-transition-on-implicit-margins.html [ Timeout Pass ] 2097 webkit.org/b/197507 imported/mozilla/css-animations/test_animation-cancel.html [ Timeout Pass ]2098 webkit.org/b/197507 imported/mozilla/css-transitions/test_animation-cancel.html [ Timeout Pass ]2099 2094 webkit.org/b/197507 legacy-animation-engine/animations/animation-multiple-callbacks-timestamp.html [ Timeout Pass ] 2100 2095 webkit.org/b/197507 legacy-animation-engine/imported/blink/css3/calc/transition-asan-crash.html [ Timeout Pass ] -
trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt
r251573 r251591 210 210 FAIL transform: non-invertible matrices in mismatched transform lists (invertible onto non-invertible) assert_regexp_match: Actual value is not a matrix expected object "/^matrix(?:3d)*\((.+)\)/" but got "none" 211 211 PASS visibility (type: visibility) has testAccumulation function 212 FAIL visibility: onto "visible" assert_equals: The value should be visible at 1000ms expected "visible" but got "hidden" 212 PASS visibility: onto "visible" 213 213 PASS visibility: onto "hidden" 214 214 PASS word-spacing (type: lengthPercentageOrCalc) has testAccumulation function -
trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt
r251573 r251591 206 206 FAIL transform: non-invertible matrices in mismatched transform lists assert_approx_equals: expected matrix(-2,0,0,-2,250,0) but got matrix(-2, 0.00000000000000024492935982947064, -0.00000000000000024492935982947064, -2, 200, 0): The value should be matrix(-2,0,0,-2,250,0) at 0ms but got matrix(-2, 0.00000000000000024492935982947064, -0.00000000000000024492935982947064, -2, 200, 0) expected 250 +/- 0.0001 but got 200 207 207 PASS visibility (type: visibility) has testAddition function 208 FAIL visibility: onto "visible" assert_equals: The value should be visible at 1000ms expected "visible" but got "hidden" 208 PASS visibility: onto "visible" 209 209 PASS visibility: onto "hidden" 210 210 PASS word-spacing (type: lengthPercentageOrCalc) has testAddition function -
trunk/LayoutTests/platform/ios/TestExpectations
r251538 r251591 3398 3398 webkit.org/b/202958 css3/filters/svg-blur-filter-clipped.html [ ImageOnlyFailure ] 3399 3399 3400 webkit.org/b/203291 imported/w3c/web-platform-tests/css/css-transitions/before-load-001.html [ Failure ] 3401 webkit.org/b/203291 imported/w3c/web-platform-tests/css/css-transitions/properties-value-auto-001.html [ Failure ] 3402 3400 3403 webkit.org/b/203366 fast/text/whitespace/pre-wrap-overflow-selection.html [ Pass Failure ] -
trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt
r251573 r251591 209 209 PASS transform: non-invertible matrices in mismatched transform lists (invertible onto non-invertible) 210 210 PASS visibility (type: visibility) has testAccumulation function 211 FAIL visibility: onto "visible" assert_equals: The value should be visible at 1000ms expected "visible" but got "hidden" 211 PASS visibility: onto "visible" 212 212 PASS visibility: onto "hidden" 213 213 PASS word-spacing (type: lengthPercentageOrCalc) has testAccumulation function -
trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt
r251573 r251591 204 204 FAIL transform: non-invertible matrices in mismatched transform lists assert_approx_equals: expected matrix(-2, 0, 0, -2, 250, 0) but got matrix(-2, 0, 0, -2, 200, 0): The value should be matrix(-2, 0, 0, -2, 250, 0) at 0ms but got matrix(-2, 0, 0, -2, 200, 0) expected 250 +/- 0.0001 but got 200 205 205 PASS visibility (type: visibility) has testAddition function 206 FAIL visibility: onto "visible" assert_equals: The value should be visible at 1000ms expected "visible" but got "hidden" 206 PASS visibility: onto "visible" 207 207 PASS visibility: onto "hidden" 208 208 PASS word-spacing (type: lengthPercentageOrCalc) has testAddition function -
trunk/LayoutTests/platform/ios/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-expected.txt
r251573 r251591 131 131 FAIL filter: interpolate different length of filter-function-list with function which lacuna value is 1 assert_equals: The value should be grayscale(0.5) brightness(0.5) contrast(0.5) opacity(0.5) saturate(0.5) at 500ms expected "grayscale(0.5) brightness(0.5) contrast(0.5) opacity(0.5) saturate(0.5)" but got "grayscale(1) brightness(0) contrast(0) opacity(0) saturate(0)" 132 132 FAIL filter: interpolate different length of filter-function-list with function which lacuna value is 0 assert_equals: The value should be opacity(0.5) grayscale(0.5) invert(0.5) sepia(0.5) blur(5px) at 500ms expected "opacity(0.5) grayscale(0.5) invert(0.5) sepia(0.5) blur(5px)" but got "opacity(0) grayscale(1) invert(1) sepia(1) blur(10px)" 133 FAIL filter: interpolate different length of filter-function-list with drop-shadow function assert_equals: The value should be blur(5px) drop-shadow(rgba(0, 0, 255, 0.4) 5px 5px 5px at 500ms expected "blur(5px) drop-shadow(rgba(0, 0, 255, 0.4) 5px 5px 5px" but got "blur(10px) drop-shadow(rgba(0, 0, 255, 0.8) 10px 10px 10px)"133 FAIL filter: interpolate different length of filter-function-list with drop-shadow function assert_equals: The value should be blur(5px) drop-shadow(rgba(0, 0, 255, 0.4) 5px 5px 5px) at 500ms expected "blur(5px) drop-shadow(rgba(0, 0, 255, 0.4) 5px 5px 5px)" but got "blur(10px) drop-shadow(rgba(0, 0, 255, 0.8) 10px 10px 10px)" 134 134 PASS filter: interpolate from none 135 135 FAIL filter: url function (interpoalte as discrete) assert_equals: The value should be blur(0px) url("#f1") at 499ms expected "blur(0px) url(\"#f1\")" but got "blur(4.989999771118164px) url(\"#f1\")" -
trunk/LayoutTests/platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt
r251573 r251591 211 211 PASS transform: non-invertible matrices in mismatched transform lists (invertible onto non-invertible) 212 212 PASS visibility (type: visibility) has testAccumulation function 213 FAIL visibility: onto "visible" assert_equals: The value should be visible at 1000ms expected "visible" but got "hidden" 213 PASS visibility: onto "visible" 214 214 PASS visibility: onto "hidden" 215 215 PASS word-spacing (type: lengthPercentageOrCalc) has testAccumulation function -
trunk/LayoutTests/platform/mac-sierra/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt
r251573 r251591 206 206 FAIL transform: non-invertible matrices in mismatched transform lists assert_approx_equals: expected matrix(-2,0,0,-2,250,0) but got matrix(-2, 0.00000000000000024492935982947064, -0.00000000000000024492935982947064, -2, 200, 0): The value should be matrix(-2,0,0,-2,250,0) at 0ms but got matrix(-2, 0.00000000000000024492935982947064, -0.00000000000000024492935982947064, -2, 200, 0) expected 250 +/- 0.0001 but got 200 207 207 PASS visibility (type: visibility) has testAddition function 208 FAIL visibility: onto "visible" assert_equals: The value should be visible at 1000ms expected "visible" but got "hidden" 208 PASS visibility: onto "visible" 209 209 PASS visibility: onto "hidden" 210 210 PASS word-spacing (type: lengthPercentageOrCalc) has testAddition function -
trunk/LayoutTests/platform/mac-wk1/TestExpectations
r251573 r251591 803 803 804 804 webkit.org/b/203176 [ Debug ] fast/scrolling/latching/scroll-select-bottom-test.html [ Pass Failure ] 805 -
trunk/LayoutTests/platform/win/TestExpectations
r251573 r251591 4094 4094 webkit.org/b/186183 http/tests/security/referrer-policy-header.html [ Skip ] 4095 4095 4096 webkit.org/b/186522 imported/mozilla/css-animations/test_animation-finished.html [ Failure ]4097 webkit.org/b/186522 imported/mozilla/css-animations/test_animation-id.html [ Failure ]4098 webkit.org/b/186522 imported/mozilla/css-animations/test_animation-reverse.html [ Failure ]4099 webkit.org/b/186522 imported/mozilla/css-animations/test_cssanimation-animationname.html [ Failure ]4100 webkit.org/b/186522 imported/mozilla/css-animations/test_setting-effect.html [ Failure ]4101 webkit.org/b/186522 imported/mozilla/css-transitions/test_animation-computed-timing.html [ Failure ]4102 webkit.org/b/186522 imported/mozilla/css-transitions/test_animation-currenttime.html [ Failure ]4103 webkit.org/b/186522 imported/mozilla/css-transitions/test_animation-finished.html [ Failure ]4104 webkit.org/b/186522 imported/mozilla/css-transitions/test_animation-pausing.html [ Failure ]4105 webkit.org/b/186522 imported/mozilla/css-transitions/test_animation-starttime.html [ Failure ]4106 webkit.org/b/186522 imported/mozilla/css-transitions/test_csstransition-transitionproperty.html [ Failure ]4107 webkit.org/b/186522 imported/mozilla/css-transitions/test_setting-effect.html [ Failure ]4108 4109 4096 webkit.org/b/186562 [ Release ] accessibility/accessibility-node-memory-management.html [ Failure ] 4110 4097 webkit.org/b/186562 fast/workers/worker-document-leak.html [ Failure ] … … 4114 4101 webkit.org/b/186562 workers/bomb.html [ Skip ] 4115 4102 4116 webkit.org/b/186807 imported/mozilla/css-animations/test_animation-playstate.html [ Failure ]4117 webkit.org/b/186807 imported/mozilla/css-animations/test_animation-ready.html [ Failure ]4118 webkit.org/b/186807 imported/mozilla/css-animations/test_animation-starttime.html [ Failure ]4119 webkit.org/b/186807 imported/mozilla/css-transitions/test_animation-cancel.html [ Failure ]4120 webkit.org/b/186807 imported/mozilla/css-transitions/test_animation-ready.html [ Failure ]4121 4103 webkit.org/b/186807 transitions/transition-to-from-auto.html [ Failure ] 4122 4104 webkit.org/b/186807 animations/transition-and-animation-3.html [ Skip ] 4123 4105 4124 webkit.org/b/186868 imported/mozilla/css-animations/test_pseudoElement-get-animations.html [ Failure ]4125 webkit.org/b/186868 imported/mozilla/css-transitions/test_element-get-animations.html [ Failure ]4126 4127 webkit.org/b/187041 imported/mozilla/css-animations/test_animation-pausing.html [ Failure ]4128 4106 webkit.org/b/187041 webanimations/opacity-animation-yields-compositing-span.html [ Failure ] 4129 4107 … … 4373 4351 webkit.org/b/196869 animations/animation-multiple-callbacks-timestamp.html [ Failure ] 4374 4352 webkit.org/b/196869 legacy-animation-engine/animations/animation-multiple-callbacks-timestamp.html [ Failure ] 4375 webkit.org/b/196869 imported/mozilla/css-animations/test_animation-currenttime.html [ Failure ]4376 4353 4377 4354 webkit.org/b/194450 storage/indexeddb/modern/gc-closes-database-private.html [ Skip ] -
trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/accumulation-per-property-expected.txt
r251573 r251591 210 210 FAIL transform: non-invertible matrices in mismatched transform lists (invertible onto non-invertible) assert_regexp_match: Actual value is not a matrix expected object "/^matrix(?:3d)*\((.+)\)/" but got "none" 211 211 PASS visibility (type: visibility) has testAccumulation function 212 FAIL visibility: onto "visible" assert_equals: The value should be visible at 1000ms expected "visible" but got "hidden" 212 PASS visibility: onto "visible" 213 213 PASS visibility: onto "hidden" 214 214 PASS word-spacing (type: lengthPercentageOrCalc) has testAccumulation function -
trunk/LayoutTests/platform/wpe/imported/w3c/web-platform-tests/web-animations/animation-model/animation-types/addition-per-property-expected.txt
r251573 r251591 215 215 FAIL transform: non-invertible matrices in mismatched transform lists assert_approx_equals: expected matrix(-2,0,0,-2,250,0) but got matrix(-2, 2.4492935982947064e-16, -2.4492935982947064e-16, -2, 200, 0): The value should be matrix(-2,0,0,-2,250,0) at 0ms but got matrix(-2, 2.4492935982947064e-16, -2.4492935982947064e-16, -2, 200, 0) expected 250 +/- 0.0001 but got 200 216 216 PASS visibility (type: visibility) has testAddition function 217 FAIL visibility: onto "visible" assert_equals: The value should be visible at 1000ms expected "visible" but got "hidden" 217 PASS visibility: onto "visible" 218 218 PASS visibility: onto "hidden" 219 219 PASS word-spacing (type: lengthPercentageOrCalc) has testAddition function -
trunk/LayoutTests/tests-options.json
r251573 r251591 468 468 "slow" 469 469 ], 470 "imported/w3c/web-platform-tests/css/css-animations/CSSAnimation-effect.tentative.html": [ 471 "slow" 472 ], 470 473 "imported/w3c/web-platform-tests/css/css-animations/animationevent-types.html": [ 471 474 "slow" 472 475 ], 476 "imported/w3c/web-platform-tests/css/css-animations/event-dispatch.tentative.html": [ 477 "slow" 478 ], 473 479 "imported/w3c/web-platform-tests/css/css-color/color-resolving-hsl.html": [ 474 480 "slow" 475 481 ], 482 "imported/w3c/web-platform-tests/css/css-transitions/properties-value-001.html": [ 483 "slow" 484 ], 485 "imported/w3c/web-platform-tests/css/css-transitions/properties-value-003.html": [ 486 "slow" 487 ], 488 "imported/w3c/web-platform-tests/css/css-transitions/properties-value-implicit-001.html": [ 489 "slow" 490 ], 491 "imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-001.html": [ 492 "slow" 493 ], 494 "imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-002.html": [ 495 "slow" 496 ], 497 "imported/w3c/web-platform-tests/css/css-transitions/transitioncancel-001.html": [ 498 "slow" 499 ], 476 500 "imported/w3c/web-platform-tests/css/cssom-view/matchMedia.xht": [ 477 501 "slow" … … 2017 2041 ], 2018 2042 "imported/w3c/web-platform-tests/svg/animations/svglengthlist-animation-3.html": [ 2043 "slow" 2044 ], 2045 "imported/w3c/web-platform-tests/web-animations/timing-model/animations/updating-the-finished-state.html": [ 2046 "slow" 2047 ], 2048 "imported/w3c/web-platform-tests/web-animations/timing-model/timelines/update-and-send-events.html": [ 2019 2049 "slow" 2020 2050 ],
Note:
See TracChangeset
for help on using the changeset viewer.