mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:28:11 +00:00
LibWeb: Add AbstractImageStyleValue::natural_aspect_ratio()
This commit is contained in:
parent
bbceb155ce
commit
d2c96e213f
3 changed files with 17 additions and 0 deletions
|
@ -42,6 +42,7 @@ public:
|
|||
|
||||
Optional<CSSPixels> natural_width() const override;
|
||||
Optional<CSSPixels> natural_height() const override;
|
||||
Optional<CSSPixelFraction> natural_aspect_ratio() const override;
|
||||
|
||||
virtual bool is_paintable() const override;
|
||||
void paint(PaintContext& context, DevicePixelRect const& dest_rect, CSS::ImageRendering image_rendering) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue