@@ -246,15 +246,15 @@ Layout Within Line Boxes</h3>
246
246
and thus influence these calculations just like boxes with content.
247
247
248
248
<h3 id="invisible-line-boxes">
249
- “Invisible” Line Boxes</h3>
249
+ Phantom Line Boxes</h3>
250
250
251
251
[=Line boxes=] that contain no text,
252
252
no [=preserved white space=] ,
253
253
no [=inline boxes=] with non-zero inline-axis [=margins=] , [=padding=] , or [=borders=] ,
254
254
and no other [=in-flow=] content
255
255
(such as [=atomic inlines=] or [=ruby annotations=] ),
256
256
and do not end with a [=forced line break=]
257
- are <dfn lt="invisible line box">invisible line boxes</dfn> .
257
+ are <dfn lt="phantom line box">phantom line boxes</dfn> .
258
258
Such boxes must be treated as zero-[=logical height|height=] [=line boxes=]
259
259
for the purposes of determining the positions of any descendant content
260
260
(such as [=absolutely positioned boxes=] ),
@@ -264,16 +264,17 @@ Layout Within Line Boxes</h3>
264
264
<details class=note>
265
265
<summary> What’s invisible?</summary>
266
266
267
- Such [=invisible line boxes=] , which can still contain
267
+ Such [=phantom line boxes=] , which can still contain
268
268
unstyled empty [=inline boxes=] , [=out-of-flow=] boxes, and/or collapsed [=document white space=] ,
269
269
are ignored, for example, for:
270
270
* <a href="https://www.w3.org/TR/CSS2/box.html#collapsing-margins">margin collapsing</a>
271
271
* finding the [=first formatted line=]
272
272
* applying 'text-box-trim'
273
273
* [[css-break-4#break-propagation|fragmentation break propagation]]
274
+ * etc.
274
275
</details>
275
276
276
- ISSUE: Firefox allows the inline boxes within an [=invisible line box=]
277
+ ISSUE: Firefox allows the inline boxes within a [=phantom line box=]
277
278
to accept 'outline' ,which allows it to make focus rings visible.
278
279
As in other browsers, all other properties that could make the element visible
279
280
(e.g. 'box-shadow' )
@@ -3076,7 +3077,7 @@ Changes</h2>
3076
3077
when calculating their [=layout bounds=]
3077
3078
so that they can actually have the specified effect.
3078
3079
(<a href="https://github.com/w3c/csswg-drafts/issues/8182">Issue 8182</a> )
3079
- <li> Corrected [=invisible line boxes=] to only account for [=inline-axis=] box decorations.
3080
+ <li> Corrected [=phantom line boxes=] to only account for [=inline-axis=] box decorations.
3080
3081
(<a href="https://github.com/w3c/csswg-drafts/issues/9344">Issue 9344</a> )
3081
3082
</ul>
3082
3083
0 commit comments