1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 07:44:59 +00:00

LibWeb: Support setting dimensions on input image buttons

Users are allowed to specify the height and width of an image button
directly in the HTML.
This commit is contained in:
Timothy Flynn 2024-02-19 07:31:47 -05:00 committed by Andreas Kling
parent 3ea26327c7
commit 3f3db34587
4 changed files with 45 additions and 9 deletions

View file

@ -194,6 +194,7 @@ private:
// ^DOM::Element
virtual i32 default_tab_index_value() const override;
virtual void apply_presentational_hints(CSS::StyleProperties&) const override;
// ^Layout::ImageProvider
virtual bool is_image_available() const override;