Skip to content

Commit 614e7b2

Browse files
committed
Add any/all values for forced breaks.
1 parent f850372 commit 614e7b2

2 files changed

Lines changed: 38 additions & 36 deletions

File tree

css3-break/Overview.html

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,9 @@ <h3 id=break-properties><span class=secno>3.1. </span> Forced breaks and
392392
<tr>
393393
<td><em>Value:</em>
394394

395-
<td>auto | always | left | right | recto | verso | page | column |
396-
region | avoid | avoid-page | avoid-column | avoid-region
395+
<td>auto | avoid | force-all | force-any | always | page | left | right
396+
| recto | verso | column | region | avoid-page | avoid-column |
397+
avoid-region
397398

398399
<tr>
399400
<td><em>Initial:</em>
@@ -436,8 +437,9 @@ <h3 id=break-properties><span class=secno>3.1. </span> Forced breaks and
436437
<tr>
437438
<td><em>Value:</em>
438439

439-
<td>auto | always | left | right | recto | verso | page | column |
440-
region | avoid | avoid-page | avoid-column | avoid-region
440+
<td>auto | avoid | force-any | force-all | always | left | right | recto
441+
| verso | page | column | region | avoid | avoid-page | avoid-column |
442+
avoid-region
441443

442444
<tr>
443445
<td><em>Initial:</em>
@@ -524,25 +526,25 @@ <h3 id=break-properties><span class=secno>3.1. </span> Forced breaks and
524526
<dd> Neither force nor forbid a break before/after/inside the principle
525527
box.
526528

529+
<dt><code class=css>avoid</code>
530+
531+
<dd> Avoid a break before/after/inside the principle box.
532+
533+
<dt><code class=css>force-any</code>
534+
535+
<dd> Always force a break (of any type, whichever is the type of the
536+
deepest fragmentation context) before/after the principle box.
537+
538+
<dt><code class=css>force-all</code>
539+
540+
<dd> Always force a break (of all possible types, through all
541+
fragmentation contexts) before/after the principle box.
542+
527543
<dt><code class=css>always</code>
528544

529545
<dd> Always force a break before/after the principle box. <span
530546
class=issue>Unclear whether this breaks the deepest fragmentation
531-
context, or breaks through all of them. </span></dd>
532-
<!--
533-
<dt>''any''
534-
<dd>
535-
Always force a break (of any type, whichever is the type of the deepest fragmentation context) before/after the principle box.
536-
</dd>
537-
<dt>''all''
538-
<dd>
539-
Always force a break (of all possible types, through all fragmentation contexts) before/after the principle box.
540-
</dd>
541-
-->
542-
543-
<dt><code class=css>avoid</code>
544-
545-
<dd> Avoid a break before/after/inside the principle box.
547+
context, or breaks through all of them. </span>
546548

547549
<dt><code class=css>left</code>
548550

@@ -1663,8 +1665,9 @@ <h2 class=no-num id=property-index>Property index</h2>
16631665
<tr>
16641666
<th><a class=property href="#break-after">break-after</a>
16651667

1666-
<td>auto | always | left | right | recto | verso | page | column |
1667-
region | avoid | avoid-page | avoid-column | avoid-region
1668+
<td>auto | avoid | force-any | force-all | always | left | right | recto
1669+
| verso | page | column | region | avoid | avoid-page | avoid-column |
1670+
avoid-region
16681671

16691672
<td>auto
16701673

@@ -1679,8 +1682,9 @@ <h2 class=no-num id=property-index>Property index</h2>
16791682
<tr>
16801683
<th><a class=property href="#break-before">break-before</a>
16811684

1682-
<td>auto | always | left | right | recto | verso | page | column |
1683-
region | avoid | avoid-page | avoid-column | avoid-region
1685+
<td>auto | avoid | force-all | force-any | always | page | left | right
1686+
| recto | verso | column | region | avoid-page | avoid-column |
1687+
avoid-region
16841688

16851689
<td>auto
16861690

css3-break/Overview.src.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ <h3 id="break-properties">
208208
<td><dfn>break-before</dfn>
209209
<tr>
210210
<td><em>Value:</em>
211-
<td>auto | always | left | right | recto | verso | page | column | region | avoid | avoid-page | avoid-column | avoid-region
211+
<td>auto | avoid | force-all | force-any | always | page | left | right | recto | verso | column | region | avoid-page | avoid-column | avoid-region
212212
<tr>
213213
<td><em>Initial:</em>
214214
<td>auto
@@ -235,7 +235,7 @@ <h3 id="break-properties">
235235
<td><dfn>break-after</dfn>
236236
<tr>
237237
<td><em>Value:</em>
238-
<td>auto | always | left | right | recto | verso | page | column | region | avoid | avoid-page | avoid-column | avoid-region
238+
<td>auto | avoid | force-any | force-all | always | left | right | recto | verso | page | column | region | avoid | avoid-page | avoid-column | avoid-region
239239
<tr>
240240
<td><em>Initial:</em>
241241
<td>auto
@@ -293,25 +293,23 @@ <h3 id="break-properties">
293293
<dd>
294294
Neither force nor forbid a break before/after/inside the principle box.
295295
</dd>
296-
<dt>''always''
296+
<dt>''avoid''
297297
<dd>
298-
Always force a break before/after the principle box.
299-
<span class="issue">Unclear whether this breaks the deepest fragmentation context, or breaks through all of them.
300-
</dd>
301-
<!--
302-
<dt>''any''
298+
Avoid a break before/after/inside the principle box.
299+
</dd>
300+
<dt>''force-any''
303301
<dd>
304302
Always force a break (of any type, whichever is the type of the deepest fragmentation context) before/after the principle box.
305303
</dd>
306-
<dt>''all''
304+
<dt>''force-all''
307305
<dd>
308306
Always force a break (of all possible types, through all fragmentation contexts) before/after the principle box.
309307
</dd>
310-
-->
311-
<dt>''avoid''
308+
<dt>''always''
312309
<dd>
313-
Avoid a break before/after/inside the principle box.
314-
</dd>
310+
Always force a break before/after the principle box.
311+
<span class="issue">Unclear whether this breaks the deepest fragmentation context, or breaks through all of them.
312+
</dd>
315313
<dt>''left''
316314
<dd>
317315
Force one or two page breaks before/after the principle box so that the next page is formatted as a left page.

0 commit comments

Comments
 (0)