Skip to content

Commit abea773

Browse files
fantasaijakearchibald
authored andcommitted
[css-display-3] Define root element term and display type. w3c#7786 w3c#6480 w3c#7207
1 parent 92f295e commit abea773

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

css-display-3/Overview.bs

+19-3
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,13 @@ Automatic Box Type Transformations</h3>
861861
</ul>
862862
</div>
863863

864-
The root element’s display type is always <a>blockified</a>.
864+
<h3 id='root'>
865+
The Root Element’s Principal Box</h3>
866+
867+
The [=root element=]’s display type is always <a>blockified</a>,
868+
and its [=principal box=] always establishes an [=independent formatting context=].
869+
This box’s [=containing block=] is the [=initial containing block=].
870+
865871
Additionally, a 'display' of ''display/contents'' computes to ''block'' on the root element.
866872

867873
<!--
@@ -1384,6 +1390,14 @@ Appendix A: Glossary</h2>
13841390
The following terms are defined here for convenience:
13851391

13861392
<dl export>
1393+
<dt><dfn>root element</dfn>
1394+
<dd>
1395+
The [=CSS/element=] at the root of the [=document tree=].
1396+
In a [=document tree=] produced under the DOM,
1397+
this is the [=document element=];
1398+
in HTML it is the <{html}> element.
1399+
[[DOM]] [[HTML]]
1400+
13871401
<dt><dfn>principal box</dfn>
13881402
<dd>
13891403
When an [=CSS/element=] generates one or more [=boxes=],
@@ -1547,9 +1561,11 @@ Appendix A: Glossary</h2>
15471561

15481562
<dt><dfn>initial containing block</dfn>
15491563
<dd>
1550-
The <a>containing block</a> of the root element.
1564+
The <a>containing block</a> of the [=root element=].
1565+
The [=initial containing block=] establishes a [=block formatting context=].
15511566
See <a href="https://www.w3.org/TR/CSS2/visudet.html#containing-block-details">CSS2.1&sect;10.1</a> for [=continuous media=];
1552-
and [[!CSS-PAGE-3]] for [=paged media=].
1567+
and [[!CSS-PAGE-3]] for [=paged media=]
1568+
for its position and dimensions.
15531569

15541570
<dt><dfn>formatting context</dfn>
15551571
<dd>

0 commit comments

Comments
 (0)