1
Fork 0
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:
Conrad Pankoff 2019-10-06 23:15:30 +11:00 committed by Andreas Kling
parent 088237a25f
commit b240500107
3 changed files with 34 additions and 3 deletions

View file

@ -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;