mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-19 15:43:20 +00:00
LibWeb: Implement optional function IDL arguments
This allows us to run some more view transitions WPT tests, one of which has been imported.
This commit is contained in:
parent
4559d5f6f6
commit
fa3c45d0b4
Notes:
github-actions[bot]
2025-09-10 13:51:13 +00:00
Author: https://github.com/Psychpsyo
Commit: fa3c45d0b4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6141
2 changed files with 7 additions and 3 deletions
|
@ -6679,7 +6679,6 @@ void Document::set_onvisibilitychange(WebIDL::CallbackType* value)
|
|||
}
|
||||
|
||||
// https://drafts.csswg.org/css-view-transitions-1/#dom-document-startviewtransition
|
||||
// FIXME: Calling document.startViewTransition() without arguments throws TypeError instead of calling this.
|
||||
GC::Ptr<ViewTransition::ViewTransition> Document::start_view_transition(ViewTransition::ViewTransitionUpdateCallback update_callback)
|
||||
{
|
||||
// The method steps for startViewTransition(updateCallback) are as follows:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue