Re: [csswg-drafts] [css-images] @image rule for manipulating images (#6807)

Yeah, the similarity there appears to be just "follows standard CSS syntactic patterns", but the same can be said of almost any at-rule. @counter-style and @font-face also look like that, for example, but I don't think it's reasonable to say they're "like @mixin". At-rules containing descriptors is just how CSS things are written.

In particular, @mixin specifically contains *properties* that'll eventually apply to an element; @image here just contains descriptors that *resemble* existing properties but won't ever apply to an element in the page. (And nothing prevents us from adding descriptors that go beyond what properties can currently do, either.)

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


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

Received on Tuesday, 23 August 2022 21:58:52 UTC