summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-11-05 21:51:51 +0000
committerJames Bursa <james@netsurf-browser.org>2006-11-05 21:51:51 +0000
commit43720037e32b18c89a4bca2f99df159a301dff8b (patch)
tree56348ed78d0699eba0f031bbf225e7b2171de949
parentf546f6b5e739657c163b38e46d16c913a4c9cddd (diff)
downloadnetsurf-43720037e32b18c89a4bca2f99df159a301dff8b.tar.gz
netsurf-43720037e32b18c89a4bca2f99df159a301dff8b.tar.bz2
Summary of lists implementation.
svn path=/trunk/netsurf/; revision=3035
-rw-r--r--Docs/02-layout10
1 files changed, 10 insertions, 0 deletions
diff --git a/Docs/02-layout b/Docs/02-layout
index 36f856fc0..79a637f3b 100644
--- a/Docs/02-layout
+++ b/Docs/02-layout
@@ -30,6 +30,16 @@ parent node.
The box tree can then be rendered using each node's coordinates.
+Lists
+-----
+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()).
+
Absolute positioning
--------------------
Absolutely positioned boxes are constructed in the box tree in the same place as