LibWeb/CSS: Implement FontFaceSet.onloadingdone

This commit is contained in:
Jamie Mansfield 2024-06-06 20:01:39 +01:00 committed by Andreas Kling
commit e56e09b820
Notes: sideshowbarker 2024-07-17 08:38:37 +09:00
4 changed files with 16 additions and 1 deletions

View file

@ -33,6 +33,8 @@ public:
void set_onloading(WebIDL::CallbackType*);
WebIDL::CallbackType* onloading();
void set_onloadingdone(WebIDL::CallbackType*);
WebIDL::CallbackType* onloadingdone();
JS::ThrowCompletionOr<JS::NonnullGCPtr<JS::Promise>> load(String const& font, String const& text);