@@ -113,8 +113,8 @@ Box Layout Modes: the 'display' property</h2>
113113 Media : all
114114 </pre>
115115
116- The 'display' property defines two basic qualities
117- of how an element generates boxes:
116+ The 'display' property defines box's <dfn>display type</dfn> ,
117+ which consists of the two basic qualities of how an element generates boxes:
118118
119119 * the <dfn export local-lt="inner">inner display type</dfn> ,
120120 which defines the kind of <a>formatting context</a> it generates,
@@ -142,6 +142,119 @@ Box Layout Modes: the 'display' property</h2>
142142 inline-table | inline-flex | inline-grid ;
143143 </pre>
144144
145+ The following informative table summarizes the values of 'display' :
146+
147+ <table class='data'>
148+ <style scoped>
149+ td, th { text-align: left; }
150+ </style>
151+ <thead>
152+ <tr>
153+ <th> Short 'display'
154+ <th> Full 'display'
155+ <th> Generated box
156+ <tbody title="Box Suppression Display Types">
157+ <tr>
158+ <td> ''none''
159+ <td> 〃
160+ <td> subtree omitted from <a>box tree</a>
161+ <tr>
162+ <td> ''contents''
163+ <td> 〃
164+ <td> element replaced by contents in <a>box tree</a>
165+ <tbody title="Flow Layout Display Types">
166+ <tr>
167+ <td> ''block''
168+ <td> ''block flow''
169+ <td> <a>block-level</a> <a>block container</a>
170+ <abbr title="also known as"> aka</abbr> <a>block box</a>
171+ <tr>
172+ <td> ''flow-root''
173+ <td> ''block flow-root''
174+ <td> <a>block-level</a> <a>block container</a>
175+ that establishes a new <a>block formatting context</a> (<a>BFC</a> )
176+ <tr>
177+ <td> ''inline''
178+ <td> ''inline flow''
179+ <td> <a>inline box</a>
180+ <tr>
181+ <td> ''inline-block''
182+ <td> ''inline flow-root''
183+ <td> <a>inline-level</a> <a>block container</a>
184+ <tr>
185+ <td> ''run-in''
186+ <td> ''run-in flow''
187+ <td> <a>run-in box</a> (<a>inline box</a> with special box-tree-munging rules)
188+ <tr>
189+ <td> ''list-item''
190+ <td> ''list-item block flow''
191+ <td> <a>block box</a>
192+ with additional <a href="http://www.w3.org/TR/CSS21/generate.html#lists">marker box</a>
193+ <tr>
194+ <td> ''inline list-item''
195+ <td> ''list-item inline flow''
196+ <td> <a>inline box</a>
197+ with additional <a href="http://www.w3.org/TR/CSS21/generate.html#lists">marker box</a>
198+ <tbody title="Formatting Context Root Display Types">
199+ <tr>
200+ <td> ''flex''
201+ <td> ''block flex''
202+ <td> <a>block-level</a> <a>flex container</a>
203+ <tr>
204+ <td> ''inline-flex''
205+ <td> ''inline flex''
206+ <td> <a>inline-level</a> <a>flex container</a>
207+ <tr>
208+ <td> ''grid''
209+ <td> ''block grid''
210+ <td> <a>block-level</a> <a>grid container</a>
211+ <tr>
212+ <td> ''inline-grid''
213+ <td> ''inline grid''
214+ <td> <a>inline-level</a> <a>grid container</a>
215+ <tr>
216+ <td> ''ruby''
217+ <td> ''inline ruby''
218+ <td> <a>inline-level</a> <a>ruby container</a>
219+ <tr>
220+ <td> ''block ruby''
221+ <td> ''block ruby''
222+ <td> <a>block box</a> containing <a>ruby container</a>
223+ <tr>
224+ <td> ''table''
225+ <td> ''block table''
226+ <td> <a>block-level</a> <i> table wrapper box</i> containing <i> table box</i>
227+ <tr>
228+ <td> ''inline-table''
229+ <td> ''inline table''
230+ <td> <a>inline-level</a> <i> table wrapper box</i> containing <i> table box</i>
231+ <tbody title="Layout-internal display types">
232+ <tr>
233+ <td> ''table-cell''
234+ <td> ''table-cell flow''
235+ <td> table cell <a>block container</a>
236+ <tr>
237+ <td> ''table-caption''
238+ <td> ''table-caption flow''
239+ <td> table cell <a>block container</a>
240+ <tr>
241+ <td> ''ruby-base''
242+ <td> ''ruby-base flow''
243+ <td> <a href="#layout-specific-display">layout-specific internal box</a>
244+ <tr>
245+ <td> ''ruby-text''
246+ <td> ''ruby-text flow''
247+ <td> <a href="#layout-specific-display">layout-specific internal box</a>
248+ <tr>
249+ <td> other <<display-internal>>
250+ <td> 〃
251+ <td> <a href="#layout-specific-display">layout-specific internal box</a>
252+ </table>
253+
254+ Note: Following the precedence rules of “most backwards-compatible, then shortest”,
255+ serialization of equivalent 'display' values uses the “Short 'display' ” column.
256+ [[CSSOM]]
257+
145258<h3 id="outer-role">
146259Outer Display Roles for Flow Layout: the ''block'', ''inline'', and ''run-in'' keywords</h3>
147260
@@ -637,6 +750,13 @@ Appendix A: Glossary</h2>
637750 <dd>
638751 Block and inline formatting contexts are defined in
639752 <a href="http://www.w3.org/TR/CSS21/visuren.html#normal-flow">CSS 2.1 Section 9.4</a> .
753+
754+ <dt> <dfn>BFC</dfn>
755+ <dd>
756+ Informal abbreviation for <a>block formatting context</a> .
757+ Often used to refer to a <a>block formatting context</a> <em> root</em> ,
758+ that is, a <a>block box</a> that establishes a new <a>block formatting context</a>
759+ for its contents.
640760 </dl>
641761
642762 See [[!CSS21]] <a href="http://www.w3.org/TR/CSS21/visuren.html">Chapter 9</a> for a fuller definition of these terms.
0 commit comments