1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 04:07:35 +00:00

LibWeb: Implement HTMLImageElement.width and HTMLImageElement.height

This commit is contained in:
Andreas Kling 2022-02-25 18:42:37 +01:00
parent b023308f5c
commit 17f34488f6
3 changed files with 55 additions and 0 deletions

View file

@ -28,6 +28,12 @@ public:
const Gfx::Bitmap* bitmap() const;
unsigned width() const;
void set_width(unsigned);
unsigned height() const;
void set_height(unsigned);
private:
virtual void apply_presentational_hints(CSS::StyleProperties&) const override;