From 32dab479e0f9e0c126f69791380b49fc7d52317b Mon Sep 17 00:00:00 2001 From: fantasai Date: Tue, 12 Nov 2024 16:19:42 -0500 Subject: [PATCH] [css-inline-3] Rename invisible line boxes to phantom line boxes This lines up closer to CSS2 terminology. Related to #11021 --- css-inline-3/Overview.bs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/css-inline-3/Overview.bs b/css-inline-3/Overview.bs index 2ed740dda3a..cd663bdf9cb 100644 --- a/css-inline-3/Overview.bs +++ b/css-inline-3/Overview.bs @@ -246,7 +246,7 @@ Layout Within Line Boxes and thus influence these calculations just like boxes with content.

-“Invisible” Line Boxes

+Phantom Line Boxes [=Line boxes=] that contain no text, no [=preserved white space=], @@ -254,7 +254,7 @@ Layout Within Line Boxes and no other [=in-flow=] content (such as [=atomic inlines=] or [=ruby annotations=]), and do not end with a [=forced line break=] - are invisible line boxes. + are phantom line boxes. Such boxes must be treated as zero-[=logical height|height=] [=line boxes=] for the purposes of determining the positions of any descendant content (such as [=absolutely positioned boxes=]), @@ -264,16 +264,17 @@ Layout Within Line Boxes
What’s invisible? - Such [=invisible line boxes=], which can still contain + Such [=phantom line boxes=], which can still contain unstyled empty [=inline boxes=], [=out-of-flow=] boxes, and/or collapsed [=document white space=], are ignored, for example, for: * margin collapsing * finding the [=first formatted line=] * applying 'text-box-trim' * [[css-break-4#break-propagation|fragmentation break propagation]] + * etc.
- ISSUE: Firefox allows the inline boxes within an [=invisible line box=] + ISSUE: Firefox allows the inline boxes within a [=phantom line box=] to accept 'outline',which allows it to make focus rings visible. As in other browsers, all other properties that could make the element visible (e.g. 'box-shadow') @@ -3076,7 +3077,7 @@ Changes when calculating their [=layout bounds=] so that they can actually have the specified effect. (Issue 8182) -
  • Corrected [=invisible line boxes=] to only account for [=inline-axis=] box decorations. +
  • Corrected [=phantom line boxes=] to only account for [=inline-axis=] box decorations. (Issue 9344)