Skip to content

Conversation

@nt1m
Copy link
Member

@nt1m nt1m commented Jul 30, 2024

72ac253

REGRESSION (276531@main): State dropdown is invisible, unable to send feedback via Bunnings.com.au
https://bugs.webkit.org/show_bug.cgi?id=277303
rdar://130520487

Reviewed by Cameron McCormack.

We should not be cancelling animations in the case where we're starting in a hidden subtree, then animating with a keyframe that changes
the display value away from none. Make sure we notify about the newly created keyframe instead.

* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-dont-cancel.tentative-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-dont-cancel.tentative.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-to-display-block-dont-cancel.tentative-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-to-display-block-dont-cancel.tentative.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-to-display-block-expected.xht: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-to-display-block.html: Added.
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::createAnimatedElementUpdate):

Canonical link: https://commits.webkit.org/281544@main

2229a7b

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 wincairo
✅ 🧪 bindings ✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug 🧪 wpe-wk2 ✅ 🧪 wincairo-tests
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🧪 api-wpe
✅ 🧪 ios-wk2-wpt ✅ 🧪 mac-wk1 ✅ 🛠 wpe-cairo
🧪 api-ios ✅ 🧪 mac-wk2 ✅ 🛠 gtk
✅ 🛠 vision 🧪 mac-AS-debug-wk2 🧪 gtk-wk2
✅ 🛠 vision-sim ✅ 🧪 mac-wk2-stress ✅ 🧪 api-gtk
✅ 🛠 🧪 merge ✅ 🧪 vision-wk2
🛠 tv
🛠 tv-sim
🛠 watch
🛠 watch-sim

@nt1m nt1m self-assigned this Jul 30, 2024
@nt1m nt1m added the Animations Bugs related to CSS + SVG animations and transitions label Jul 30, 2024
Copy link
Contributor

@heycam heycam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=me with comments addressed.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, it's name to reset the state of the test so they can be re-ran if needed when opened manually

@nt1m nt1m force-pushed the eng/REGRESSION-276531main-State-dropdown-is-invisible-unable-to-send-feedback-via-Bunnings-com-au branch from ca3f51a to 90e3b37 Compare July 30, 2024 00:39
@nt1m nt1m force-pushed the eng/REGRESSION-276531main-State-dropdown-is-invisible-unable-to-send-feedback-via-Bunnings-com-au branch from 90e3b37 to 2229a7b Compare July 30, 2024 01:49
@nt1m nt1m added the merge-queue Applied to send a pull request to merge-queue label Jul 30, 2024
… feedback via Bunnings.com.au

https://bugs.webkit.org/show_bug.cgi?id=277303
rdar://130520487

Reviewed by Cameron McCormack.

We should not be cancelling animations in the case where we're starting in a hidden subtree, then animating with a keyframe that changes
the display value away from none. Make sure we notify about the newly created keyframe instead.

* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-dont-cancel.tentative-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-dont-cancel.tentative.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-to-display-block-dont-cancel.tentative-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-to-display-block-dont-cancel.tentative.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-to-display-block-expected.xht: Added.
* LayoutTests/imported/w3c/web-platform-tests/css/css-animations/display-none-to-display-block.html: Added.
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::createAnimatedElementUpdate):

Canonical link: https://commits.webkit.org/281544@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/REGRESSION-276531main-State-dropdown-is-invisible-unable-to-send-feedback-via-Bunnings-com-au branch from 2229a7b to 72ac253 Compare July 30, 2024 04:14
@webkit-commit-queue
Copy link
Collaborator

Committed 281544@main (72ac253): https://commits.webkit.org/281544@main

Reviewed commits have been landed. Closing PR #31429 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 72ac253 into WebKit:main Jul 30, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jul 30, 2024
@nt1m nt1m deleted the eng/REGRESSION-276531main-State-dropdown-is-invisible-unable-to-send-feedback-via-Bunnings-com-au branch July 30, 2024 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Animations Bugs related to CSS + SVG animations and transitions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants