use Element.prototype.matches