Re: [csswg-drafts] [mediaqueries-5] Introduce `@size` rule for defining reusable media query size values (#10487)

Another approach could be to add support for any `@property`-defined values inside queries. That would require next to no new actual language changes, but it comes with the caveat that queries would not inherit any changes to those values and could only use their `initial` values, which may be more confusing to users.

In that case, such `@property` values would need to somehow be definable **constant** to be meaningful and able to be used in different places meaning the same thing.

Because of this point, an alternative to `@property` like `@size` may be best after all.

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


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

Received on Monday, 24 June 2024 19:10:37 UTC