haikuwebkit/LayoutTests/webanimations
Antoine Quint f0259b0f97 REGRESSION (r256095): Adding a border-radius, border, or box-shadow breaks animations from scale(0)
https://bugs.webkit.org/show_bug.cgi?id=218371
<rdar://problem/70906316>

Reviewed by Simon Fraser.

Source/WebCore:

When computing an animation's transform extent, we must account for implicit keyframes.

Test: webanimations/accelerated-transform-animation-to-scale-zero-with-implicit-from-keyframe.html

* animation/KeyframeEffect.cpp:
(WebCore::KeyframeEffect::computeExtentOfTransformAnimation const):

LayoutTests:

Add a test where we have an animation on an element with a a border and a transform animation to scale(0) where the
first keyframe is implicit. This test would fail prior to this patch.

* webanimations/accelerated-transform-animation-to-scale-zero-with-implicit-from-keyframe-expected.html: Added.
* webanimations/accelerated-transform-animation-to-scale-zero-with-implicit-from-keyframe.html: Added.

Canonical link: https://commits.webkit.org/238599@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@278610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-06-08 16:27:50 +00:00
..
resources REGRESSION(r268615): images flicker on apple.com/ios/ios-14 2021-01-28 06:54:42 +00:00
accelerated-animation-canceled-before-commit-expected.html
accelerated-animation-canceled-before-commit.html
accelerated-animation-easing-and-direction-update-expected.html REGRESSION (r260360): Ionic modal dialog doesn't animate correctly when dragged and released 2020-09-10 17:31:40 +00:00
accelerated-animation-easing-and-direction-update.html REGRESSION (r260360): Ionic modal dialog doesn't animate correctly when dragged and released 2020-09-10 17:31:40 +00:00
accelerated-animation-easing-update-after-pause-expected.html REGRESSION (r264856): updating easing on accelerated animation results in incorrect playback 2020-09-09 18:12:16 +00:00
accelerated-animation-easing-update-after-pause.html [ macOS ] webanimations/accelerated-animation-easing-update-after-pause.html is a flaky ImageOnlyFailure 2020-11-04 17:40:10 +00:00
accelerated-animation-easing-update-steps-after-pause-expected.html REGRESSION (r264856): updating easing on accelerated animation results in incorrect playback 2020-09-09 18:12:16 +00:00
accelerated-animation-easing-update-steps-after-pause.html REGRESSION (r264856): updating easing on accelerated animation results in incorrect playback 2020-09-09 18:12:16 +00:00
accelerated-animation-interruption-display-none-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
accelerated-animation-interruption-display-none.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
accelerated-animation-playback-rate-expected.html [Web Animations] Calling reverse() on an accelerated animation has no effect 2020-05-13 19:26:58 +00:00
accelerated-animation-playback-rate.html [Web Animations] Calling reverse() on an accelerated animation has no effect 2020-05-13 19:26:58 +00:00
accelerated-animation-removal-upon-transition-completion-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
accelerated-animation-removal-upon-transition-completion.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
accelerated-animation-renderer-change-expected.html Accelerated animations freeze on render tree rebuild 2020-02-04 05:56:04 +00:00
accelerated-animation-renderer-change.html Accelerated animations freeze on render tree rebuild 2020-02-04 05:56:04 +00:00
accelerated-animation-single-keyframe-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
accelerated-animation-single-keyframe.html [Web Animations] Animation with a single keyframe is not accelerated 2020-05-15 20:07:26 +00:00
accelerated-animation-slot-invalidation-expected.html Add slot based test for the accelerated animations freezing bug (201048) 2020-02-07 02:07:25 +00:00
accelerated-animation-slot-invalidation.html
accelerated-animation-suspension-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
accelerated-animation-suspension.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
accelerated-animation-tiled-while-running-expected.html REGRESSION (r272201): iPad render flashing on load 2021-06-07 19:44:02 +00:00
accelerated-animation-tiled-while-running.html REGRESSION (r272201): iPad render flashing on load 2021-06-07 19:44:02 +00:00
accelerated-animation-with-delay-and-seek-expected.html [Web Animations] Positive delays of accelerated animations are not respected 2018-09-17 17:37:48 +00:00
accelerated-animation-with-delay-and-seek.html
accelerated-animation-with-delay-expected.html
accelerated-animation-with-delay.html
accelerated-animation-with-easing-expected.html REGRESSION (r260360): easing curves are broken on JS-originated animations 2020-06-25 13:42:02 +00:00
accelerated-animation-with-easing.html REGRESSION (2020-10-23): webanimations/accelerated-animation-with-easing.html is flaky on Mac Debug 2021-01-06 20:02:59 +00:00
accelerated-css-animation-with-easing-expected.html REGRESSION (r263506): timing of CSS Animation on https://animate.style is incorrect 2020-08-27 17:02:24 +00:00
accelerated-css-animation-with-easing.html REGRESSION (r263506): timing of CSS Animation on https://animate.style is incorrect 2020-08-27 17:02:24 +00:00
accelerated-css-transition-with-easing-y-axis-above-1-expected.html REGRESSION (r263506): scale transform transitions won't overshoot 2020-08-28 16:47:59 +00:00
accelerated-css-transition-with-easing-y-axis-above-1.html REGRESSION (r263506): scale transform transitions won't overshoot 2020-08-28 16:47:59 +00:00
accelerated-overlapping-transform-animations-expected.html REGRESSION (r268483): Map jumps around while zooming on windy.com, strava.com 2020-10-20 22:58:48 +00:00
accelerated-overlapping-transform-animations.html [WK1] webanimations/accelerated-overlapping-transform-animations.html is a failure 2020-10-21 18:07:34 +00:00
accelerated-transform-animation-to-scale-zero-with-implicit-from-keyframe-expected.html REGRESSION (r256095): Adding a border-radius, border, or box-shadow breaks animations from scale(0) 2021-06-08 16:27:50 +00:00
accelerated-transform-animation-to-scale-zero-with-implicit-from-keyframe.html REGRESSION (r256095): Adding a border-radius, border, or box-shadow breaks animations from scale(0) 2021-06-08 16:27:50 +00:00
accelerated-transform-related-animation-property-order-expected.html Support accelerated animation of individual transform CSS properties 2020-10-16 22:43:54 +00:00
accelerated-transform-related-animation-property-order.html Support accelerated animation of individual transform CSS properties 2020-10-16 22:43:54 +00:00
accelerated-transition-by-removing-property-expected.html
accelerated-transition-by-removing-property.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
accelerated-transition-interrupted-on-composited-element-expected.html
accelerated-transition-interrupted-on-composited-element.html
accelerated-translate-animation-additional-animation-added-in-flight-expected.html REGRESSION(r268615): certain animations break when moving from one to display to another or resizing the window 2020-10-23 18:35:44 +00:00
accelerated-translate-animation-additional-animation-added-in-flight.html REGRESSION(r268615): certain animations break when moving from one to display to another or resizing the window 2020-10-23 18:35:44 +00:00
accelerated-translate-animation-expected.html Support accelerated animation of individual transform CSS properties 2020-10-16 22:43:54 +00:00
accelerated-translate-animation-underlying-transform-changed-in-flight-expected.html Support accelerated animation of individual transform CSS properties 2020-10-16 22:43:54 +00:00
accelerated-translate-animation-underlying-transform-changed-in-flight.html Support accelerated animation of individual transform CSS properties 2020-10-16 22:43:54 +00:00
accelerated-translate-animation-with-transform-expected.html Support accelerated animation of individual transform CSS properties 2020-10-16 22:43:54 +00:00
accelerated-translate-animation-with-transform.html Support accelerated animation of individual transform CSS properties 2020-10-16 22:43:54 +00:00
accelerated-translate-animation.html Support accelerated animation of individual transform CSS properties 2020-10-16 22:43:54 +00:00
accelerated-web-animation-with-single-interval-and-easing-y-axis-above-1-expected.html REGRESSION (r260360): animation-wide timing function does not apply to 2-keyframe transform Web Animation 2021-05-04 17:14:42 +00:00
accelerated-web-animation-with-single-interval-and-easing-y-axis-above-1.html REGRESSION (r260360): animation-wide timing function does not apply to 2-keyframe transform Web Animation 2021-05-04 17:14:42 +00:00
accessing-current-time-after-clearing-css-animation-effect-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
accessing-current-time-after-clearing-css-animation-effect.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
accessing-current-time-after-finished-css-animation-target-removal-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
accessing-current-time-after-finished-css-animation-target-removal.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
animation-null-effect-expected.txt
animation-null-effect.html
animation-of-accelerated-property-after-non-accelerated-property-expected.html
animation-of-accelerated-property-after-non-accelerated-property.html
animation-opacity-animation-crash-expected.txt
animation-opacity-animation-crash.html
animation-page-cache-expected.txt WebAnimation should never prevent entering the back/forward cache 2019-10-29 23:07:16 +00:00
animation-page-cache.html [Testing] Rename test header commands to match names in WebPreferences*.yaml 2020-10-13 17:16:15 +00:00
background-image-css-variable-no-transition-expected.txt REGRESSION (r275227): Check boxes on V-Safe site flicker when selected 2021-06-02 21:51:18 +00:00
background-image-css-variable-no-transition.html REGRESSION (r275227): Check boxes on V-Safe site flicker when selected 2021-06-02 21:51:18 +00:00
child-layer-position-after-removal-of-animation-triggering-stacking-context-with-fill-forwards-expected.html
child-layer-position-after-removal-of-animation-triggering-stacking-context-with-fill-forwards.html
combining-transform-animations-with-different-acceleration-capabilities-2-expected.txt Reversed transform animation not applied alongside other transform animations 2021-01-15 17:47:18 +00:00
combining-transform-animations-with-different-acceleration-capabilities-2.html Reversed transform animation not applied alongside other transform animations 2021-01-15 17:47:18 +00:00
combining-transform-animations-with-different-acceleration-capabilities-3-expected.txt Reversed transform animation not applied alongside other transform animations 2021-01-15 17:47:18 +00:00
combining-transform-animations-with-different-acceleration-capabilities-3.html Reversed transform animation not applied alongside other transform animations 2021-01-15 17:47:18 +00:00
combining-transform-animations-with-different-acceleration-capabilities-expected.txt Reversed transform animation not applied alongside other transform animations 2021-01-15 17:47:18 +00:00
combining-transform-animations-with-different-acceleration-capabilities.html Reversed transform animation not applied alongside other transform animations 2021-01-15 17:47:18 +00:00
css-animation-dynamic-duration-change-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
css-animation-dynamic-duration-change.html [Web Animations] REGRESSION: Changing the animation-duration of a CSS Animation may not resume it 2019-12-24 18:35:47 +00:00
css-animation-effect-target-change-and-animation-removal-crash-expected.html [GTK][WPE] Fix webanimations test 2019-03-18 13:42:51 +00:00
css-animation-effect-target-change-and-animation-removal-crash.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
css-animation-effect-target-change-and-get-keyframes-crash-expected.html
css-animation-effect-target-change-and-get-keyframes-crash.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
css-animations-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
css-animations.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
css-transition-element-with-gradient-background-image-and-css-custom-property-expected.txt CSS custom properties on pseudo elements background gradients causes infinite layout and high CPU load 2021-05-06 20:11:19 +00:00
css-transition-element-with-gradient-background-image-and-css-custom-property.html CSS custom properties on pseudo elements background gradients causes infinite layout and high CPU load 2021-05-06 20:11:19 +00:00
css-transition-in-flight-reversal-accelerated-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
css-transition-in-flight-reversal-accelerated.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
css-transition-retargeting-during-ready-promise-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
css-transition-retargeting-during-ready-promise.html REGRESSION: Delayed updating of the parallax images on pacificvoyages.net/posts 2020-06-24 17:58:46 +00:00
css-transition-retargeting-to-same-value-upon-completion-with-timeout-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
css-transition-retargeting-to-same-value-upon-completion-with-timeout.html [Web Animations] REGRESSION: Bootstrap Carousel component v4.1 regressed with Web Animations 2020-06-30 05:56:53 +00:00
empty-keyframes-crash-expected.txt
empty-keyframes-crash.html REGRESSION (r275227): Check boxes on V-Safe site flicker when selected 2021-06-02 21:51:18 +00:00
js-wrapper-kept-alive-expected.txt
js-wrapper-kept-alive.html
keyframe-effect-target-kept-alive-expected.txt [Web Animations] KeyframeEffect should ensure its target remains alive 2020-04-25 16:08:46 +00:00
keyframe-effect-target-kept-alive.html [Web Animations] KeyframeEffect should ensure its target remains alive 2020-04-25 16:08:46 +00:00
leak-css-animation-expected.txt
leak-css-animation.html
leak-document-with-web-animation-expected.txt WebAnimation should never prevent entering the back/forward cache 2019-10-29 23:07:16 +00:00
leak-document-with-web-animation.html Code pattern in GC tests in LayoutTests is broken 2020-05-08 17:14:15 +00:00
multiple-transform-properties-and-multiple-transform-properties-animation-with-delay-on-forced-layer-expected.html REGRESSION(r268615): images flicker on apple.com/ios/ios-14 2021-01-28 06:54:42 +00:00
multiple-transform-properties-and-multiple-transform-properties-animation-with-delay-on-forced-layer.html REGRESSION(r268615): images flicker on apple.com/ios/ios-14 2021-01-28 06:54:42 +00:00
no-css-animation-on-noscript-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
no-css-animation-on-noscript.html
no-scheduling-while-filling-accelerated-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
no-scheduling-while-filling-accelerated.html
no-scheduling-while-filling-non-accelerated-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
no-scheduling-while-filling-non-accelerated.html
no-transition-on-after-pseudo-element-upon-creation-expected.html REGRESSION (r267571): black line appears upon navigating back from apple.com shopping bag 2021-01-13 10:11:25 +00:00
no-transition-on-after-pseudo-element-upon-creation.html REGRESSION (r267571): black line appears upon navigating back from apple.com shopping bag 2021-01-13 10:11:25 +00:00
opacity-animation-expected.html
opacity-animation-no-longer-composited-upon-completion-expected.txt
opacity-animation-no-longer-composited-upon-completion.html
opacity-animation-yields-compositing-expected.txt
opacity-animation-yields-compositing-span-expected.txt REGRESSION: hardware-accelerated animation fails on inline element 2018-06-25 19:24:44 +00:00
opacity-animation-yields-compositing-span.html
opacity-animation-yields-compositing.html REGRESSION: hardware-accelerated animation fails on inline element 2018-06-25 19:24:44 +00:00
opacity-animation.html
partly-accelerated-transition-by-removing-property-expected.txt
partly-accelerated-transition-by-removing-property.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
relative-ordering-of-translate-and-rotate-properties-accelerated-expected.html Animation of "rotate" or "scale" property does not correctly account for static "translate" property 2021-02-02 10:59:00 +00:00
relative-ordering-of-translate-and-rotate-properties-accelerated.html Animation of "rotate" or "scale" property does not correctly account for static "translate" property 2021-02-02 10:59:00 +00:00
relative-ordering-of-translate-and-scale-properties-accelerated-expected.html Animation of "rotate" or "scale" property does not correctly account for static "translate" property 2021-02-02 10:59:00 +00:00
relative-ordering-of-translate-and-scale-properties-accelerated.html Animation of "rotate" or "scale" property does not correctly account for static "translate" property 2021-02-02 10:59:00 +00:00
rotate-property-and-rotate-animation-with-delay-on-forced-layer-expected.html REGRESSION(r268615): images flicker on apple.com/ios/ios-14 2021-01-28 06:54:42 +00:00
rotate-property-and-rotate-animation-with-delay-on-forced-layer.html REGRESSION(r268615): images flicker on apple.com/ios/ios-14 2021-01-28 06:54:42 +00:00
scale-property-and-scale-animation-with-delay-on-forced-layer-expected.html REGRESSION(r268615): images flicker on apple.com/ios/ios-14 2021-01-28 06:54:42 +00:00
scale-property-and-scale-animation-with-delay-on-forced-layer.html REGRESSION(r268615): images flicker on apple.com/ios/ios-14 2021-01-28 06:54:42 +00:00
scheduling-of-animation-with-steps-timing-function-on-effect-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
scheduling-of-animation-with-steps-timing-function-on-effect.html [Web Animations] Animation engine should not wake up every tick for steps timing functions 2020-05-20 16:26:16 +00:00
scheduling-of-animation-with-steps-timing-function-on-keyframe-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
scheduling-of-animation-with-steps-timing-function-on-keyframe.html [Web Animations] Animation engine should not wake up every tick for steps timing functions 2020-05-20 16:26:16 +00:00
scheduling-of-animation-without-keyframes-expected.txt [Web Animations] Ensure we don't schedule animation udpates when there are no styles to update 2020-11-18 17:51:39 +00:00
scheduling-of-animation-without-keyframes.html [Web Animations] Ensure we don't schedule animation udpates when there are no styles to update 2020-11-18 17:51:39 +00:00
scheduling-of-css-animation-with-explicit-steps-timing-function-on-some-keyframes-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
scheduling-of-css-animation-with-explicit-steps-timing-function-on-some-keyframes.html [Web Animations] Animation engine should not wake up every tick for steps timing functions 2020-05-20 16:26:16 +00:00
scheduling-of-css-animation-with-implicit-steps-timing-function-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
scheduling-of-css-animation-with-implicit-steps-timing-function.html [Web Animations] Animation engine should not wake up every tick for steps timing functions 2020-05-20 16:26:16 +00:00
seeking-by-changing-delay-accelerated-expected.html [Web Animations] Changing the delay of an accelerated animation doesn't seek the animation 2020-01-30 13:47:58 +00:00
seeking-by-changing-delay-accelerated.html [Web Animations] Changing the delay of an accelerated animation doesn't seek the animation 2020-01-30 13:47:58 +00:00
set-keyframes-after-animation-completion-expected.html [Web Animations] setKeyframes does not preserve animation's current offset 2021-03-09 20:09:49 +00:00
set-keyframes-after-animation-completion.html [Web Animations] setKeyframes does not preserve animation's current offset 2021-03-09 20:09:49 +00:00
setting-css-animation-none-after-clearing-effect-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
setting-css-animation-none-after-clearing-effect.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
setting-css-animation-timing-property-via-style-after-clearing-effect-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
setting-css-animation-timing-property-via-style-after-clearing-effect.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
transform-accelerated-animation-finishes-before-removal-expected.txt
transform-accelerated-animation-finishes-before-removal.html
transform-accelerated-animation-removed-one-frame-after-finished-promise-expected.txt
transform-accelerated-animation-removed-one-frame-after-finished-promise.html
transform-animation-with-steps-timing-function-not-accelerated-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
transform-animation-with-steps-timing-function-not-accelerated.html
transform-property-and-transform-animation-with-delay-on-forced-layer-expected.html REGRESSION(r268615): images flicker on apple.com/ios/ios-14 2021-01-28 06:54:42 +00:00
transform-property-and-transform-animation-with-delay-on-forced-layer.html REGRESSION(r268615): images flicker on apple.com/ios/ios-14 2021-01-28 06:54:42 +00:00
transform-transition-with-delay-on-forced-layer-with-transform-expected.html REGRESSION(r272004): transform transition with delay doesn't behave correctly 2021-03-01 18:47:02 +00:00
transform-transition-with-delay-on-forced-layer-with-transform.html REGRESSION(r272004): transform transition with delay doesn't behave correctly 2021-03-01 18:47:02 +00:00
transition-restart-after-style-recalc-during-transitionend-expected.txt REGRESSION (r263729): transform transition doesn't restart 2020-10-21 18:10:52 +00:00
transition-restart-after-style-recalc-during-transitionend.html REGRESSION (r263729): transform transition doesn't restart 2020-10-21 18:10:52 +00:00
translate-property-and-translate-animation-with-delay-on-forced-layer-expected.html REGRESSION(r268615): images flicker on apple.com/ios/ios-14 2021-01-28 06:54:42 +00:00
translate-property-and-translate-animation-with-delay-on-forced-layer.html REGRESSION(r268615): images flicker on apple.com/ios/ios-14 2021-01-28 06:54:42 +00:00
updating-property-targeted-by-css-transition-during-css-animation-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
updating-property-targeted-by-css-transition-during-css-animation.html Hardware fill-forwards animation and transitions don't interact correctly 2020-05-26 19:12:22 +00:00
width-and-opacity-separate-animation-yields-compositing-expected.txt
width-and-opacity-separate-animation-yields-compositing.html