Re: [csswg-drafts] Should common @when and if() functions be the same? (#12903)

For a more concrete question, `@when media(width > 10em)` treats `em` as the initial value since it has no context.
Should `if(media(width > 10em): /* ... */)` do the same for consistency, or should it use the context to resolve `em`?

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


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

Received on Monday, 6 October 2025 19:21:51 UTC