mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:07:36 +00:00
LibWeb: Allow setting the width & height properties on <canvas> elements
This commit is contained in:
parent
47edd6ae89
commit
778268b1a5
3 changed files with 15 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
interface HTMLCanvasElement : HTMLElement {
|
||||
|
||||
CanvasRenderingContext2D? getContext(DOMString contextId);
|
||||
readonly attribute unsigned long width;
|
||||
readonly attribute unsigned long height;
|
||||
attribute unsigned long width;
|
||||
attribute unsigned long height;
|
||||
|
||||
USVString toDataURL(optional DOMString type = "image/png", optional double quality);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue