|
@@ -11,7 +11,6 @@
|
|
#include <LibWeb/Bindings/AnimationEffectPrototype.h>
|
|
#include <LibWeb/Bindings/AnimationEffectPrototype.h>
|
|
#include <LibWeb/Bindings/Intrinsics.h>
|
|
#include <LibWeb/Bindings/Intrinsics.h>
|
|
#include <LibWeb/CSS/Parser/Parser.h>
|
|
#include <LibWeb/CSS/Parser/Parser.h>
|
|
-#include <LibWeb/DOM/Element.h>
|
|
|
|
#include <LibWeb/WebIDL/ExceptionOr.h>
|
|
#include <LibWeb/WebIDL/ExceptionOr.h>
|
|
|
|
|
|
namespace Web::Animations {
|
|
namespace Web::Animations {
|
|
@@ -205,8 +204,6 @@ WebIDL::ExceptionOr<void> AnimationEffect::update_timing(OptionalEffectTiming ti
|
|
void AnimationEffect::set_associated_animation(JS::GCPtr<Animation> value)
|
|
void AnimationEffect::set_associated_animation(JS::GCPtr<Animation> value)
|
|
{
|
|
{
|
|
m_associated_animation = value;
|
|
m_associated_animation = value;
|
|
- if (auto* target = this->target())
|
|
|
|
- target->invalidate_style(DOM::StyleInvalidationReason::AnimationEffectSetAssociatedAnimation);
|
|
|
|
}
|
|
}
|
|
|
|
|
|
// https://www.w3.org/TR/web-animations-1/#animation-direction
|
|
// https://www.w3.org/TR/web-animations-1/#animation-direction
|