mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Add missing constructors to HTMLElement IDLs
This commit is contained in:
committed by
Andreas Kling
parent
daf421846c
commit
5c8be3b072
Notes:
sideshowbarker
2024-07-16 23:17:55 +09:00
Author: https://github.com/srikavin Commit: https://github.com/SerenityOS/serenity/commit/5c8be3b072 Pull-request: https://github.com/SerenityOS/serenity/pull/18004
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user