CSS `@if` should be printed as follows: ```css test { color: if( media(print): black; supports(display: grid): green; else: red; ); } ``` See https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/if for docs and potential cases for unit tests.
Activity
bartveneman commentedon Aug 4, 2026
blocked by projectwallace/css-parser#253
bartveneman commentedon Aug 30, 2026
Fixed in 9aa010d