Add HTMLConstructor attributes where needed

This commit is contained in:
Connor Brewster 2017-06-07 22:53:50 -06:00
parent 0713257add
commit d951dee640
68 changed files with 70 additions and 7 deletions

View file

@ -5,6 +5,7 @@
// https://html.spec.whatwg.org/multipage/#htmlcanvaselement
typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
[HTMLConstructor]
interface HTMLCanvasElement : HTMLElement {
[Pure]
attribute unsigned long width;