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:
parent
b023308f5c
commit
17f34488f6
3 changed files with 55 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue