Skip to content

Commit bfe8538

Browse files
committed
[css-box-4][editorial] Avoid contradiction wrt block container margin-trim
1 parent 1d426a7 commit bfe8538

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

css-box-4/Overview.bs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,6 @@ Margins at Container Edges: the 'margin-trim' property {#margin-trim}
400400
See <a href="https://www.w3.org/TR/CSS2/box.html#collapsing-margins">CSS2&sect;8.3.1: Collapsing Margins</a>.
401401

402402
<dt><dfn>block-start</dfn>
403-
<dt><dfn>inline-start</dfn>
404-
<dt><dfn>inline-end</dfn>
405403
<dt><dfn>block-end</dfn>
406404
<dd>
407405
For in-flow boxes contained by this box,
@@ -410,6 +408,13 @@ Margins at Container Edges: the 'margin-trim' property {#margin-trim}
410408
It also truncates any descendant margins collapsed with such a margin
411409
(but not its own, its siblings’, or its ancestors’).
412410

411+
<dt><dfn>inline-start</dfn>
412+
<dt><dfn>inline-end</dfn>
413+
For in-flow boxes contained by this box,
414+
margins adjacent to the box’s specified edges
415+
are truncated to zero.
416+
(However, these values do not apply to [=block containers=])
417+
413418
<dt><dfn>block</dfn>
414419
<dd>
415420
Computes to ''block-start block-end''.

0 commit comments

Comments
 (0)