From edf8d22ca950f23ede001891516e7ca09ad080a0 Mon Sep 17 00:00:00 2001 From: bptato Date: Thu, 25 Jul 2024 18:12:12 +0200 Subject: layout: min/max sizing fixes * fix max size trumping min size * respect min-width/max-width/min-height/max-height for images * fix xminwidth calculation for percentage-sized images with an indefinite containing size --- test/layout/min-max-width.color.expected | 1 + test/layout/min-max-width.html | 1 + 2 files changed, 2 insertions(+) (limited to 'test/layout') diff --git a/test/layout/min-max-width.color.expected b/test/layout/min-max-width.color.expected index d6a0a72e..de5f4496 100644 --- a/test/layout/min-max-width.color.expected +++ b/test/layout/min-max-width.color.expected @@ -30,4 +30,5 @@ every word. II  +min-width beats max-width  diff --git a/test/layout/min-max-width.html b/test/layout/min-max-width.html index c76a9b13..3aab1c65 100644 --- a/test/layout/min-max-width.html +++ b/test/layout/min-max-width.html @@ -29,3 +29,4 @@
x
This text should be displayed after a 2ch wide red box.
This text should have a 2ch wide green background and should wrap on every word.
II
+
min-width beats max-width
-- cgit 1.4.1-2-gfad0