:has()

Represents an element if any of the selectors passed as parameters match at least one element.

Estimated Support About

39.02% supported

Apple Mail

macOS

15.0
16.0

iOS

15.1
15.4

Gmail

Desktop Webmail

2021-12
2023-09

iOS

2021-12
2023-09

Android

2021-12
2023-09

Outlook

Windows

2007
2010
2013
2016
2019

macOS

16.56
16.73
16.80

Outlook.com

2021-12
2023-09
2024-01

iOS

2021-12
2023-09

Android

2021-12

Yahoo! Mail

Desktop Webmail

2021-12
1
2023-09
1

iOS

2021-12
2023-09

Android

2021-12
2023-09

ProtonMail

Desktop Webmail

2021-12
2
2023-09

iOS

2021-12
2023-09

Android

2021-12
2023-09

GMX

Desktop Webmail

2022-07
2023-09

iOS

2022-07

Android

2022-07

WP.pl

Desktop Webmail

2024-04

Notes

As of december 2021, :has() is only supported in Safari Technology Preview 137. As of march 2022, it is supported in Safari 15.4.

  • 1

    Not supported. :has(…) is replaced by :has.

  • 2

    Not supported. But the pseudo-class seems interpreted and computed server side.

Resources

Know something we don't?

Is any of the above data outdated? Or do you want to add a new email client to the list? Heads on to GitHub and edit the data file!

Not comfortable with GitHub? Send us an email.

Test it yourself

This feature was last tested on March 15, 2022.

If you want to test this feature in the same conditions as we did, you can get our test code and run a test by yourself. Make sure to follow our testing recommendations first.