haikuwebkit/LayoutTests/animations
Antti Koivisto fdcc668340 REGRESSION (r275756): Accelerated animations freeze when invalidating layout with shadow dom
https://bugs.webkit.org/show_bug.cgi?id=228954
<rdar://problem/81750217>

Reviewed by Ryosuke Niwa.

Source/WebCore:

Test: animations/shadow-host-child-change.html

Tearing down the host renderer after slot assignments change cancels animations on it.

* dom/SlotAssignment.cpp:
(WebCore::SlotAssignment::didChangeSlot):
* rendering/updating/RenderTreeUpdater.cpp:
(WebCore::RenderTreeUpdater::tearDownRenderersAfterSlotChange):

Add a version that keeps the animations going on the teardown root.

(WebCore::RenderTreeUpdater::tearDownRenderers):
* rendering/updating/RenderTreeUpdater.h:

LayoutTests:

Original test by Liam DeBeasi

* animations/shadow-host-child-change-expected.html: Added.
* animations/shadow-host-child-change.html: Added.


Canonical link: https://commits.webkit.org/240582@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-08-17 05:34:02 +00:00
..
3d
font-variations Improve font-variation-settings interpolation 2021-03-10 21:41:28 +00:00
resources Correctly handle "auto" values when blending z-index 2021-03-07 20:16:46 +00:00
CSSKeyframesRule-name-null-expected.txt
CSSKeyframesRule-name-null.html
CSSKeyframesRule-parameters-expected.txt
CSSKeyframesRule-parameters.html
added-while-suspended-expected.txt
added-while-suspended.html
additive-transform-animations-expected.html Rotation animations sometimes use the wrong origin (affects apple.com) 2019-02-21 22:36:32 +00:00
additive-transform-animations.html
animation-add-events-in-handler-expected.txt
animation-add-events-in-handler.html
animation-border-overflow-expected.txt
animation-border-overflow.html
animation-callback-timestamp-expected.txt Timestamps should be the same for all rendering update steps 2020-04-28 00:22:49 +00:00
animation-callback-timestamp.html Timestamps should be the same for all rendering update steps 2020-04-28 00:22:49 +00:00
animation-controller-drt-api-expected.txt
animation-controller-drt-api.html
animation-css-rule-types-expected.txt
animation-css-rule-types.html
animation-delay-changed-expected.txt
animation-delay-changed.html
animation-direction-alternate-reverse-expected.txt
animation-direction-alternate-reverse.html [Web Animations] Turn Web Animations with CSS integration on 2018-09-27 09:49:52 +00:00
animation-direction-expected.txt
animation-direction-normal-expected.png
animation-direction-normal-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
animation-direction-normal.html [ Mac iOS ] animations/animation-direction-normal.html is a flaky failure 2020-04-23 17:23:18 +00:00
animation-direction-reverse-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
animation-direction-reverse-fill-mode-expected.txt
animation-direction-reverse-fill-mode-hardware-expected.txt Support reverse and alternate-reverse in CA animations 2012-04-28 04:59:53 +00:00
animation-direction-reverse-fill-mode-hardware.html
animation-direction-reverse-fill-mode.html Clean up accessibility & animations tests to stop calling testRunner.waitUntilDone() twice 2017-02-02 18:55:23 +00:00
animation-direction-reverse-hardware-expected.txt
animation-direction-reverse-hardware-opacity-expected.txt
animation-direction-reverse-hardware-opacity.html
animation-direction-reverse-hardware.html
animation-direction-reverse-non-hardware-expected.txt
animation-direction-reverse-non-hardware.html [Web Animations] Turn Web Animations with CSS integration on 2018-09-27 09:49:52 +00:00
animation-direction-reverse-timing-functions-expected.txt Support reverse and alternate-reverse in CA animations 2012-04-28 04:59:53 +00:00
animation-direction-reverse-timing-functions-hardware-expected.txt
animation-direction-reverse-timing-functions-hardware.html [Web Animations] Turn Web Animations with CSS integration on 2018-09-27 09:49:52 +00:00
animation-direction-reverse-timing-functions.html
animation-direction-reverse.html [ Mac iOS ] animations/animation-direction-normal.html is a flaky failure 2020-04-23 17:23:18 +00:00
animation-direction.html
animation-end-event-destroy-renderer-expected.txt
animation-end-event-destroy-renderer.html
animation-end-event-short-iterations-expected.txt
animation-end-event-short-iterations.html
animation-events-create-expected.txt
animation-events-create.html
animation-events-not-cancelable-expected.txt Make animation events non-cancelable 2016-03-30 16:25:18 +00:00
animation-events-not-cancelable.html
animation-fill-forwards-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
animation-fill-forwards-removal.html
animation-followed-by-transition-expected.txt Animation followed by transition doesn't always fire transitionend event 2016-12-10 22:29:24 +00:00
animation-followed-by-transition.html
animation-followed-by-two-transitions-expected.txt REGRESSION (r263729): Carousel freezes on "fourth page"/fourth click on right arrow on netflix.com 2020-08-21 00:12:05 +00:00
animation-followed-by-two-transitions.html REGRESSION (r263729): Carousel freezes on "fourth page"/fourth click on right arrow on netflix.com 2020-08-21 00:12:05 +00:00
animation-hit-test-expected.txt
animation-hit-test-transform-expected.txt
animation-hit-test-transform.html
animation-hit-test.html
animation-initial-inheritance-expected.html REGRESSION (r207372) Visibility property is not inherited when used in an animation 2017-05-10 22:23:11 +00:00
animation-initial-inheritance.html
animation-iteration-event-destroy-renderer-expected.txt
animation-iteration-event-destroy-renderer.html
animation-matrix-negative-scale-unmatrix-expected.txt
animation-matrix-negative-scale-unmatrix.html Use testRunner instead of layoutTestController in animations tests 2012-06-11 17:22:07 +00:00
animation-multiple-callbacks-timestamp-expected.txt Timestamps should be the same for all rendering update steps 2020-04-28 00:22:49 +00:00
animation-multiple-callbacks-timestamp.html Timestamps should be the same for all rendering update steps 2020-04-28 00:22:49 +00:00
animation-offscreen-to-onscreen-expected.png
animation-offscreen-to-onscreen-expected.txt
animation-offscreen-to-onscreen.html
animation-on-inline-crash-expected.txt
animation-on-inline-crash.html
animation-playstate-paused-style-resolution-expected.txt animation-play-state: paused causes very high cpu load because of style invalidation loop 2018-05-15 08:59:53 +00:00
animation-playstate-paused-style-resolution.html [Web Animations] Turn Web Animations with CSS integration on 2018-09-27 09:49:52 +00:00
animation-remove-element-crash-expected.txt Release assert in compareAnimationsByCompositeOrder 2021-03-30 19:47:31 +00:00
animation-remove-element-crash.html Release assert in compareAnimationsByCompositeOrder 2021-03-30 19:47:31 +00:00
animation-shorthand-expected.txt
animation-shorthand-name-order-expected.txt
animation-shorthand-name-order.html
animation-shorthand-overriding-expected.txt
animation-shorthand-overriding.html
animation-shorthand-removed-expected.txt
animation-shorthand-removed.html
animation-shorthand.html
animation-start-event-destroy-renderer-expected.txt
animation-start-event-destroy-renderer.html Use testRunner instead of layoutTestController in animations tests 2012-06-11 17:22:07 +00:00
animation-welcome-safari-expected.txt
animation-welcome-safari.html
big-rotation-expected.txt
big-rotation.html
body-removal-crash-expected.txt
body-removal-crash.html
change-completed-animation-expected.txt
change-completed-animation-transform-expected.html
change-completed-animation-transform.html
change-completed-animation.html
change-keyframes-expected.txt Changes to shared testing JS files should not cause test failures due to console message line numbers changing 2020-04-10 21:10:11 +00:00
change-keyframes-name-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
change-keyframes-name.html [ iOS ] REGRESSION: animations/change-keyframes-name.html is a flaky failure 2020-04-27 20:56:01 +00:00
change-keyframes.html
change-one-anim-expected.txt
change-one-anim.html
change-transform-style-during-animation-expected.png
change-transform-style-during-animation-expected.txt
change-transform-style-during-animation.html Clean up accessibility & animations tests to stop calling testRunner.waitUntilDone() twice 2017-02-02 18:55:23 +00:00
combo-transform-rotate+scale-expected.txt
combo-transform-rotate+scale.html
combo-transform-translate+scale-expected.txt
combo-transform-translate+scale.html
computed-style-expected.txt [CSS Easing 1] implement `jump-*` step positions 2020-05-02 09:34:30 +00:00
computed-style.html [CSS Easing 1] implement `jump-*` step positions 2020-05-02 09:34:30 +00:00
crash-on-removing-animation-expected.txt
crash-on-removing-animation.html
cross-fade-background-image-expected.html
cross-fade-background-image.html
cross-fade-border-image-source-expected.txt [LayoutTests] Transition animations/cross-fade-* tests to non-pixel-tests 2020-03-03 06:05:59 +00:00
cross-fade-border-image-source.html
cross-fade-list-style-image-expected.txt
cross-fade-list-style-image.html
cross-fade-webkit-mask-box-image-expected.txt [LayoutTests] Transition animations/cross-fade-* tests to non-pixel-tests 2020-03-03 06:05:59 +00:00
cross-fade-webkit-mask-box-image.html
cross-fade-webkit-mask-image-expected.txt
cross-fade-webkit-mask-image.html
duplicate-keys-expected.html
duplicate-keys.html
duplicated-keyframes-name-expected.txt
duplicated-keyframes-name.html
dynamic-stylesheet-loading-expected.txt
dynamic-stylesheet-loading.html
empty-keyframes-expected.txt
empty-keyframes.html
fill-forwards-auto-height-expected.html
fill-forwards-auto-height.html
fill-forwards-end-state-expected.txt
fill-forwards-end-state.html
fill-mode-expected.txt
fill-mode-forwards-expected.txt
fill-mode-forwards-zero-duration-expected.txt [Web Animations] Turn Web Animations with CSS integration on 2018-09-27 09:49:52 +00:00
fill-mode-forwards-zero-duration.html
fill-mode-forwards.html
fill-mode-forwards2-expected.txt
fill-mode-forwards2.html
fill-mode-iteration-count-non-integer-expected.txt
fill-mode-iteration-count-non-integer.html Safari mis-applies "animation-fill-mode: forwards" when using fractional iteration count 2015-07-21 21:19:20 +00:00
fill-mode-missing-from-to-keyframes-expected.txt
fill-mode-missing-from-to-keyframes.html
fill-mode-multiple-keyframes-expected.txt
fill-mode-multiple-keyframes.html
fill-mode-removed-expected.txt
fill-mode-removed.html
fill-mode-reverse-expected.txt
fill-mode-reverse.html
fill-mode-transform-expected.txt
fill-mode-transform.html
fill-mode.html
fill-unset-properties-expected.txt
fill-unset-properties.html
font-size-using-ems-expected.txt
font-size-using-ems.html
generic-from-to-expected.txt
generic-from-to.html
import-crash-expected.txt
import-crash.html
import-expected.txt
import.html
invalid-property-animation-expected.txt
invalid-property-animation.html
keyframe-autoclose-brace-expected.txt
keyframe-autoclose-brace.html
keyframe-em-unit-expected.html Relative font size values (em) within CSS animations compound 2020-06-12 14:40:37 +00:00
keyframe-em-unit.html Relative font size values (em) within CSS animations compound 2020-06-12 14:40:37 +00:00
keyframe-multiple-timing-functions-transform-expected.txt Make RenderLayerBacking get the timingFunction of the correct animation. 2014-04-18 00:44:53 +00:00
keyframe-multiple-timing-functions-transform.html
keyframe-pseudo-shadow-expected.html Pseudo-elements (::after) in shadow roots don't animate 2020-06-08 14:24:14 +00:00
keyframe-pseudo-shadow.html Pseudo-elements (::after) in shadow roots don't animate 2020-06-08 14:24:14 +00:00
keyframe-rem-unit-expected.html Animation of font-size with rem values is incorrect 2020-05-19 16:00:31 +00:00
keyframe-rem-unit.html Animation of font-size with rem values is incorrect 2020-05-19 16:00:31 +00:00
keyframe-selector-negative-percentage-expected.txt
keyframe-selector-negative-percentage.html Sign in front of keyframe selector causes stylesheet parsing to abort 2012-10-01 06:13:53 +00:00
keyframe-timing-functions-expected.txt
keyframe-timing-functions-transform-expected.txt 2010-06-12 Dean Jackson <dino@apple.com> 2010-06-12 22:16:46 +00:00
keyframe-timing-functions-transform.html
keyframe-timing-functions.html
keyframe-timing-functions2-expected.txt
keyframe-timing-functions2.html
keyframes-comma-separated-expected.txt
keyframes-comma-separated.html
keyframes-dynamic-expected.txt
keyframes-dynamic.html
keyframes-expected.txt
keyframes-infinite-iterations-expected.txt
keyframes-infinite-iterations.html
keyframes-invalid-keys-expected.txt
keyframes-invalid-keys.html
keyframes-iteration-count-non-integer-expected.txt
keyframes-iteration-count-non-integer.html Clean up accessibility & animations tests to stop calling testRunner.waitUntilDone() twice 2017-02-02 18:55:23 +00:00
keyframes-out-of-order-expected.txt
keyframes-out-of-order.html
keyframes-rule-expected.txt
keyframes-rule.html
keyframes.html
large-negative-delay-expected.txt
large-negative-delay.html
leak-document-with-css-animation-expected.txt [Web Animations] WebAnimation objects never get destroyed 2018-05-25 13:45:15 +00:00
leak-document-with-css-animation.html
legacy-encoding-timing-function-expected.txt Fix possible crash when webAnimationsCSSIntegrationEnabled is false 2020-08-20 03:51:26 +00:00
legacy-encoding-timing-function.html Remove the legacy animation code 2020-09-17 12:39:28 +00:00
lineheight-animation-expected.txt
lineheight-animation.html
longhand-timing-function-expected.txt
longhand-timing-function.html
many-pseudo-animations-expected.txt
many-pseudo-animations.html
matrix-anim-expected.txt
matrix-anim.html
missing-from-to-expected.txt
missing-from-to-transforms-expected.txt
missing-from-to-transforms.html
missing-from-to.html
missing-keyframe-properties-expected.txt
missing-keyframe-properties-repeating-expected.txt
missing-keyframe-properties-repeating.html [Web Animations] Turn Web Animations with CSS integration on 2018-09-27 09:49:52 +00:00
missing-keyframe-properties-timing-function-expected.txt
missing-keyframe-properties-timing-function.html [Web Animations] Turn Web Animations with CSS integration on 2018-09-27 09:49:52 +00:00
missing-keyframe-properties.html
missing-values-first-keyframe-expected.png
missing-values-first-keyframe.html
missing-values-last-keyframe-expected.png
missing-values-last-keyframe.html
multiple-animations-expected.txt
multiple-animations-timing-function-expected.txt 2011-06-22 Young Han Lee <joybro@company100.net> 2011-06-22 19:57:13 +00:00
multiple-animations-timing-function.html
multiple-animations.html
multiple-backgrounds-expected.html
multiple-backgrounds.html
multiple-keyframes-expected.txt
multiple-keyframes.html
needs-layout-expected.html
needs-layout.html
negative-delay-expected.txt 2009-12-11 Simon Fraser <simon.fraser@apple.com> 2009-12-11 21:02:50 +00:00
negative-delay.html
no-style-recalc-during-accelerated-animation-expected.txt requestAnimationFrame should execute before the next frame 2019-04-11 05:44:13 +00:00
no-style-recalc-during-accelerated-animation.html
opacity-transform-animation-expected.png
opacity-transform-animation-expected.txt
opacity-transform-animation.html
pause-crash-expected.txt
pause-crash.html
play-state-expected.txt
play-state-in-shorthand-expected.txt
play-state-in-shorthand.html
play-state-paused-expected.png
play-state-paused-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
play-state-paused.html [ iOS wk2 ] animations/play-state-paused.html is flaky failing. 2020-06-04 18:28:17 +00:00
play-state-start-paused-expected.html
play-state-start-paused.html
play-state-suspend-expected.txt
play-state-suspend.html
play-state.html
remove-syncing-animation-expected.txt
remove-syncing-animation.html
restart-after-scroll-expected.txt
restart-after-scroll-nested-expected.txt
restart-after-scroll-nested.html
restart-after-scroll.html
resume-after-page-cache-expected.txt Animations do not restart after exiting page cache 2013-05-29 03:14:10 +00:00
resume-after-page-cache.html [Testing] Rename test header commands to match names in WebPreferences*.yaml 2020-10-13 17:16:15 +00:00
shadow-host-child-change-expected.html REGRESSION (r275756): Accelerated animations freeze when invalidating layout with shadow dom 2021-08-17 05:34:02 +00:00
shadow-host-child-change.html REGRESSION (r275756): Accelerated animations freeze when invalidating layout with shadow dom 2021-08-17 05:34:02 +00:00
simultaneous-start-left-expected.txt
simultaneous-start-left.html
simultaneous-start-transform-expected.txt
simultaneous-start-transform.html
spring-computed-style-expected.txt
spring-computed-style.html
spring-function-expected.txt
spring-function.html
spring-parsing-expected.txt
spring-parsing.html
stacking-context-fill-forwards-expected.html If an animation's keyframes affect stacking context properties, create stacking context while the animation is running 2016-10-28 03:20:32 +00:00
stacking-context-fill-forwards.html
stacking-context-not-fill-forwards-expected.html If an animation's keyframes affect stacking context properties, create stacking context while the animation is running 2016-10-28 03:20:32 +00:00
stacking-context-not-fill-forwards.html
stacking-context-unchanged-while-running-expected.html If an animation's keyframes affect stacking context properties, create stacking context while the animation is running 2016-10-28 03:20:32 +00:00
stacking-context-unchanged-while-running.html Correctly handle "auto" values when blending z-index 2021-03-07 20:16:46 +00:00
stacking-during-opacity-animation-expected.txt REGRESSION (r208025) GraphicsContext state stack assertions loading webkit.org 2016-11-03 00:19:54 +00:00
stacking-during-opacity-animation.html
state-at-end-event.html
steps-transform-compositing-updates-expected.txt Avoid triggering redundant compositing updates when trying ot run a steps() animation on transform 2020-08-07 00:57:45 +00:00
steps-transform-compositing-updates.html Avoid triggering redundant compositing updates when trying ot run a steps() animation on transform 2020-08-07 00:57:45 +00:00
steps-transform-rendering-updates-expected.txt Step animations invalidate style on every rendering update whether or not they need to 2020-08-27 15:42:07 +00:00
steps-transform-rendering-updates.html Avoid triggering redundant compositing updates when trying ot run a steps() animation on transform 2020-08-07 00:57:45 +00:00
stop-animation-on-suspend-expected.txt
stop-animation-on-suspend.html
suspend-resume-animation-events-expected.txt
suspend-resume-animation-events.html
suspend-resume-animation-expected.txt
suspend-resume-animation.html
suspend-transform-animation-expected.png
suspend-transform-animation-expected.txt
suspend-transform-animation.html
text-decoration-thickness-expected.txt
text-decoration-thickness.html
text-underline-offset-expected.txt
text-underline-offset.html
timing-functions-expected.txt
timing-functions.html
top-left-percent-interpolation-expected.txt REGRESSION (r274038): Keyframe animation with top/left with percentages fails to animate 2021-08-06 13:42:59 +00:00
top-left-percent-interpolation.html REGRESSION (r274038): Keyframe animation with top/left with percentages fails to animate 2021-08-06 13:42:59 +00:00
transform-non-accelerated-expected.txt
transform-non-accelerated.html
transition-and-animation-1-expected.txt [ Mojave wk1 Release ] animations/transition-and-animation-1.html is a flaky failure 2020-04-22 18:08:18 +00:00
transition-and-animation-1.html [ Mojave wk1 Release ] animations/transition-and-animation-1.html is a flaky failure 2020-04-22 16:21:37 +00:00
transition-and-animation-2-expected.txt
transition-and-animation-2.html
transition-and-animation-3-expected.txt
transition-and-animation-3.html
unanimated-style-expected.txt
unanimated-style.html
unprefixed-events-expected.txt
unprefixed-events-mixed-with-prefixed-expected.txt
unprefixed-events-mixed-with-prefixed.html [iOS 14 wk2] animations/unprefixed-events-mixed-with-prefixed.html is a flaky failure 2020-11-04 17:44:01 +00:00
unprefixed-events.html
unprefixed-keyframes-expected.txt
unprefixed-keyframes-rule-expected.txt
unprefixed-keyframes-rule.html
unprefixed-keyframes.html
unprefixed-properties-expected.txt
unprefixed-properties.html
unprefixed-shorthand-expected.txt
unprefixed-shorthand.html
width-using-ems-expected.txt
width-using-ems.html
z-index-in-keyframe-expected.html
z-index-in-keyframe.html