mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +00:00
LibWeb: Reset animated CSS properties for pseudo elements
Previously we were resetting animated properties if animation effect's target is not a pseudo element.
This commit is contained in:
parent
c5071c9025
commit
6a029fb6d9
Notes:
github-actions[bot]
2025-05-28 16:37:19 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 6a029fb6d9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4903
Reviewed-by: https://github.com/tcl3 ✅
6 changed files with 8 additions and 13 deletions
|
@ -789,13 +789,6 @@ GC::Ref<CSS::ComputedProperties> Element::resolved_css_values(Optional<CSS::Pseu
|
|||
return properties;
|
||||
}
|
||||
|
||||
void Element::reset_animated_css_properties()
|
||||
{
|
||||
if (!m_computed_properties)
|
||||
return;
|
||||
m_computed_properties->reset_animated_properties();
|
||||
}
|
||||
|
||||
DOMTokenList* Element::class_list()
|
||||
{
|
||||
if (!m_class_list)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue