1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

LibWeb: Reorder and add missing HTML elements IDL items

This commit is contained in:
Bastiaan van der Plaat 2023-10-25 17:26:24 +02:00 committed by Andreas Kling
parent 54cdcd0d06
commit fc46def2f5
42 changed files with 220 additions and 48 deletions

View file

@ -10,12 +10,14 @@ interface HTMLCanvasElement : HTMLElement {
[HTMLConstructor] constructor();
RenderingContext? getContext(DOMString contextId, optional any options = null);
[CEReactions] attribute unsigned long width;
[CEReactions] attribute unsigned long height;
RenderingContext? getContext(DOMString contextId, optional any options = null);
USVString toDataURL(optional DOMString type = "image/png", optional double quality);
undefined toBlob(BlobCallback _callback, optional DOMString type = "image/png", optional double quality);
};
callback BlobCallback = undefined (Blob? blob);