Skip to content

[css-contain-3] Make container-type:auto the initial value? #7202

@andruud

Description

@andruud

It's not clear if/when style queries are going to happen, and there was an intent to make size queries shippable without style queries.

Given that, is container-type:style the best initial value? We can't implement a property without support for its initial value, so in order to ship separately we'd need to pick some other non-standard initial value. We can also not pretend to support container-type:style, since that breaks @supports etc.

Maybe we can make auto the initial value, and specify that behaves like style? We'd still pretend to support auto I suppose, but at least authors would be able to do @supports(container-type: style). Also we'd be able to note in the spec that auto can behave like none if style queries are not supported.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions