Re: [csswg-drafts] [css-nesting] Allow custom property within nested at-rule conditions (#8753)

I *think* I see what you're saying.

To confirm, because `@container` inherently need to check the element marked as the container, the code/logic is already there to allow it to check the `--x` custom property while it's already looking up the element anyways.

However `@media` in its current incarnation never checks any element, so it would mean completely rewrite the code/logic if we allow it to accept `--x` custom property when it is nested.

Is that correct?

-- 
GitHub Notification of comment by miragecraft
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8753#issuecomment-1522542801 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 25 April 2023 23:31:08 UTC