Skip to content

Commit cd4c3e4

Browse files
committed
[css-flexbox] Fortunately, we're tasked with making pretty HTML diffs of our changes before we publish, so I get to notice nonsensical errors like this one in our edits for fixing w3c#995. Correct use of start/end vs first/last in definition of baselines, cuz the original fix was random and not correct. >_<
1 parent 95e3359 commit cd4c3e4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

css-flexbox/Overview.bs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2204,20 +2204,20 @@ Flex Container Baselines</h3>
22042204

22052205
1. If any of the <a>flex items</a> on the flex container's startmost/endmost <a>flex line</a>
22062206
<a href="#baseline-participation">participate in baseline alignment</a>,
2207-
the flex container's startmost/endmost <a>main-axis baseline set</a>
2207+
the flex container's first/last <a>main-axis baseline set</a>
22082208
is <a lt="generate baselines">generated</a> from
22092209
the shared <a>alignment baseline</a> of those <a>flex items</a>.
22102210

22112211
2. Otherwise, if the flex container has at least one <a>flex item</a>,
2212-
the flex container's startmost/endmost <a>main-axis baseline set</a>
2212+
the flex container's first/last <a>main-axis baseline set</a>
22132213
is <a lt="generate baselines">generated</a> from
2214-
the <a>alignment baseline</a> of the first/last <a>flex item</a>.
2214+
the <a>alignment baseline</a> of the startmost/endmost <a>flex item</a>.
22152215
(If that item has no <a>alignment baseline</a>
22162216
parallel to the flex container's <a>main axis</a>,
22172217
then one is first <a lt="synthesized baseline">synthesized</a>
22182218
from its border edges.)
22192219

2220-
3. Otherwise, the flex container has no startmost/endmost main-axis <a>baseline set</a>,
2220+
3. Otherwise, the flex container has no first/last main-axis <a>baseline set</a>,
22212221
and one is <a lt="synthesize baselines">synthesized</a> if needed
22222222
according to the rules of its <a>alignment context</a>.
22232223

@@ -2232,7 +2232,7 @@ Flex Container Baselines</h3>
22322232
1. If the flex container has at least one <a>flex item</a>,
22332233
the flex container's first/last <a>cross-axis baseline set</a>
22342234
is <a lt="generate baselines">generated</a> from
2235-
the <a>alignment baseline</a> of the first/last <a>flex item</a>.
2235+
the <a>alignment baseline</a> of the startmost/endmost <a>flex item</a>.
22362236
(If that item has no <a>alignment baseline</a>
22372237
parallel to the flex container's <a>cross axis</a>,
22382238
then one is first <a lt="synthesized baseline">synthesized</a>

0 commit comments

Comments
 (0)