Skip to content

Commit f5cc868

Browse files
committed
[css-inline-3] Add subheadings (like in the Flexbox algo)
1 parent bb8ad65 commit f5cc868

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

css-inline-3/Overview.bs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,14 +207,16 @@ Layout Within Line Boxes</h3>
207207
sizing and positioning each [=box fragment=] and [=line box=] independently,
208208
as follows:
209209

210-
1. All [=in-flow=] [=inline-level boxes=] in the [=line box=]
210+
1. <strong>Baseline Alignment:</strong>
211+
All [=in-flow=] [=inline-level boxes=] in the [=line box=]
211212
are aligned to each other in the [=block axis=]
212213
according to 'dominant-baseline' and 'vertical-align'.
213214
This is referred to as [[#alignment|baseline alignment]].
214215
Those with [=line-relative values=] for 'baseline-shift'
215216
are assumed to be aligned so as to minimize the line box height.
216217

217-
2. The [=layout bounds=] (i.e. the size contributions)
218+
2. <strong>Content Size Contribution Calculation:</strong>
219+
The [=layout bounds=] (i.e. the size contributions)
218220
of each [=inline-level box=] in the [=line box=]
219221
are calculated:
220222

@@ -236,11 +238,13 @@ Layout Within Line Boxes</h3>
236238
see [[#inline-height]]
237239
</ul>
238240

239-
3. The [=line box=]’s [=logical height=] is sized
241+
3. <strong>Line Box Sizing:</strong>
242+
The [=line box=]’s [=logical height=] is sized
240243
to exactly include the aligned [=layout bounds=]
241244
of all its [=inline-level boxes=].
242245

243-
4. The [=root inline box=]’s [=aligned subtree=]
246+
4. <strong>Content Positioning:</strong>
247+
The [=root inline box=]’s [=aligned subtree=]
244248
and boxes [=line-relative values=] for 'baseline-shift'
245249
are positioned within the [=line box=].
246250

0 commit comments

Comments
 (0)