mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
LibHTML: Support width/height attributes on images
This commit is contained in:
parent
088237a25f
commit
b240500107
Notes:
sideshowbarker
2024-07-19 11:47:12 +09:00
Author: https://github.com/deoxxa
Commit: b240500107
Pull-request: https://github.com/SerenityOS/serenity/pull/634
3 changed files with 34 additions and 3 deletions
|
@ -12,6 +12,8 @@ public:
|
|||
|
||||
String alt() const { return attribute("alt"); }
|
||||
String src() const { return attribute("src"); }
|
||||
int preferred_width() const;
|
||||
int preferred_height() const;
|
||||
|
||||
const GraphicsBitmap* bitmap() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue