Skip to content

Commit d558cf9

Browse files
committed
[css-box-4] Clarify that only descendant margins are trimmed by margin-trim. w3c#8283
1 parent b9d8155 commit d558cf9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

css-box-4/Overview.bs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,8 @@ Margins at Container Edges: the 'margin-trim' property {#margin-trim}
389389
For in-flow boxes and floats contained by this box,
390390
margins adjacent to the box’s specified edges
391391
are truncated to zero.
392-
It also truncates any margins collapsed with such a margin.
392+
It also truncates any descendant margins collapsed with such a margin
393+
(but not its own, its siblings’, or its ancestors’).
393394

394395
<dt><dfn>block</dfn>
395396
<dd>
@@ -588,6 +589,13 @@ Borders {#borders}
588589
Both sets of properties control the same set of borders:
589590
they are just different ways of indexing each side.
590591

592+
Recent Changes {#changes}
593+
==============
594+
595+
Changes since the previous Working Draft include:
596+
* Clarifying that only descendant margins are trimmed by 'margin-trim'
597+
even if self or sibling margins would have collapsed with the trimmed margin.
598+
591599
Changes Since CSS Level 3 {#changes-since-3}
592600
=========================
593601

0 commit comments

Comments
 (0)