Add plain vs range syntax section to container queries guide#44014
Conversation
|
@nchevobbe let me know if it fully covers the feature |
|
Preview URLs (2 pages)
Flaws (11) Note! 1 document with no flaws that don't need to be listed. 🎉 Found an unexpected or unresolvable flaw? Please report it here. URL:
(comment last updated: 2026-05-22 00:06:29) |
I think so, at least it definitely helps understanding the differences |
|
Yeah, this looks good - Only nitpick is the naming of the equality syntax. At least to me, at a glance, Technically it's |
|
@dshin-moz good point! It’s much clearer with plain vs range now and directly attached to the spec. Thanks! |
|
@hamishwillee I would wait for @dletorey’s PR to be merged (it’s more time-sensitive) and get back to it then, addressing your feedback, etc. |
@pepelsbey No, I wouldn't merge that PR until it looks far more like this one. It isn't "minimally viable" whereas this nearly is. The most efficient way forward is to get this in with minor tweaks, and then Dave could graft his example on top. |
|
@hamishwillee thank you for the feedback! I think I addressed most of your concerns. Let me know if it got better. |
Description
Documents the difference between the
:(plain) and=(range) forms ofstyle()in container style queries:@containerreference linking to the guide.Motivation
To clear the difference between
style(--n: 3)andstyle(--n = 3).Additional details
if()by Temani Afif.