mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-29 04:39:10 +00:00
LibWeb: Add missing spec links to KeyframeEffect
This commit is contained in:
parent
d0f88d4958
commit
e188ab1493
Notes:
sideshowbarker
2024-07-17 05:03:11 +09:00
Author: https://github.com/mattco98
Commit: e188ab1493
Pull-request: https://github.com/SerenityOS/serenity/pull/24474
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue