Okay, it seems I misunderstood how that directive works, and I agree it looks hard to integrate them or distinguish between those two kinds of `@if` for preprocessors. But it could still be solved by adding some new syntax to make it future-proof with changes in CSS. For example, say Sass can probably make `@+something` be converted to `@something` in CSS, so that Sass can use any name as the directive without concerning / affecting change in CSS's at-rules. That still adds burden to everyday developers, but that only adds one extra character burden for people who use Sass, while `@when` brings two extra characters for everyone, plus the mental burden from unfamiliarity. -- GitHub Notification of comment by upsuper Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/112#issuecomment-221874195 using your GitHub accountReceived on Thursday, 26 May 2016 13:42:50 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:58 UTC