Skip to content

@container size queries aren't clear about which box size is used #40306

@dseomn

Description

@dseomn

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/@container

What specific section or headline is this issue about?

Size container descriptors

What information was incorrect, unhelpful, or incomplete?

I think it's the same for all of the descriptors, but just to pick one as an example:

The block-size of the container expressed as a value.

Which block-size is that? From the text above, I'd assume that it's the one CSS usually uses, as specified by box-sizing. However, https://drafts.csswg.org/css-conditional-5/#block-size says:

The block-size container feature queries the size of the query container’s content box in the query container’s block axis.

What did you expect to see?

A clear description of which of the container's boxes is used for the size queries.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    Content:CSSCascading Style Sheets docshelp wantedIf you know something about this topic, we would love your help!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions