Skip to content

Commit c6abe3c

Browse files
committed
[css-inline-3] Apply negative margins to descendants of inline boxes. #8182
1 parent 9e15668 commit c6abe3c

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

css-inline-3/Overview.bs

+16-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ Layout Within Line Boxes</h3>
223223
For other [=inline boxes=]:
224224
this is derived from their 'text-box-edge' metrics,
225225
and includes any [=margin=]/[=border=]/[=padding=];
226-
see [[#inline-height]]
226+
see [[#inline-height]].
227227
</ul>
228228

229229
3. <strong>Line Box Sizing:</strong>
@@ -1238,6 +1238,10 @@ Calculating the Logical Height Contributions (“Layout Bounds”) of Inline Box
12381238
the [=layout bounds=] are inflated
12391239
by the sum of the [=margin=], [=border=], and [=padding=]
12401240
on each side.
1241+
In order to allow negative [=margin=] values to have an actual effect,
1242+
negative [=margins=] are also accumulated onto
1243+
the layout bounds of any descendant [=inline boxes=]
1244+
participating in the same [=inline formatting context=].
12411245

12421246
In Quirks Mode [[!QUIRKS]],
12431247
any [=inline box=] [=box fragment|fragment=]
@@ -2975,6 +2979,17 @@ A.3: Synthesizing Baselines for Atomic Inlines</h3>
29752979
<h2 class="no-num" id="changes">
29762980
Changes</h2>
29772981

2982+
Changes since the
2983+
<a href="https://www.w3.org/TR/2023/WD-css-inline-3-20230401/">1 April 2023 Working Draft</a>:
2984+
<ul>
2985+
<li>Apply negative [=block-axis=] margins to descendants of [=inline boxes=]
2986+
when calculating their [=layout bounds=]
2987+
so that they can actually have the specified effect.
2988+
(<a href="https://github.com/w3c/csswg-drafts/issues/8182">Issue 8182</a>)
2989+
<li>Corrected [=invisible line boxes=] to only account for [=inline-axis=] box decorations.
2990+
(<a href="https://github.com/w3c/csswg-drafts/issues/9344">Issue 9344</a>)
2991+
</ul>
2992+
29782993
Changes since the
29792994
<a href="https://www.w3.org/TR/2022/WD-css-inline-3-20221114/">14 November 2022 Working Draft</a>:
29802995
<ul>

0 commit comments

Comments
 (0)