Skip to content

Commit c29a28b

Browse files
committed
[css-display] Tweak the 'none' value.
--HG-- extra : rebase_source : 2ed48a2f51f9f138e6928cbd2f1ab8b131fd1c33
1 parent ed92e17 commit c29a28b

2 files changed

Lines changed: 17 additions & 13 deletions

File tree

css-display/Overview.html

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</a></p>
1414
<h1 class="p-name no-ref" id="title">CSS Display Module Level 3</h1>
1515
<h2 class="no-num no-toc no-ref" id="subtitle">Editor's Draft,
16-
<span class="dt-updated"><span class="value-title" title="20130501">1 May 2013</span></span></h2>
16+
<span class="dt-updated"><span class="value-title" title="20130503">3 May 2013</span></span></h2>
1717
<div data-fill-with="spec-metadata"><dl><dt>This version:</dt><dd><a href="http://dev.w3.org/csswg/css-display" class="u-url">http://dev.w3.org/csswg/css-display</a></dd><dt>Editor's Draft:</dt><dd><a href="http://dev.w3.org/csswg/css-display">http://dev.w3.org/csswg/css-display</a>
1818
</dd><dt>Feedback:</dt>
1919
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-display%5D%20feedback">www-style@w3.org</a>
@@ -254,7 +254,13 @@ <h3 id="the-display-outside" data-level="2.2"><span class="secno">2.2 </span>
254254
The element generates no boxes,
255255
and does not participate in any formatting context.
256256

