Skip to content

[css-backgrounds-3] Computed value of background-size includes missing autos #2574

@csnardi

Description

@csnardi

https://drafts.csswg.org/css-backgrounds-3/#the-background-size says the computed value of background-size is:

as specified, but with lengths made absolute and omitted auto keywords filled in

https://wpt.fyi/css/css-backgrounds/background-size-001.html shows that only Firefox outputs the computed value with missing autos. It seems this was added in bfd84cf by @fantasai, but I don't see any reasoning there. Perhaps this should be changed to remove the portion about omitted auto keywords, as it would also conform to the shortest serialization principle outlaid in #1564.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions