Skip to content

Commit 8c875f0

Browse files
committed
[css-break-3] Clarify that margins adjoining Class C breaks are also truncated. w3c#3073
1 parent d8c87a9 commit 8c875f0

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

css-break-3/Overview.bs

+19-4
Original file line numberDiff line numberDiff line change
@@ -941,14 +941,16 @@ Breaking into Varying-size Fragmentainers</h3>
941941
Adjoining Margins at Breaks</h3>
942942

943943
<p>
944-
When an unforced break occurs between block-level boxes,
945-
any margins adjoining the break truncate to the <a>remaining fragmentainer extent</a> before the break,
946-
and are truncated to zero after the break.
944+
When an unforced break occurs before or after a block-level box,
945+
any margins adjoining the break are truncated to zero.
947946
When a forced break occurs there, adjoining margins before the break are truncated,
948947
but margins after the break are preserved.
949-
<a href="#valdef-box-decoration-break-clone">Cloned margins</a> are always truncated to zero on block-level margins.
948+
<a href="#valdef-box-decoration-break-clone">Cloned margins</a> are always
949+
truncated to zero on block-level boxes.
950950
</p>
951951

952+
Note: CSS Fragmentation Level 4 will introduce control over margin truncation at breaks.
953+
952954
<h3 id="box-splitting">
953955
Splitting Boxes</h3>
954956

@@ -1177,6 +1179,7 @@ Changes</h2>
11771179
<blockquote>
11781180
<p>by treating the 'page-break-*' properties as <del>shorthands</del> <ins>[=legacy shorthands=]</ins> for the 'break-*' properties
11791181
</blockquote>
1182+
11801183
<li id="change-2017-propagation">
11811184
Clarified that break propagation does not affect computed values
11821185
and that other layout modes (e.g. flex and grid) make adjustments
@@ -1193,6 +1196,18 @@ Changes</h2>
11931196
<p>Applies to: block containers <ins>that establish a new inline formatting context</ins>
11941197
</blockquote>
11951198

1199+
<li id="change-2018-truncate-margins">
1200+
Clarified that margins adjoining a Class C break are also truncated
1201+
in the same way as margins between siblings (Class A).
1202+
(<a href="https://github.com/w3c/csswg-drafts/issues/3073">Issue 3073</a>)
1203+
<blockquote>
1204+
<p>
1205+
When an unforced break occurs <del>between</del> <ins>before or after a</a> block-level box<del>es</del>,
1206+
any margins adjoining the break <del>truncate to the <a>remaining fragmentainer extent</a> before the break,
1207+
and</del> are truncated to zero <del>after the break</del>.
1208+
</p>
1209+
</blockquote>
1210+
11961211
<li id="change-2017-inline-block-fragmentation">
11971212
Clarified what it means if a UA chooses not to treat atomic inlines as not <a>monolithic</a>.
11981213
(<a href="https://github.com/w3c/csswg-drafts/issues/1111">Issue 1111</a>)

0 commit comments

Comments
 (0)