257-
</dd><dt><dfn id="display-outside-table-row-group"><a data-autolink="maybe" class="css" href="#display-outside-table-row-group">table-row-group</a></dfn>, <dfn id="display-outside-table-header-group"><a data-autolink="maybe" class="css" href="#display-outside-table-header-group">table-header-group</a></dfn>, <dfn id="display-outside-table-footer-group"><a data-autolink="maybe" class="css" href="#display-outside-table-footer-group">table-footer-group</a></dfn>, <dfn id="display-outside-table-row"><a data-autolink="maybe" class="css" href="#display-outside-table-row">table-row</a></dfn>, <dfn id="display-outside-table-cell"><a data-autolink="maybe" class="css" href="#display-outside-table-cell">table-cell</a></dfn>, <dfn id="display-outside-table-column-group"><a data-autolink="maybe" class="css" href="#display-outside-table-column-group">table-column-group</a></dfn>, <dfn id="display-outside-table-column"><a data-autolink="maybe" class="css" href="#display-outside-table-column">table-column</a></dfn>, <dfn id="display-outside-table-caption"><a data-autolink="maybe" class="css" href="#display-outside-table-caption">table-caption</a></dfn>
257+
<p class="note"> Note: This value exists for legacy reasons,
258+
and interacts with the separate <a data-autolink="property" class="property" title="box" href="#box">box</a> property.
259+
It is recommended that <a data-autolink="property" class="property" title="box" href="#box">box</a> be used to suppress an element,
260+
so that the element's display type is automatically preserved
261+
for when it's no longer suppressed.
262+
263+
</p></dd><dt><dfn id="display-outside-table-row-group"><a data-autolink="maybe" class="css" href="#display-outside-table-row-group">table-row-group</a></dfn>, <dfn id="display-outside-table-header-group"><a data-autolink="maybe" class="css" href="#display-outside-table-header-group">table-header-group</a></dfn>, <dfn id="display-outside-table-footer-group"><a data-autolink="maybe" class="css" href="#display-outside-table-footer-group">table-footer-group</a></dfn>, <dfn id="display-outside-table-row"><a data-autolink="maybe" class="css" href="#display-outside-table-row">table-row</a></dfn>, <dfn id="display-outside-table-cell"><a data-autolink="maybe" class="css" href="#display-outside-table-cell">table-cell</a></dfn>, <dfn id="display-outside-table-column-group"><a data-autolink="maybe" class="css" href="#display-outside-table-column-group">table-column-group</a></dfn>, <dfn id="display-outside-table-column"><a data-autolink="maybe" class="css" href="#display-outside-table-column">table-column</a></dfn>, <dfn id="display-outside-table-caption"><a data-autolink="maybe" class="css" href="#display-outside-table-caption">table-caption</a></dfn>
258264
</dt><dd>
259265
The element is an internal table element,
260266
and participates in a table layout context. <a data-autolink="biblio" U00022="" data-biblio-type="normative" title="CSS21" href="#css21">[CSS21]</a>
@@ -320,7 +326,7 @@ <h3 id="the-display-outside" data-level="2.2"><span class="secno">2.2 </span>
320326
<th>Name:
321327
</th><td><dfn id="display">display</dfn></td></tr><tr>
322328
<th>Value:
323-
</th><td>inline | block | list-item | inline-list-item | inline-block | table | inline-table | table-cell | table-caption | flex | inline-flex | grid | inline-grid | none | [ &lt;<a data-autolink="property" class="property" title="display-inside" href="#display-inside">display-inside</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-outside" href="#display-outside">display-outside</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-box">display-box</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-extras" href="#display-extras">display-extras</a>&gt; ]
329+
</th><td>inline | block | list-item | inline-list-item | inline-block | table | inline-table | table-cell | table-caption | flex | inline-flex | grid | inline-grid | [ &lt;<a data-autolink="property" class="property" title="display-inside" href="#display-inside">display-inside</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-outside" href="#display-outside">display-outside</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-box">display-box</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-extras" href="#display-extras">display-extras</a>&gt; ]
324330
</td></tr><tr>
325331
<th>Initial:
326332
</th><td>see individual properties
@@ -417,10 +423,6 @@ <h3 id="the-display-outside" data-level="2.2"><span class="secno">2.2 </span>
417423
</dd><dt><dfn id="display-inline-grid" title="">inline-grid</dfn>
418424
</dt><dd>
419425
Expands identically to <a data-autolink="maybe" class="css">inline-level grid</a>.
420-
421-
</dd><dt><dfn id="display-none" title="">none</dfn>
422-
</dt><dd>
423-
Expands identically to <a data-autolink="maybe" class="css">inline-level auto none</a>.
424426
</dd></dl>
425427

426428

@@ -654,7 +656,7 @@ <h2 id="property-index" class="no-num no-ref">
654656
</td><td>see individual properties
655657
</td><td></td><td>see individual properties
656658
</td><td>see individual properties
657-
</td><td>inline | block | list-item | inline-list-item | inline-block | table | inline-table | table-cell | table-caption | flex | inline-flex | grid | inline-grid | none | [ &lt;<a data-autolink="property" class="property" title="display-inside" href="#display-inside">display-inside</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-outside" href="#display-outside">display-outside</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-box">display-box</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-extras" href="#display-extras">display-extras</a>&gt; ]
659+
</td><td>inline | block | list-item | inline-list-item | inline-block | table | inline-table | table-cell | table-caption | flex | inline-flex | grid | inline-grid | [ &lt;<a data-autolink="property" class="property" title="display-inside" href="#display-inside">display-inside</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-outside" href="#display-outside">display-outside</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-box">display-box</a>&gt; || &lt;<a data-autolink="property" class="property" title="display-extras" href="#display-extras">display-extras</a>&gt; ]
658660
</td></tr><tr><th scope="row"><a data-property="" data-autolink="link" href="#display-inside">display-inside</a></th><td></td><td>auto
659661
</td><td>all elements
660662
</td><td>no

css-display/Overview.src.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,12 @@ <h3 id='the-display-outside'>
165165
The element generates no boxes,
166166
and does not participate in any formatting context.
167167

168+
Note: This value exists for legacy reasons,
169+
and interacts with the separate 'box' property.
170+
It is recommended that 'box' be used to suppress an element,
171+
so that the element's display type is automatically preserved
172+
for when it's no longer suppressed.
173+
168174
<dt><dfn id='display-outside-table-row-group'>''table-row-group''</dfn>, <dfn id='display-outside-table-header-group'>''table-header-group''</dfn>, <dfn id='display-outside-table-footer-group'>''table-footer-group''</dfn>, <dfn id='display-outside-table-row'>''table-row''</dfn>, <dfn id='display-outside-table-cell'>''table-cell''</dfn>, <dfn id='display-outside-table-column-group'>''table-column-group''</dfn>, <dfn id='display-outside-table-column'>''table-column''</dfn>, <dfn id='display-outside-table-caption'>''table-caption''</dfn>
169175
<dd>
170176
The element is an internal table element,
@@ -233,7 +239,7 @@ <h3 id='the-display'>
233239
<td><dfn>display</dfn>
234240
<tr>
235241
<th>Value:
236-
<td>inline | block | list-item | inline-list-item | inline-block | table | inline-table | table-cell | table-caption | flex | inline-flex | grid | inline-grid | none | [ &lt;'display-inside'> || &lt;'display-outside'> || &lt;'display-box'> || &lt;'display-extras'> ]
242+
<td>inline | block | list-item | inline-list-item | inline-block | table | inline-table | table-cell | table-caption | flex | inline-flex | grid | inline-grid | [ &lt;'display-inside'> || &lt;'display-outside'> || &lt;'display-box'> || &lt;'display-extras'> ]
237243
<tr>
238244
<th>Initial:
239245
<td>see individual properties
@@ -330,10 +336,6 @@ <h3 id='the-display'>
330336
<dt><dfn id='display-inline-grid' title=''>inline-grid</dfn>
331337
<dd>
332338
Expands identically to ''inline-level grid''.
333-
334-
<dt><dfn id='display-none' title=''>none</dfn>
335-
<dd>
336-
Expands identically to ''inline-level auto none''.
337339
</dl>
338340

339341

0 commit comments

Comments
 (0)