File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,9 @@ Finding the First Formatted Line</h4>
149
149
When a [=first formatted line=] is represented
150
150
by multiple ''::first-line'' pseudo-elements,
151
151
they are nested in the same order as their [=originating elements=] .
152
+ The [=inline-level=] contents of this line--
153
+ including its [=root inline box=] fragment--
154
+ are nested within the innermost ''::first-line'' [=pseudo-element=] .
152
155
153
156
<div class="example">
154
157
Consider the following markup:
@@ -197,15 +200,10 @@ Styling the ''::first-line'' Pseudo-element</h4>
197
200
<li> 'text-orientation'
198
201
</ul>
199
202
200
- Setting 'line-height' on ''::first-line'' affects
203
+ Note: Setting 'line-height' on ''::first-line'' inherits to
201
204
the fragment of the [=root inline box=]
202
205
that wraps the contents of the first line,
203
206
and therefore can both increase and decrease the height of the first line box.
204
- <!-- Issue 2282 -->
205
-
206
- ISSUE(2282): Is this because it wraps the root fragment,
207
- or because it <em> is</em> the root fragment?
208
- Is there any other case in which this matters?
209
207
210
208
<h4 id="first-line-inheritance">
211
209
Inheritance and the ''::first-line'' Pseudo-element</h4>
You can’t perform that action at this time.
0 commit comments