mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 14:25:06 +00:00
LibHTML: Support width/height attributes on images
This commit is contained in:
parent
088237a25f
commit
b240500107
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