mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
LibWeb/DOM: Add animation helpers to AbstractElement
This commit is contained in:
committed by
Andreas Kling
parent
ba86b81c1a
commit
dacc64cb8b
Notes:
github-actions[bot]
2025-12-03 12:31:21 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/dacc64cb8b8 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6998
@@ -217,4 +217,14 @@ CSS::StyleScope const& AbstractElement::style_scope() const
|
||||
return root.document().style_scope();
|
||||
}
|
||||
|
||||
HashMap<FlyString, GC::Ref<Animations::Animation>>* AbstractElement::css_defined_animations() const
|
||||
{
|
||||
return m_element->css_defined_animations(m_pseudo_element);
|
||||
}
|
||||
|
||||
void AbstractElement::set_has_css_defined_animations()
|
||||
{
|
||||
m_element->set_has_css_defined_animations();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user