:has() CSS relational pseudo-class
- WDSelect elements containing specific content. For example, a:has(img)
selects all <a>
elements that contain an <img>
child.
Chrome
- ❌ 4 - 100: Not supported
- ❌ 101 - 104: Disabled by default
- ✅ 105 - 127: Supported
- ✅ 128: Supported
- ✅ 129 - 131: Supported
Edge
- ❌ 12 - 104: Not supported
- ✅ 105 - 127: Supported
- ✅ 128: Supported
Safari
- ❌ 3.1 - 15.3: Not supported
- ✅ 15.4 - 17.5: Supported
- ✅ 17.6: Supported
- ✅ 18.0 - TP: Supported
Firefox
- ❌ 2 - 102: Not supported
- ❌ 103 - 120: Disabled by default
- ✅ 121 - 129: Supported
- ✅ 130: Supported
- ✅ 131 - 133: Supported
Opera
- ❌ 9 - 90: Not supported
- ✅ 91 - 110: Supported
- ✅ 111: Supported
IE
- ❌ 5.5 - 10: Not supported
- ❌ 11: Not supported
Chrome for Android
- ✅ 128: Supported
Safari on iOS
- ❌ 3.2 - 15.3: Not supported
- ✅ 15.4 - 17.5: Supported
- ✅ 17.6: Supported
- ✅ 18.0: Supported
Samsung Internet
- ❌ 4 - 19.0: Not supported
- ✅ 20 - 24: Supported
- ✅ 25: Supported
Opera Mini
- ❌ all: Not supported
Opera Mobile
- ❌ 10 - 12.1: Not supported
- ✅ 80: Supported
UC Browser for Android
- ❌ 15.5: Not supported
Android Browser
- ❌ 2.1 - 4.4.4: Not supported
- ✅ 128: Supported
Firefox for Android
- ✅ 127: Supported
QQ Browser
- ❌ 14.9: Not supported
Baidu Browser
- ❌ 13.52: Not supported
KaiOS Browser
- ❌ 2.5: Not supported
- ❌ 3: Not supported