api.Element.closest

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 41 on 2015-03-03

In Chrome Android version 41 on 2015-03-11

In Edge version 15 on 2017-04-05

In Firefox version 35 on 2015-01-13

In Firefox for Android version 35 on 2015-01-13

Not in Internet Explorer

In Quest Browser version 5.0 on undefined

In Opera version 28 on 2015-03-10

In Opera Android version 28 on 2015-03-10

In Safari version 6 on 2012-07-25

In Safari on iOS version 9 on 2015-09-16

In Samsung Internet version 4.0 on 2016-03-11

In WebView Android version 41 on 2015-03-11