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
Following the precedence rules of “most backwards-compatible, then shortest”, serialization of equivalent display values uses the “Short display” column.
So it seems short forms are preferred, but these combinations do not appear in the summary table!
The text was updated successfully, but these errors were encountered:
The table is an informative guide to help authors, not a normative and complete mapping table. The note at the end is just that—a note, reminding you that things get serialized to their shortest form, and that the table contains many of those. But the "3 keywords that can be written as 2" is already covered by that general principle.
(Marking Wontfix because we won't fix the informative table; but the serialization should be clearly defined in CSSOM, and #1564 is open against it to ensure it contains the general rules for serialization once again.)
Some
display
values withlist-item
keyword can be shortened to a single keyword:list-item block flow
can be shortened tolist-item
list-item inline flow
can be shortened toinline-list-item
Some
display
values withlist-item
keyword require all three keywords:list-item run-in flow-root
list-item inline flow-root
The other
display
values withlist-item
keyword can be shortened to two keywords:list-item run-in flow
can be shortened tolist-item run-in
list-item block flow-root
can be shortened tolist-item flow-root
This question is about the last case. Do they serialize to the two-keyword shortened form, or do they stay in the full form?
CSS Display says
So it seems short forms are preferred, but these combinations do not appear in the summary table!
The text was updated successfully, but these errors were encountered: