mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:18:11 +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
|
@ -28,6 +28,9 @@ public:
|
|||
unsigned width() const;
|
||||
unsigned height() const;
|
||||
|
||||
void set_width(unsigned);
|
||||
void set_height(unsigned);
|
||||
|
||||
String to_data_url(const String& type, Optional<double> quality) const;
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue