mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 15:49:11 +00:00
LibWeb: Remove associated transitions when clearing transitions
This fixes a crash on nextjs.org
This commit is contained in:
parent
9fbf5039a6
commit
ee54f9ee95
Notes:
github-actions[bot]
2024-09-23 15:09:50 +00:00
Author: https://github.com/ChaseKnowlden 🔰
Commit: ee54f9ee95
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1491
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/tcl3 ✅
1 changed files with 1 additions and 0 deletions
|
@ -150,6 +150,7 @@ void Animatable::remove_transition(CSS::PropertyID property_id)
|
||||||
|
|
||||||
void Animatable::clear_transitions()
|
void Animatable::clear_transitions()
|
||||||
{
|
{
|
||||||
|
m_associated_transitions.clear();
|
||||||
m_transition_attribute_indices.clear();
|
m_transition_attribute_indices.clear();
|
||||||
m_transition_attributes.clear();
|
m_transition_attributes.clear();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue