diff options
author | Andreas Kling <kling@serenityos.org> | 2022-02-25 18:42:37 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-25 19:38:31 +0100 |
commit | 17f34488f6629d07476f4bc191276df0b10d541e (patch) | |
tree | 7da48d505c338e4237b73f2d844b746235e25914 /Userland/Libraries/LibWeb/HTML/HTMLImageElement.h | |
parent | b023308f5c2f2c72ff83da9ec75e623919674623 (diff) | |
download | serenity-17f34488f6629d07476f4bc191276df0b10d541e.zip |
LibWeb: Implement HTMLImageElement.width and HTMLImageElement.height
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLImageElement.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLImageElement.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.h b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.h index 710db31f20..29531f56f2 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLImageElement.h +++ b/Userland/Libraries/LibWeb/HTML/HTMLImageElement.h @@ -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; |