Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But if the requested feature is supported in a given browser even though @supports isn't, it will act as though the feature is not supported. That seems like a major flaw.


This will affect a small percentage of features, in a small percentage of browsers, of the 23% that don't support @supports (all three of which are shrinking percentages).

That coupled with the fact the features are likely to be non-functional aesthetic elements makes it a very minor flaw imo.


The only significant modern-ish browsers that don't have @supports are all versions of IE (not including Edge) and Safari 8. In Safari's case, any version of Mac OS that ran Safari 8 would have gotten a Safari 9 update. So IE 10 and 11 do present some challenges in that case, but it will be up to the developer to decide if the amount of traffic from those browsers is worth worrying about.


I wonder if this impacts any features that exist today.

It looks like @supports has been supported by everything but IE, and also the Android browser (not Chrome for Android) for a while [1].

[1]: https://developer.mozilla.org/en-US/docs/Web/CSS/@supports#B...


@supports will change your life, eventually.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: