Skip to content

[css-contain] container shorthand syntax is confusing. #7180

@emilio

Description

@emilio

https://andreubotella.com/csswg-auto-build/css-contain-3/#container-shorthand says:

<'container-name'>? [ / <'container-type'> ]?

But tests expect <container-type> [ / <container-name> ]? which makes a lot more sense to me. Having both parts of the syntax optional doesn't really make sense to me.

cc @mirisuzanne @andruud

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed as Question AnsweredUsed when the issue is more of a question than a problem, and it's been answered.css-contain-3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions