mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb: Add FontFaceSetLoadEvent
This commit is contained in:
committed by
Jelle Raaijmakers
parent
581d6ce6e7
commit
2ff77589df
Notes:
github-actions[bot]
2026-01-06 11:25:43 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/2ff77589dfc Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7328 Reviewed-by: https://github.com/gmta ✅
15
Libraries/LibWeb/CSS/FontFaceSetLoadEvent.idl
Normal file
15
Libraries/LibWeb/CSS/FontFaceSetLoadEvent.idl
Normal file
@@ -0,0 +1,15 @@
|
||||
#import <CSS/FontFace.idl>
|
||||
#import <DOM/Event.idl>
|
||||
|
||||
// https://drafts.csswg.org/css-font-loading/#fontfacesetloadevent
|
||||
dictionary FontFaceSetLoadEventInit : EventInit {
|
||||
sequence<FontFace> fontfaces = [];
|
||||
};
|
||||
|
||||
|
||||
// https://drafts.csswg.org/css-font-loading/#fontfacesetloadevent
|
||||
[Exposed=(Window,Worker)]
|
||||
interface FontFaceSetLoadEvent : Event {
|
||||
constructor(CSSOMString type, optional FontFaceSetLoadEventInit eventInitDict = {});
|
||||
[SameObject] readonly attribute FrozenArray<FontFace> fontfaces;
|
||||
};
|
||||
Reference in New Issue
Block a user