You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The <aclass=propertydata-link-type=propdeschref=#propdef-displaytitle=display>display</a> shorthand property</span><aclass=self-linkhref=#the-display></a></h3>
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 <aclass=propertydata-link-type=propdeschref=#propdef-display-outsidetitle=display-outside>display-outside</a>, which is <aclass=cssdata-link-type=maybehref=#valuedef-inline-leveltitle=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 <aclass=propertydata-link-type=propdeschref=#propdef-display-insidetitle=display-inside>display-inside</a> keyword,
321
-
<aclass=propertydata-link-type=propdeschref=#propdef-display-outsidetitle=display-outside>display-outside</a> defaults to <aclass=cssdata-link-type=maybehref=#valuedef-block-leveltitle=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 <aclass=propertydata-link-type=propdeschref=#propdef-display-insidetitle=display-inside>display-inside</a> value).
324
-
325
-
<pclass=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 <aclass=propertydata-link-type=propdeschref=#propdef-displaytitle=display>display</a> property became a shorthand.
307
+
<p> The single-keyword values listed explicitly in the grammar above are handled specially,
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 <aclass=propertydata-link-type=propdeschref=#propdef-display-outsidetitle=display-outside>display-outside</a>, which is <aclass=cssdata-link-type=maybehref=#valuedef-inline-leveltitle=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 <aclass=propertydata-link-type=propdeschref=#propdef-display-insidetitle=display-inside>display-inside</a> keyword,
645
-
<aclass=propertydata-link-type=propdeschref=#propdef-display-outsidetitle=display-outside>display-outside</a> defaults to <aclass=cssdata-link-type=maybehref=#valuedef-block-leveltitle=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 <aclass=propertydata-link-type=propdeschref=#propdef-display-insidetitle=display-inside>display-inside</a> value).
0 commit comments