1
Fork 0
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:
Andreas Kling 2021-11-13 00:54:21 +01:00
parent 47edd6ae89
commit 778268b1a5
3 changed files with 15 additions and 2 deletions

View file

@ -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: