-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
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
CSS Nesting: @nest #1013
Comments
Thanks for filing this @andruud! To add context, The major open issue is about the specifics of this new rule (does it serialize as a rule? Can authors write
|
I'm ok with the current One particularity that I mentioned on the call (or the issue?) that might have gotten overlooked is that I think there's no reason it needs to be a If you don't write it, it will never contain anything else than declarations, correct? It seems then that @nest could be "leaf" rules? I think Wdyt @tabatkins @andruud? All in all, I think I'm supportive of this, though I think we should not try to change this later, specially if we ship it with the grouping behavior. |
Yeah, it's currently a CSSGroupingRule just to be similar to CSSStyleRule, but I think it would be just fine to make it a leaf node and only contain a .style attribute. |
I didn't realize it was specified as a
and
I don't see the point in giving it any more capabilities than that. |
@andruud @tabatkins can you please move the design discussion back into the CSS WG? Thanks. |
Request for Mozilla Position on an Emerging Web Specification
@
-mention GitHub accounts): @tabatkinsOther information
Basically this proposal from Tab.
I am a bit reluctant to ship this since we have a major open issue about how it should appear in CSSOM (w3c/csswg-drafts#10234), but apparently the CSSWG wants to ship
@nest
as currently specified now, then consider any additional changes later (w3c/csswg-drafts#10234 (comment), w3c/csswg-drafts#10234 (comment)).So I am specifically asking for a position on shipping the (possibly intermediate) state of
@nest
as it's currently specified, despite w3c/csswg-drafts#10234 not being resolved.The text was updated successfully, but these errors were encountered: