Closed ybiquitous closed 11 months ago
We added a polyfill for the :has() pseudo-class with PR #358 because Firefox doesn't support it yet.
:has()
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.
Firefox 121 now supports :has()! 🎉 https://www.mozilla.org/en-US/firefox/121.0/releasenotes/
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.