8000 [css-display] display:none is technically ambiguous. · xfq/csswg-drafts@5b057e9 · GitHub
Skip to content

Commit 5b057e9

Browse files
committed
[css-display] display:none is technically ambiguous.
1 parent f96c559 commit 5b057e9

2 files changed

Lines changed: 13 additions & 3 deletions

File tree

css-display/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Level: 3
99
Editor: Tab Atkins Jr., Google, http://xanthir.com/contact/
1010
Abstract: This module contains the features of CSS relating to the 'display' property and other box-generation details.
1111
Ignored Terms: show, display-model, display-role
12+
Link Defaults: css-lists-3 (property) counter-increment
1213
</pre>
1314

1415
<h2 id="intro">
@@ -287,6 +288,10 @@ The 'display' shorthand property</h3>
287288
<dt><dfn>inline-grid</dfn>
288289
<dd>
289290
Expands identically to ''inline-level grid''.
291+
292+
<dt><dfn>none</dfn>
293+
<dd>
294+
Expands identically to ''block none none''.
290295
</dl>
291296

292297

css-display/Overview.html

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,10 @@ <h3 class="heading settled" data-level=2.4 id=the-display><span class=secno>2.4
383383
<dt><dfn class=css data-dfn-for=display data-dfn-type=value data-export="" id=valuedef-display-inline-grid>inline-grid<a class=self-link href=#valuedef-display-inline-grid></a></dfn>
384384
<dd>
385385
Expands identically to <span class=css>inline-level grid</span>.
386+
387+
<dt><dfn class=css data-dfn-for=display data-dfn-type=value data-export="" id=valuedef-display-none>none<a class=self-link href=#valuedef-display-none></a></dfn>
388+
<dd>
389+
Expands identically to <span class=css>block none none</span>.
386390
</dl>
387391

388392

@@ -416,7 +420,7 @@ <h2 class="heading settled" data-level=3 id=box-suppress><span class=secno>3 </s
416420
it must be treated as if it did not generate any boxes.</p>
417421

418422
<p>Properties that rely on boxes but do not rely on layout,
419-
such as animations, <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-content-3/#counter-increment title=counter-increment>counter-increment</a>, etc.,
423+
such as animations, <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-lists-3/#propdef-counter-increment title=counter-increment>counter-increment</a>, etc.,
420424
must work as normal on this element and its descendants.</p>
421425
</dl>
422426

@@ -678,8 +682,9 @@ <h2 class="no-num no-ref heading settled" id=index><span class=content>
678682
<li>layout-specific display role, <a href=#layout-specific-display-role title="section 2.2">2.2</a>
679683
<li>list-item<ul><li>value for display-list, <a href=#valuedef-display-list-list-item title="section 2.3">2.3</a>
680684
<li>value for display, <a href=#valuedef-display-list-item title="section 2.4">2.4</a>
681-
</ul><li>none, <a href=#valuedef-display-outside-none title="section 2.2">2.2</a>
682-
<li>ruby, <a href=#valuedef-display-inside-ruby title="section 2.1">2.1</a>
685+
</ul><li>none<ul><li>value for display-outside, <a href=#valuedef-display-outside-none title="section 2.2">2.2</a>
686+
<li>value for display, <a href=#valuedef-display-none title="section 2.4">2.4</a>
687+
</ul><li>ruby, <a href=#valuedef-display-inside-ruby title="section 2.1">2.1</a>
683688
<li>ruby-base, <a href=#valuedef-display-outside-ruby-base title="section 2.2">2.2</a>
684689
<li>ruby-base-container, <a href=#valuedef-display-outside-ruby-base-container title="section 2.2">2.2</a>
685690
<li>ruby-text, <a href=#valuedef-display-outside-ruby-text title="section 2.2">2.2</a>

0 commit comments

Comments
 (0)