@@ -86,14 +86,16 @@ Inline Layout Model</h2>
8686 In <dfn>inline layout</dfn> ,
8787 a mixed, recursive stream of text and [=inline-level boxes=]
8888 forming an <dfn>inline formatting context</dfn> within a [=block container=]
89- are laid out by [=fragmenting=] them into a stack of [=line boxes=] ,
90- and aligning the text and boxes to each other within each [=line box=] .
89+ are laid out by [=fragmenting=] them into a stack of [=line boxes=] .
90+ Within each [=line box=] ,
91+ [=inline-level boxes=] are [[#alignment|aligned to each other]] along the [=block axis=] ,
92+ typically by the [=baselines=] of their text.
9193
9294 Any [=block container=] that directly contains
9395 [=inline-level=] content--
9496 such as [=inline boxes=] , [=atomic inlines=] , and [=text runs=] --
9597 establishes an [=inline formatting context=]
96- to lay out its contents.
98+ to lay out its contents using [=inline layout=] .
9799 The [=block container=] ’s [=content edges=] form the [=containing block=]
98100 for each of the [=inline-level boxes=]
99101 participating in its [=inline formatting context=] .
@@ -172,16 +174,9 @@ Layout of Line Boxes</h3>
172174 (See [[CSS2/visuren#inline-formatting]] /[[CSS2/visuren#floats]]
173175 and [[#initial-letter-styling]] .)
174176
175- Within the [=line box=] ,
176- [=inline-level boxes=] can be aligned
177- along the [=block axis=]
178- in different ways:
179- their [=line-over|over=] or [=line-under|under=] edges can be aligned,
180- or the baselines of text within them can be aligned.
181- See 'vertical-align' and its longhands.
182-
183- The [=logical height=] of a [=line box=] is then fitted to its contents;
184- this fit is controlled by 'line-height' and 'text-edge' .
177+ The [=logical height=] of a [=line box=] is fitted to its contents
178+ once they have been [[#alignment|block-axis aligned]] .
179+ This fit is controlled by 'line-height' and 'text-edge' .
185180 The first/last line boxes in a [=block container=] may additionally
186181 be trimmed by 'leading-trim' .
187182
0 commit comments