Skip to content

Commit 6ed5a55

Browse files
committed
[css-display-3] Define parent box by applying edits saved in a local patch file called “junk”. :/
1 parent d803485 commit 6ed5a55

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

css-display-3/Overview.bs

+7-2
Original file line numberDiff line numberDiff line change
@@ -69,16 +69,21 @@ Introduction</h2>
6969
Then, for each [=CSS/element=],
7070
CSS generates zero or more <a>boxes</a>
7171
as specified by that element's 'display' property.
72-
Typically, an element generates a single <a>box</a>.
72+
Typically, an element generates a single <a>principal box</a>,
73+
which represents itself and contains its contents in the <a>box tree</a>.
7374
However, some 'display' values
7475
(e.g. ''display: list-item'')
7576
generate more than one box
76-
(e.g. a <a href="https://www.w3.org/TR/CSS2/visuren.html#principal-box">principal block box</a> and a <a href="https://www.w3.org/TR/CSS2/generate.html#lists">marker box</a>).
77+
(e.g. a <a href="https://www.w3.org/TR/CSS2/visuren.html#principal-box">principal block box</a> and a child <a href="https://www.w3.org/TR/CSS2/generate.html#lists">marker box</a>).
7778
And some values
7879
(such as ''display/none'' or ''display/contents'')
7980
cause the [=CSS/element=] and/or its descendants to not generate any <a>boxes</a> at all.
8081
<a>Boxes</a> are often referred to by their 'display' type--
8182
e.g. a <a>box</a> generated by an element with ''display: block'' is called a “block box” or just a “block”.
83+
The <dfn export for=CSS>parent box</dfn> of an element’s <a>principal box</a>
84+
is (except in the case of ''run-in'')
85+
the <a>principal box</a> of its nearest ancestor element
86+
that generates a <a>box</a>.
8287

8388
A <a>box</a> is assigned the same styles as its generating [=CSS/element=], unless otherwise indicated.
8489
In general, <a>inherited properties</a> are assigned to the <a>principal box</a>,

0 commit comments

Comments
 (0)