diff options
author | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-08-12 23:48:30 +0200 |
---|---|---|
committer | Rodrigo Arias Mallo <rodarima@gmail.com> | 2024-10-17 20:38:15 +0200 |
commit | 557e194dbdf119a82792fd579998caa062c77310 (patch) | |
tree | 964352a29b0f8bd7246a263a786a186b99d05023 /ChangeLog | |
parent | 25a381f61308794f20796596a02ae67a1d55b7fc (diff) |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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. |