Skip to content

Commit 7ed08e8

Browse files
committed
[css-display] Remove issue about changing initial values. Remove incorrect note about redundant expansions.
1 parent a518aea commit 7ed08e8

2 files changed

Lines changed: 10 additions & 55 deletions

File tree

css-display/Overview.bs

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -219,28 +219,11 @@ The 'display' shorthand property</h3>
219219
Media: see individual properties
220220
</pre>
221221

222-
<p>
223-
The single-keyword values listed explicitly in the grammar above are handled specially,
224-
for legacy reasons.
225-
All other single-keyword values,
226-
and all other values in general,
227-
are handled as normal for shorthands.
228-
229-
<p class='issue'>
230-
The general rule for new layout modes seems to be that they're block-level by default.
231-
However, this conflicts with the default value of 'display-outside', which is ''inline-level''.
232-
What's the best way to address this?
233-
Simplest answer is to just expand this list of special values as we go along.
234-
Another possibility is to magic up the expansion in a different way,
235-
so that if the value is just a 'display-inside' keyword,
236-
'display-outside' defaults to ''block-level''.
237-
If the latter is chosen, we could remove several more of the special expansions below
238-
(all the ones that are identical to a 'display-inside' value).
239-
240-
Note: Several of the "special" expansions below are actually just what the shorthand would expand to normally.
241-
They're included here for clarity,
242-
as they're very familiar from long usage in CSS 2.1,
243-
before the 'display' property became a shorthand.
222+
The single-keyword values listed explicitly in the grammar above are handled specially,
223+
for legacy reasons.
224+
All other single-keyword values,
225+
and all other values in general,
226+
are handled as normal for shorthands.
244227

245228
<dl dfn-type="value" dfn-for="display">
246229
<dt><dfn>inline</dfn>

css-display/Overview.html

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -304,28 +304,11 @@ <h3 class="heading settled heading" data-level=2.4 id=the-display><span class=se
304304
The <a class=property data-link-type=propdesc href=#propdef-display title=display>display</a> shorthand property</span><a class=self-link href=#the-display></a></h3>
305305

306306
<table class="definition propdef"><tr><th>Name:<td><dfn class=css-code data-dfn-type=property data-export="" id=propdef-display>display<a class=self-link href=#propdef-display></a></dfn><tr><th>Value:<td class=prod>inline | block | list-item | inline-list-item | inline-block | table | inline-table | table-cell | table-caption | flex | inline-flex | grid | inline-grid | [ <a class=production data-link-type=propdesc href=#propdef-display-inside title=display-inside>&lt;‘display-inside’&gt;</a> || <a class=production data-link-type=propdesc href=#propdef-display-outside title=display-outside>&lt;‘display-outside’&gt;</a> || <a class=production data-link-type=propdesc href=#propdef-display-extras title=display-extras>&lt;‘display-extras’&gt;</a> ]<tr><th>Initial:<td>see individual properties<tr><th>Applies to:<td>see individual properties<tr><th>Inherited:<td>see individual properties<tr><th>Media:<td>see individual properties<tr><th>Computed value:<td>see individual properties<tr><th>Animatable:<td>see individual properties</table>
307-
<p>
308-
The single-keyword values listed explicitly in the grammar above are handled specially,
309-
for legacy reasons.
310-
All other single-keyword values,
311-
and all other values in general,
312-
are handled as normal for shorthands.
313-
314-
<p class=issue id=issue-49dc1da3><a class=self-link href=#issue-49dc1da3></a>
315-
The general rule for new layout modes seems to be that they’re block-level by default.
316-
However, this conflicts with the default value of <a class=property data-link-type=propdesc href=#propdef-display-outside title=display-outside>display-outside</a>, which is <a class=css data-link-type=maybe href=#valuedef-inline-level title=inline-level>inline-level</a>.
317-
What’s the best way to address this?
318-
Simplest answer is to just expand this list of special values as we go along.
319-
Another possibility is to magic up the expansion in a different way,
320-
so that if the value is just a <a class=property data-link-type=propdesc href=#propdef-display-inside title=display-inside>display-inside</a> keyword,
321-
<a class=property data-link-type=propdesc href=#propdef-display-outside title=display-outside>display-outside</a> defaults to <a class=css data-link-type=maybe href=#valuedef-block-level title=block-level>block-level</a>.
322-
If the latter is chosen, we could remove several more of the special expansions below
323-
(all the ones that are identical to a <a class=property data-link-type=propdesc href=#propdef-display-inside title=display-inside>display-inside</a> value).
324-
325-
<p class=note> Note: Several of the "special" expansions below are actually just what the shorthand would expand to normally.
326-
They’re included here for clarity,
327-
as they’re very familiar from long usage in CSS 2.1,
328-
before the <a class=property data-link-type=propdesc href=#propdef-display title=display>display</a> property became a shorthand.
307+
<p> The single-keyword values listed explicitly in the grammar above are handled specially,
308+
for legacy reasons.
309+
All other single-keyword values,
310+
and all other values in general,
311+
are handled as normal for shorthands.
329312

330313
<dl data-dfn-for=display data-dfn-type=value>
331314
<dt><dfn class=css-code data-dfn-for=display data-dfn-type=value data-export="" id=valuedef-inline>inline<a class=self-link href=#valuedef-inline></a></dfn>
@@ -636,17 +619,6 @@ <h2 class="no-num heading settled" id=issues-index><span class=content>Issues In
636619
or just have them all be separate properties?
637620

638621
<a href=#issue-70026084></a></div><div class=issue>
639-
The general rule for new layout modes seems to be that they’re block-level by default.
640-
However, this conflicts with the default value of <a class=property data-link-type=propdesc href=#propdef-display-outside title=display-outside>display-outside</a>, which is <a class=css data-link-type=maybe href=#valuedef-inline-level title=inline-level>inline-level</a>.
641-
What’s the best way to address this?
642-
Simplest answer is to just expand this list of special values as we go along.
643-
Another possibility is to magic up the expansion in a different way,
644-
so that if the value is just a <a class=property data-link-type=propdesc href=#propdef-display-inside title=display-inside>display-inside</a> keyword,
645-
<a class=property data-link-type=propdesc href=#propdef-display-outside title=display-outside>display-outside</a> defaults to <a class=css data-link-type=maybe href=#valuedef-block-level title=block-level>block-level</a>.
646-
If the latter is chosen, we could remove several more of the special expansions below
647-
(all the ones that are identical to a <a class=property data-link-type=propdesc href=#propdef-display-inside title=display-inside>display-inside</a> value).
648-
649-
<a href=#issue-49dc1da3></a></div><div class=issue>
650622
Is there a need for a value that suppresses box generation for layout purposes,
651623
but still generates them for the purposes of animations/counters/etc.?
652624

0 commit comments

Comments
 (0)