| Summary: | Animations inside a Details tag only fire once | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Roman Komarov <kizmarh> |
| Component: | Animations | Assignee: | Antoine Quint <graouts> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | dino, graouts, graouts, koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 16 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/39183 | ||
| Attachments: | |||
|
Description
Roman Komarov
2023-03-24 02:39:35 PDT
Created attachment 465568 [details]
Test
We start off by calling RenderTreeUpdater::tearDownRenderers() with the root set to the HTMLSlotElement and TeardownType::Full. As we process the slot's children we don't call cancelDeclarativeAnimations() because of the teardownType. Then we call RenderTreeUpdater::tearDownRenderers() with the root set to the HTMLDetailElement and TeardownType::RendererUpdate. The <div> is not part of the teardownStack. Then we call RenderTreeUpdater::tearDownRenderers() again with the HTMLSlotElement but this time with TeardownType::RendererUpdate. Pull request: https://github.com/WebKit/WebKit/pull/11923 Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/39183 Committed 262076@main (46d858959377): <https://commits.webkit.org/262076@main> Reviewed commits have been landed. Closing PR #11923 and removing active labels. |