Skip to content

Commit 3a18bdd

Browse files
committed
[css-break] Fix breaking rules to handle multiple break types.
1 parent 5a0163a commit 3a18bdd

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

css-break/Overview.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,8 @@ Unforced Breaks</h3>
723723
A fragmented flow may break at a <a href="#btw-blocks">class A break point</a> only if
724724
all the 'break-after' and 'break-before' values applicable to this
725725
break point allow it, which is when at least one of them forces a
726-
break or when all of them are ''break-before/auto''.
726+
break or when none of them forbid it
727+
(''break-before/avoid'' or ''break-before/avoid-page''/''break-before/avoid-column''/''break-before/avoid-region'', depending on the <a href="#break-types">break type</a>).
727728
</dd>
728729
<dt>Rule 2</dt>
729730
<dd>

css-break/Overview.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<h1 class="p-name no-ref" id="title">CSS Fragmentation Module Level 3</h1>
8181

8282
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft,
83-
<time class="dt-updated" datetime="2015-06-20">20 June 2015</time></span></h2>
83+
<time class="dt-updated" datetime="2015-07-15">15 July 2015</time></span></h2>
8484

8585
<div data-fill-with="spec-metadata">
8686
<dl>
@@ -1290,7 +1290,8 @@ <h3 class="heading settled" data-level="4.4" id="unforced-breaks"><span class="s
12901290
A fragmented flow may break at a <a href="#btw-blocks">class A break point</a> only if
12911291
all the <a class="property" data-link-type="propdesc" href="#propdef-break-after">break-after</a> and <a class="property" data-link-type="propdesc" href="#propdef-break-before">break-before</a> values applicable to this
12921292
break point allow it, which is when at least one of them forces a
1293-
break or when all of them are <a class="css" data-link-type="maybe" href="#valdef-break-before-auto">auto</a>.
1293+
break or when none of them forbid it
1294+
(<a class="css" data-link-type="maybe" href="#valdef-break-before-avoid">avoid</a> or <a class="css" data-link-type="maybe" href="#valdef-break-before-avoid-page">avoid-page</a>/<a class="css" data-link-type="maybe" href="#valdef-break-before-avoid-column">avoid-column</a>/<a class="css" data-link-type="maybe" href="#valdef-break-before-avoid-region">avoid-region</a>, depending on the <a href="#break-types">break type</a>).
12941295

12951296

12961297

@@ -2310,7 +2311,7 @@ <h3 class="no-num heading settled" id="informative"><span class="content">Inform
23102311
<dt id="biblio-css3text"><a class="self-link" href="#biblio-css3text"></a>[CSS3TEXT]
23112312
<dd>Elika Etemad; Koji Ishii. <a href="http://www.w3.org/TR/css-text-3/">CSS Text Module Level 3</a>. 10 October 2013. LCWD. URL: <a href="http://www.w3.org/TR/css-text-3/">http://www.w3.org/TR/css-text-3/</a>
23122313
<dt id="biblio-css3val"><a class="self-link" href="#biblio-css3val"></a>[CSS3VAL]
2313-
<dd>Håkon Wium Lie; Tab Atkins Jr.; Elika Etemad. <a href="http://www.w3.org/TR/css3-values/">CSS Values and Units Module Level 3</a>. 30 July 2013. CR. URL: <a href="http://www.w3.org/TR/css3-values/">http://www.w3.org/TR/css3-values/</a>
2314+
<dd>Tab Atkins Jr.; Elika Etemad. <a href="http://www.w3.org/TR/css-values/">CSS Values and Units Module Level 3</a>. 11 June 2015. CR. URL: <a href="http://www.w3.org/TR/css-values/">http://www.w3.org/TR/css-values/</a>
23142315
<dt id="biblio-css3-flexbox"><a class="self-link" href="#biblio-css3-flexbox"></a>[CSS3-FLEXBOX]
23152316
<dd>Tab Atkins Jr.; Elika Etemad; Rossen Atanassov. <a href="http://www.w3.org/TR/css-flexbox-1/">CSS Flexible Box Layout Module Level 1</a>. 14 May 2015. LCWD. URL: <a href="http://www.w3.org/TR/css-flexbox-1/">http://www.w3.org/TR/css-flexbox-1/</a>
23162317
<dt id="biblio-css3-sizing"><a class="self-link" href="#biblio-css3-sizing"></a>[CSS3-SIZING]

0 commit comments

Comments
 (0)