mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Convert [HTMLConstructor] as constructor extension
This commit is contained in:
parent
175c0d56ca
commit
e271edad92
71 changed files with 322 additions and 216 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue