mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
Partial fix for #12415: expose Canvas interfaces
This commit is contained in:
parent
1a3287bef7
commit
df8030c50d
6 changed files with 15 additions and 36 deletions
|
@ -5,7 +5,6 @@
|
|||
// https://html.spec.whatwg.org/multipage/#htmlcanvaselement
|
||||
typedef (CanvasRenderingContext2D or WebGLRenderingContext) RenderingContext;
|
||||
|
||||
[Exposed=(Window,Worker)]
|
||||
interface HTMLCanvasElement : HTMLElement {
|
||||
[Pure]
|
||||
attribute unsigned long width;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue