LibWeb: Resolve unresolved style values when animating properties

This commit is contained in:
Matthew Olsson 2024-03-17 17:32:01 -07:00 committed by Andreas Kling
commit 3dd9f2715f
Notes: sideshowbarker 2024-07-17 03:03:37 +09:00
3 changed files with 17 additions and 12 deletions

View file

@ -92,7 +92,7 @@ public:
No,
Yes,
};
void collect_animation_into(JS::NonnullGCPtr<Animations::KeyframeEffect> animation, StyleProperties& style_properties, AnimationRefresh = AnimationRefresh::No) const;
void collect_animation_into(DOM::Element&, Optional<CSS::Selector::PseudoElement::Type>, JS::NonnullGCPtr<Animations::KeyframeEffect> animation, StyleProperties& style_properties, AnimationRefresh = AnimationRefresh::No) const;
private:
enum class ComputeStyleMode {