Convert [HTMLConstructor] as constructor extension

This commit is contained in:
Kagami Sascha Rosylight 2019-10-19 20:26:20 +09:00
parent 175c0d56ca
commit e271edad92
71 changed files with 322 additions and 216 deletions

View file

@ -5,9 +5,10 @@
// https://html.spec.whatwg.org/multipage/#htmlcanvaselement
typedef (CanvasRenderingContext2D or WebGLRenderingContext or WebGL2RenderingContext) RenderingContext;
[Exposed=Window,
HTMLConstructor]
[Exposed=Window]
interface HTMLCanvasElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions, Pure] attribute unsigned long width;
[CEReactions, Pure] attribute unsigned long height;