Skip to content

Commit 9012ec1

Browse files
committed
[css-display] Clarify that inner display types are irrelevant for replaced elements
1 parent 39273b9 commit 9012ec1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

css-display/Overview.bs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ Box Layout Modes: the 'display' property</h2>
122122
which consists of the two basic qualities of how an element generates boxes:
123123

124124
* the <dfn export local-lt="inner">inner display type</dfn>,
125-
which defines the kind of <a>formatting context</a> it generates,
125+
which defines (if it a <a href="http://www.w3.org/TR/CSS2/conform.html#replaced-element">non-replaced element</a>) the kind of <a>formatting context</a> it generates,
126126
dictating how its descendant boxes are laid out.
127+
(The inner display of a <a href="http://www.w3.org/TR/CSS2/conform.html#replaced-element">replaced element</a> is outside the scope of CSS.)
127128
* the <dfn export local-lt="outer">outer display type</dfn>,
128129
which dictates how the box participates in its parent formatting context.
129130

@@ -292,7 +293,8 @@ Outer Display Roles for Flow Layout: the ''block'', ''inline'', and ''run-in'' k
292293
Inner Display Layout Models: the ''flow'', ''flow-root'', ''table'', ''grid'', and ''ruby'' keywords</h3>
293294

294295
The <<display-inside>> keywords specify the element's <a>inner display type</a>,
295-
which defines the type of formatting context that lays out its contents.
296+
which defines the type of formatting context that lays out its contents
297+
(assuming it is a <a href="http://www.w3.org/TR/CSS2/conform.html#replaced-element">non-replaced</a> element).
296298
They are defined as follows:
297299

298300
<dl dfn-type="value" dfn-for="display, <display-inside>">

0 commit comments

Comments
 (0)