mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-28 12:18:25 +00:00
LibWeb: Implement HTMLImageElement.width and HTMLImageElement.height
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user