Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibWeb/CSS: Stop invalidating style when setting an animation's effect #1813

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

AtkinsSJ
Copy link
Member

This reverts 6d25bf3

Invalidating the style here means that transitions can cause an element to leave style computation with its "needs style update" flag set to true. This then causes a VERIFY to fail in the TreeBuilder.

This invalidation does not otherwise seem to have any effect. The original commit suggests this was to fix a bug, but it's not clear what bug that was. If it reappears, we can try to solve the issue in a different way.

Fixes #1586.

This reverts 6d25bf3

Invalidating the style here means that transitions can cause an element
to leave style computation with its "needs style update" flag set to
true. This then causes a VERIFY to fail in the TreeBuilder.

This invalidation does not otherwise seem to have any effect. The
original commit suggests this was to fix a bug, but it's not clear what
bug that was. If it reappears, we can try to solve the issue in a
different way.
@AtkinsSJ
Copy link
Member Author

(I may or may not have forgotten about this branch. 😅)

@trflynn89 trflynn89 merged commit 81596b4 into LadybirdBrowser:master Oct 15, 2024
6 checks passed
@AtkinsSJ AtkinsSJ deleted the apple.com-crash branch October 16, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash on opening github.com
2 participants