Date: Sun Nov 5 21:51:51 2006
New Revision: 3035
Summary of lists implementation.
--- trunk/netsurf/Docs/02-layout (original)
+++ trunk/netsurf/Docs/02-layout Sun Nov 5 21:51:51 2006
@@ -30,6 +30,16 @@
The box tree can then be rendered using each node's coordinates.
+Lists are one or more elements with 'display: list-item' (which is set for 'li'
+by the default CSS). A list-item is constructed as a BLOCK box and a box for the
+marker attached at block->list_marker. The marker contains the bullet, number,
+or similar, depending on the list-style-type.
+Layout of the block is as normal. A pass of layout after main layout places list
+marker boxes to the left of their block (see layout_lists()).
Absolutely positioned boxes are constructed in the box tree in the same place as