matches() DOM method

- LS

Method of testing whether or not a DOM element matches a given selector. Formerly known (and largely supported with prefix) as matchesSelector.

IE

  1. 5.5 - 8: Not supported
  2. 9 - 10: Partial support
  3. 11: Partial support

Edge

  1. 12 - 14: Partial support
  2. 15 - 79: Supported
  3. 80: Supported

Firefox

  1. 2 - 3.5: Not supported
  2. 3.6 - 33: Partial support
  3. 34 - 72: Supported
  4. 73: Supported
  5. 74 - 75: Supported

Chrome

  1. 4 - 33: Partial support
  2. 34 - 79: Supported
  3. 80: Supported
  4. 81 - 83: Supported

Safari

  1. 3.1 - 4: Not supported
  2. 5 - 7: Partial support
  3. 7.1 - 12.1: Supported
  4. 13: Supported
  5. TP: Supported

Opera

  1. 9 - 11.1: Not supported
  2. 11.5 - 20: Partial support
  3. 21 - 65: Supported
  4. 66: Supported

iOS Safari

  1. 3.2: Not supported
  2. 4 - 7.1: Partial support
  3. 8 - 13.1: Supported
  4. 13.2: Supported
  5. 13.3: Supported

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1: Not supported
  2. 2.2 - 4.4.4: Partial support
  3. 80: Supported

Blackberry Browser

  1. 7: Partial support
  2. 10: Partial support

Opera Mobile

  1. 10 - 11: Not supported
  2. 11.1 - 12.1: Partial support
  3. 46: Supported

Chrome for Android

  1. 80: Supported

Firefox for Android

  1. 68: Supported

IE Mobile

  1. 10: Partial support
  2. 11: Partial support

UC Browser for Android

  1. 12.12: Supported

Samsung Internet

  1. 4: Partial support
  2. 5 - 9.2: Supported
  3. 10.1: Supported

QQ Browser

  1. 1.2: Supported

Baidu Browser

  1. 7.12: Supported

KaiOS Browser

  1. 2.5: Supported

Partial support refers to supporting the older specification's "matchesSelector" name rather than just "matches".

Resources:
MDN Web Docs - Element matches
Microsoft Edge feature request on UserVoice
WebPlatform Docs