summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/dw-out-of-flow-floats.doc18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/dw-out-of-flow-floats.doc b/doc/dw-out-of-flow-floats.doc
index bc371222..53c6b220 100644
--- a/doc/dw-out-of-flow-floats.doc
+++ b/doc/dw-out-of-flow-floats.doc
@@ -34,7 +34,7 @@ more complicated in a case like this:
<head>
<style>
- #fl-1, #fl-2, #fl-3 { float: right }
+ \#fl-1, \#fl-2, \#fl-3 { float: right }
</style>
</head>
<body>
@@ -49,22 +49,22 @@ more complicated in a case like this:
The floats are generated in this order:
-- #fl-1 (generated by #bl-1),
-- #fl-2 (generated by #bl-2),
-- #fl-3 (generated by #bl-1).
+- \#fl-1 (generated by \#bl-1),
+- \#fl-2 (generated by \#bl-2),
+- \#fl-3 (generated by \#bl-1).
Since the floats must be moved into the CB list in this order, it
becomes clear that the floats from one GB list cannot be moved at
once. For this reason, each float is assigned a "mark", which is
different from the last one as soon as the generator is *before* the
generator of the float added before. In the example above, there are
-three generators: body, #bl-1, and #bl-2 (in this order), and floats
+three generators: body, \#bl-1, and \#bl-2 (in this order), and floats
are assigned these marks:
-- #fl-1: 0,
-- #fl-2: also 0,
-- #fl-3 is assigned 1, since its generator (#bl-1) lies before the
- last generator (#bl-2).
+- \#fl-1: 0,
+- \#fl-2: also 0,
+- \#fl-3 is assigned 1, since its generator (\#bl-1) lies before the
+ last generator (\#bl-2).
dw::OutOfFlowMgr::moveFromGBToCB will then iterate over all marks, so
that the generation order is preserved.