Re: [csswg-drafts] [css-contain-3] Can we allow custom properties in dimensional container queries? (#8088)

> Are there other approaches we should consider, that wouldn't rely on @property?

Could specify that a value that is a token sequence is parsed (post-substitution, CQ-evaluation-time) according to the feature on the other side of the comparison. Then define what that means for each feature, e.g. [inline-size, etc] -> `<length>`, orientation -> `portrait | landscape`, etc.

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


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

Received on Wednesday, 16 November 2022 21:43:29 UTC