Skip to content

[cssom] Serialization of initial longhand within shorthand for specified style #8150

@nt1m

Description

@nt1m

list-style-type: circle; list-style-position: inside; list-style-image: initial;

Should that serialize to list-style: inside circle; or list-style-type: circle; list-style-position: inside; list-style-image: initial;?

It's obvious that list-style-type: circle; list-style-position: inside; list-style-image: none; can serialize to list-style: inside circle;, but less obvious for the initial case.

Given initial and none have different meanings when it comes to author intent, I'm tempted to think that list-style-type: circle; list-style-position: inside; list-style-image: initial; is the more valid option.

cc @Loirooriol @darinadler

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions