#592: Early design review of CSS Container Queries proposal
Discussions
2021-01-Kronos
- Perhaps add physical keywords as well?
- Can you nest MQ inside this?
- We are happy to see this work and the proposal seems well thought out. It is unclear whether the additions to containment are only
inline-size
andblock-size
or their physical counterparts as well. We would recommend that both be available.
2021-02-15
Lea: Ken & I posted some feedback - and requestor said they would work on it...
Rossen: CSS accepted it as part of "contain" - new module. Starting work as part of CSS wg charter.
Peter: are we ready to close this then?
Ken: from TAG pov we have given our feedback and blessing...
Dan: feels to me like we should close it and ask them to open up a new issue when appropriate.
Lea: I will close.
resolved to close
OpenedJan 5, 2021
HIQaH! QaH! TAG!
I'm requesting early TAG review of my proposal for CSS Container Queries.
Media-queries allow an author to make style changes based on the overall viewport dimensions -- but in many cases, authors would prefer styling modular components based on their context and available space within a layout. My proposal builds on David Baron's
@container
approach, which works by applying size & layout containment to the queried elements. In order to make that less restrictive for authors, I've also proposed a path forward forinline-size
(and maybeblock-size
) values on thecontain
property.Further details:
We'd prefer the TAG provide feedback as 💬 leave review feedback as a comment in this issue and @-notify @mirisuzanne & @andruud