mirror of
https://github.com/servo/servo
synced 2026-04-30 11:27:28 +02:00
Partial fix for #12415: expose Canvas interfaces
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user