Skip to content

Commit 3bf865b

Browse files
committed
Check in changes to clarify page-break collapsing behavior as resolved at TPAC 2011. <http://www.w3.org/mid/4ED50C24.6090000@inkedblade.net>
1 parent 28ec257 commit 3bf865b

2 files changed

Lines changed: 21 additions & 7 deletions

File tree

css3-page/Overview.html

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2810,11 +2810,20 @@ <h3 id=allowed-pg-brk><span class=secno>9.4. </span>Allowed page breaks</h3>
28102810
href="#page-break-before"><code
28112811
class=property>page-break-before</code></a>’ properties of all the
28122812
elements generating boxes that meet at this margin allow it, which is
2813-
when at least one of them has the value <span class=css><code
2814-
class=property>always</code></span>, <span class=css><code
2815-
class=property>left</code></span>, or <span class=css><code
2816-
class=property>right</code></span>, or when all of them are <span
2817-
class=css><code class=property>auto</code></span>.
2813+
when at least one of them has the value ‘<code
2814+
class=property>always</code>’, ‘<code
2815+
class=property>left</code>’, or ‘<code
2816+
class=property>right</code>’, or when all of them are ‘<code
2817+
class=property>auto</code>’. (For a box before the margin, its ‘<a
2818+
href="#page-break-after"><code
2819+
class=property>page-break-after</code></a>’ value is considered; for
2820+
a box after the margin its ‘<a href="#page-break-before"><code
2821+
class=property>page-break-before</code></a>’ value is considered.) A
2822+
box meets at this margin if it is one of the block-level (or table row)
2823+
siblings on either side of the margin or if it is a
2824+
block-level/table-row last child (for boxes before the margin) or first
2825+
child (for boxes after the margin) of a box that also meets at this
2826+
margin.
28182827

28192828
<li><strong>Rule B:</strong> However, if all of them are <span
28202829
class=css><code class=property>auto</code></span> and a common

css3-page/Overview.src.html

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2041,8 +2041,13 @@ <h3 id="allowed-pg-brk">Allowed page breaks</h3>
20412041
is allowed only if the 'page-break-after' and 'page-break-before' properties
20422042
of all the elements generating
20432043
boxes that meet at this margin allow it, which is when at least one of them has
2044-
the value <span class="css">'always'</span>, <span class="css">'left'</span>,
2045-
or <span class="css">'right'</span>, or when all of them are <span class="css">'auto'</span>.</li>
2044+
the value 'always', 'left', or 'right', or when all of them are 'auto'.
2045+
(For a box before the margin, its 'page-break-after' value is considered;
2046+
for a box after the margin its 'page-break-before' value is considered.)
2047+
A box meets at this margin if it is one of the block-level (or table row) siblings on
2048+
either side of the margin or if it is a block-level/table-row last child (for boxes
2049+
before the margin) or first child (for boxes after the margin) of a box
2050+
that also meets at this margin.
20462051
<li><strong>Rule B:</strong> However, if all of them are <span class="css">'auto'</span> and a common ancestor of all the elements has a
20472052
<span class="property">'page-break-inside'</span> value of <span class="css">'avoid'</span>, then breaking here is not allowed.</li>
20482053
<li><strong>Rule C:</strong> Breaking at <a href="#brk-btw-lines">(2)</a> is

0 commit comments

Comments
 (0)