devdocs
devdocs copied to clipboard
CSS :has documentation shows wrong Firefox browser compatibility
Documentation style bug
Summary
https://devdocs.io/css/:has#browser_compatibility shows the wrong browser compatibility for Firefox. It shows that the pseudo-selector works in Firefox, but it actually has only partial functionality (due to currently incomplete/buggy implementation) and is gated behind a feature flag. (see MDN screenshot below for reference)

Actual style

Expected style
(cell style changed from .bc-supports-yes to .bc-supports-partial)

While I think partial support is more accurate for this entry, MDN's entry is technically .bc-supports-no, so that would be the more accurate change I suppose.
The icon is .bc-supports-no, but there's also a flag; I suppose it's more accurate to reflect that.
This bug is now somewhat outdated as Firefox now supports :has() officially as of version 121.