We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
container-type
normal
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://drafts.csswg.org/css-contain-3/#container-type
Value: normal || [ size | inline-size ]
size
inline-size
But normal size and normal inline-size don't make sense.
normal size
normal inline-size
normal establishes a query container for container style queries, but that's the default, included in size and inline-size:
Unless otherwise noted, all elements are query containers for the purpose container queries that do no require explicit containment (such as container style queries)
The definitions are even contradictory, e.g. with normal size, both of these apply:
The element is not a query container for any container size queries
Establishes a query container for container size queries
So the syntax should just be normal | size | inline-size.
normal | size | inline-size
The text was updated successfully, but these errors were encountered:
@mirisuzanne Seems a mistake from 3aed70b, it was
none | [ style || [ size | inline-size ] ]
and then style was removed (included in the others), so it should be
style
none | [ size | inline-size ]
Sorry, something went wrong.
[css-contain-3] Fix typo in container-type syntax (#7669)
964c07f
@Loirooriol should be fixed in 964c07f.
(It looks to me like the WP Tests are accurate already)
No branches or pull requests
https://drafts.csswg.org/css-contain-3/#container-type
But
normal size
andnormal inline-size
don't make sense.normal
establishes a query container for container style queries, but that's the default, included insize
andinline-size
:The definitions are even contradictory, e.g. with
normal size
, both of these apply:So the syntax should just be
normal | size | inline-size
.The text was updated successfully, but these errors were encountered: