1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:47:34 +00:00

LibWeb: Add missing constructors to HTMLElement IDLs

This commit is contained in:
Srikavin Ramkumar 2023-03-23 03:48:52 -04:00 committed by Andreas Kling
parent daf421846c
commit 5c8be3b072
70 changed files with 132 additions and 12 deletions

View file

@ -8,6 +8,8 @@ typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
[Exposed=Window]
interface HTMLCanvasElement : HTMLElement {
[HTMLConstructor] constructor();
RenderingContext? getContext(DOMString contextId, optional any options = null);
attribute unsigned long width;
attribute unsigned long height;