Element.mozMatchesSelector() will be removed


Categories: DOM

Releases: Future


The Element.mozMatchesSelector method will be removed in the future in favour of the standard Element.matches method available since Firefox 34. Firefox 44 has also implemented webkitMatchesSelector which is now standardized for Web interoperability, though the unprefixed method is always preferred.

How can I test this?

This change can be tested with the compatibilty checker in our Firefox Developer Tools extension. Get it today!