> it is even possible for preprocessors to integrate the new CSS @if with their existing one I don't believe this is possible. Just about every part of the proposed syntax collides with Sass. The `breakpoint` and `supports` functions are common user defined functions in all major preprocessors. Given I'm not sure if it's possible disambiguate between the Sass and CSS `@if`. Where as the earlier `@media (..) { } @else { }`, and by extension the suggested `@when (...) { } @else { }` is unambiguous. > when the preprocessor thinks it should do This comes off a bit hand-wavey, although I'd be curious to hear how you think the preprocessor would know. This is something Sass has talked about doing for `@extends` -> `matches()` some day. -- GitHub Notification of comment by xzyfer Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/112#issuecomment-221848529 using your GitHub accountReceived on Thursday, 26 May 2016 11:42:40 UTC
This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:58 UTC