Skip to content

Commit 48a9653

Browse files
committed
[css-align-3][css-inline-3] Only apply margin-edge baseline rule to scroll containers with non-initial baseline-source. #8214
1 parent c338eae commit 48a9653

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

css-align-3/Overview.bs

+10-1
Original file line numberDiff line numberDiff line change
@@ -2196,7 +2196,9 @@ Determining the Baselines of a Box</h2>
21962196
then the block container has no [=baseline set=].
21972197

21982198
However, for legacy reasons
2199-
a [=block-level=] or [=inline-level=] [=scroll container=]
2199+
if its 'baseline-source' is ''baseline-source/auto'' (the [=initial value=])
2200+
a [=block-level=] or [=inline-level=] [=block container=]
2201+
that is a [=scroll container=]
22002202
always has a [=last baseline set=],
22012203
whose baselines all correspond to its [=block-end=] [=margin edge=].
22022204

@@ -2442,6 +2444,13 @@ Appendix A: Static Position Terminology</h2>
24422444
<h2 id="changes">
24432445
Changes</h2>
24442446

2447+
Changes since the <a href="https://www.w3.org/TR/2023/WD-css-align-3-20230217/">17 February 2023 Working Draft</a> include:
2448+
<ul>
2449+
<li>Only apply the special margin-edge baseline rule for [=scroll container=] [=block containers=]
2450+
when 'baseline-source' is its [=initial value=].
2451+
(<a href="https://github.com/w3c/csswg-drafts/issues/8214">Issue 8214</a>)
2452+
</ul>
2453+
24452454
Changes since the <a href="https://www.w3.org/TR/2021/WD-css-align-3-20211224/">24 December 2021 Working Draft</a> include:
24462455
<ul>
24472456
<li>Define the baselines of a [=multi-column container=].

css-inline-3/Overview.bs

+3
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,9 @@ Alignment Baseline Source: the 'baseline-source' longhand</h4>
769769
<dd>Specifies <a>last-baseline alignment</a>.
770770
</dl>
771771

772+
See [[css-align-3#baseline-export]]
773+
for how to find the baselines of boxes other than [=inline boxes=].
774+
772775
<h4 id="alignment-baseline-property">
773776
Alignment Baseline Type: the 'alignment-baseline' longhand</h4>
774777

0 commit comments

Comments
 (0)