about summary refs log tree commit diff stats
path: root/todo
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-12-17 01:23:52 +0100
committerbptato <nincsnevem662@gmail.com>2024-12-17 19:35:41 +0100
commit7d91d0dfe6309edeee7d7562d6054a8fb0392573 (patch)
treedede41714721d9ec6f4d7a61a66afb5b9fa7fe6b /todo
parentc514f8c8b2e11557eed512d55321f9c8382ac2cc (diff)
downloadchawan-7d91d0dfe6309edeee7d7562d6054a8fb0392573.tar.gz
layout: propagate intrinsic minimum height
Necessary for flex.  Previously we just used the actual height, but that
didn't account for boxes that size themselves depending on the available
height (mainly just images for now).

This also irons out intrinsic min width calculation somewhat, squashing
several bugs.

I hope it works well.  It is a significant change in size calculation,
so maybe there are still new bugs lurking.
Diffstat (limited to 'todo')
-rw-r--r--todo5
1 files changed, 5 insertions, 0 deletions
diff --git a/todo b/todo
index 4dad50bb..e57648ee 100644
--- a/todo
+++ b/todo
@@ -67,6 +67,11 @@ layout engine:
 - flexbox: align-self, align-items, justify-content, proper margin handling
 - details element
 - overflow
+	* which way to round on overflow: hidden? (floor is probably
+	  better)
+	* instead of scrollbars, maybe just clamp overflow: scroll or
+	  auto to their intrinsic minimum height? it might work well
+	  enough on most sites
 - partial layout, layout caching
 - iframe
 - z order