From e188ab14935ab6c25f95e9598c018f59db04ee5e Mon Sep 17 00:00:00 2001 From: Matthew Olsson Date: Mon, 27 May 2024 06:13:46 -0700 Subject: [PATCH] LibWeb: Add missing spec links to KeyframeEffect --- Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp b/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp index 9708a42bab5..fbf7c839e8a 100644 --- a/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp +++ b/Userland/Libraries/LibWeb/Animations/KeyframeEffect.cpp @@ -676,6 +676,7 @@ WebIDL::ExceptionOr> KeyframeEffect::construct_ return effect; } +// https://www.w3.org/TR/web-animations-1/#dom-keyframeeffect-keyframeeffect-source WebIDL::ExceptionOr> KeyframeEffect::construct_impl(JS::Realm& realm, JS::NonnullGCPtr 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 KeyframeEffect::set_pseudo_element(Optional pseudo_element) { auto& realm = this->realm();