Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[css-display] Position of 'list-item' when serializing <display-listitem> #1621

@Loirooriol

Description

@Loirooriol

The summary table in CSS Display says that list-item inline flow serializes to inline list-item.

However, the syntax is

<display-listitem> = list-item && <display-outside>? && [ flow | flow-root ]? ;

Then, according to the "shortest serialization" principle (which is going to be reintroduced in #1564), it should serialize to list-item inline:

Where multiple CSS component values can appear in any order without changing the meaning of the value (typically represented by a double bar || in the value syntax), use the order as given in the syntax.

Therefore, I think either the summary table should say list-item inline or the syntax of <display-listitem> should move the list-item keyword to the end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions