mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
LibWeb: Add an InternalAnimationTimeline object
This will allow fine grained control over animation times, which will allow us to write timing tests that can reliably pass on the much slower CI machines.
This commit is contained in:
parent
8d765f1084
commit
a1f4d1875e
Notes:
sideshowbarker
2024-07-18 03:23:00 +09:00
Author: https://github.com/mattco98
Commit: a1f4d1875e
Pull-request: https://github.com/SerenityOS/serenity/pull/23750
8 changed files with 87 additions and 1 deletions
|
@ -101,4 +101,10 @@ WebIDL::ExceptionOr<bool> Internals::dispatch_user_activated_event(DOM::EventTar
|
|||
return target.dispatch_event(event);
|
||||
}
|
||||
|
||||
JS::NonnullGCPtr<InternalAnimationTimeline> Internals::create_internal_animation_timeline()
|
||||
{
|
||||
auto& realm = this->realm();
|
||||
return realm.heap().allocate<InternalAnimationTimeline>(realm, realm);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue