From 557e194dbdf119a82792fd579998caa062c77310 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Mon, 12 Aug 2024 23:48:30 +0200 Subject: Preserve aspect ratio of images When posible, change the image size so the aspect ratio is always preserved. This is only posible when one or both dimensions have some room to play. When both dimensions are not fixed, a naive algorithm tries to satisfy all {min,max}-{width,height} and aspect ratio constraints, but it may fail. In that case, the aspect ratio is not preserved. Fixes the HTML tests img-aspect-ratio and img-max-bounds. --- ChangeLog | 1 + 1 file changed, 1 insertion(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index df1b7590..d6898c4b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,7 @@ dillo-3.2.0 [Not released yet] - Control the page overlap with the scroll_page_overlap option. - Set focus_new_tab=NO and show_quit_dialog=NO by default. - Fix GET requests over HTTPS via a proxy. + - Improve image resize logic to always try to preserve the aspect ratio. Patches: Rodrigo Arias Mallo +- Add primitive support for SVG using the nanosvg.h library. - Add support for ch, rem, vw, vh, vmin and vmax CSS units. -- cgit v1.2.3