Skip to content

Commit

Permalink
LibWeb: Add missing spec links to KeyframeEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
mattco98 authored and awesomekling committed May 29, 2024
1 parent d0f88d4 commit e188ab1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,6 +676,7 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<KeyframeEffect>> KeyframeEffect::construct_
return effect;
}

// https://www.w3.org/TR/web-animations-1/#dom-keyframeeffect-keyframeeffect-source
WebIDL::ExceptionOr<JS::NonnullGCPtr<KeyframeEffect>> KeyframeEffect::construct_impl(JS::Realm& realm, JS::NonnullGCPtr<KeyframeEffect> source)
{
auto& vm = realm.vm();
Expand Down Expand Up @@ -735,6 +736,7 @@ void KeyframeEffect::set_target(DOM::Element* target)
m_target_element = target;
}

// https://www.w3.org/TR/web-animations-1/#dom-keyframeeffect-pseudoelement
WebIDL::ExceptionOr<void> KeyframeEffect::set_pseudo_element(Optional<String> pseudo_element)
{
auto& realm = this->realm();
Expand Down

0 comments on commit e188ab1

Please sign in to comment.