|author||James Bursa <firstname.lastname@example.org>||2006-11-04 19:17:11 +0000|
|committer||James Bursa <email@example.com>||2006-11-04 19:17:11 +0000|
Implement absolute positioned inlines.
svn path=/trunk/netsurf/; revision=3026
Diffstat (limited to 'Docs/02-layout')
1 files changed, 16 insertions, 0 deletions
diff --git a/Docs/02-layout b/Docs/02-layout
index ddc7cfd06..36f856fc0 100644
@@ -29,3 +29,19 @@ to a new width. Coordinates in the box tree are relative to the position of the
The box tree can then be rendered using each node's coordinates.
+Absolutely positioned boxes are constructed in the box tree in the same place as
+if they were not absolutely positioned. Inline boxes are created as
+INLINE_BLOCK, tables as TABLE, and other boxes as BLOCK (see
+During layout, absolutely positioned boxes in block context (BLOCK or TABLE) are
+given a position in layout_block_context(), but treated as having no height. In
+inline context (INLINE_BLOCK), they are given a position in layout_line(), but
+treated as having no width or height. This is done to determine the static
+An additional pass after main layout positions and layouts all absolutely
+positioned boxes (see layout_position_absolute()).