mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add HTMLConstructor attributes where needed
This commit is contained in:
parent
0713257add
commit
d951dee640
68 changed files with 70 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue