stylelint / stylelint-demo

The online demo on the Stylelint website
https://stylelint.io/demo/
MIT License
15 stars 8 forks source link

Refactor to remove `:has()` polyfill #362

Closed ybiquitous closed 11 months ago

ybiquitous commented 1 year ago

We added a polyfill for the :has() pseudo-class with PR #358 because Firefox doesn't support it yet.

If Firefox supports the pseudo-class, most modern browsers will complete the support so that we can remove the polyfill.

Since Firefox has supported it behind a flag, I believe the time will come in the near future.

See the Can I Use report.

ybiquitous commented 11 months ago

Firefox 121 now supports :has()! 🎉 https://www.mozilla.org/en-US/firefox/121.0/releasenotes/