Skip to content

Commit 66d3440

Browse files
committed
Merge pull request #44 from johanneswilm/master
[css-page-floats] simplify page float placement: first place those that float in pages, then columns and regions
2 parents 5f8cd5e + e0a6c0c commit 66d3440

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

css-page-floats/Overview.bs

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -797,19 +797,14 @@ img {
797797
The order of page float placement is determined by the following rules:
798798

799799
<ol>
800-
<li>
801-
A page float is placed before any page floats with a <a>float reference</a>
802-
that is a descendant of its <a>float reference</a>.
803-
</li>
804-
<li>
805-
Page floats with the same <a>float reference</a> are placed in the order they
806-
appear in the DOM.
807-
</li>
808-
<li>
809-
Page floats whose float references are not descendants of one-another and
810-
that do not have the same <a>float reference</a> are placed in the order
811-
they appear in the DOM.
812-
</li>
800+
<li>
801+
All page floats with 'float-reference' set to `page` are placed, in the
802+
order they appear in the DOM, before those with 'float-reference' set to
803+
`region` and `column`.
804+
<li>
805+
Thereafter, page floats with 'float-reference' set to `column` and `region`
806+
are placed in the order they appear in the DOM.
807+
</li>
813808
</ol>
814809

815810
The placement of a single page float is a process that has to be terminated

0 commit comments

Comments
 (0)