Re: [csswg-drafts] [css-conditional-4] Rename @when to @if (#6684)

> Just as another info point in the language precedence area, the [JS pattern matching proposal](https://github.com/tc39/proposal-pattern-matching) uses `when` _and_ `if` for the clauses of the match construct.
> 
> (Edited: Python's feature uses match/case, not match/when.)

I would like to suggest that CSS adopts `@if` as a synonym of `@when`. By doing that, it would make things fair to both sides.

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


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

Received on Thursday, 10 February 2022 01:59:29 UTC