Re: [csswg-drafts] [css-contain-3][css-mediaqueries-5] Unified custom queries (#7622)

> Maybe something inspired by `@property`?:
> ```
> @prelude --foo {
>   syntax: "@media"; /* with some specific syntax to reference "whatever is valid in that other prelude" */
>   value: (width >= 768px);
> }
> ```

Perhaps we don't need to be flexible "at any cost" (in this case: verbosity/readability). 

Also: if we go this route, we'll probably want to avoid a syntax that can be a number of different things (e.g. `syntax: media, container`), because tooling may not be able to know what we're looking at anymore.

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


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

Received on Thursday, 12 June 2025 08:11:48 UTC