dir

Read More at MDN DocsView Spec

Safe to Use

dir is not safe to use.

It’s supported by 23% of global browsers.

Browsers

ChromeUnsupported
Chrome does not support this feature.
SafariOct 16, 2014v8.0.0
3%100%
There are no users of Safari running a supported version.
EdgeUnsupported
Edge does not support this feature.
FirefoxOct 22, 2019v70.0.0
3%97%
There are no users of Firefox running a supported version.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Unsupported
Chrome does not support this feature.
Feb 4, 2020 – Latest
v80.0.0+
24%98%

This feature is behind the #enable-experimental-web-platform-features preference (needs to be set to Enabled

Chrome Android
Unsupported
Chrome Android does not support this feature.
Feb 4, 2020 – Latest
v80.0.0+
38%99%

This feature is behind the #enable-experimental-web-platform-features preference (needs to be set to Enabled

Edge
Unsupported
Edge does not support this feature.
Feb 7, 2020 – Latest
v80.0.0+
4%100%

This feature is behind the #enable-experimental-web-platform-features preference (needs to be set to Enabled

Firefox
Oct 22, 2019 v70.0.0
3%97%
There are no users of Firefox running a supported version.
Oct 22, 2019 – Latest
v70.0.0+
3%97%

Full Support

Prior to Firefox 70, the attribute was only accepted on a few elements, as specified in MathML 3.

Firefox for Android
Jul 28, 2020 v79.0.0
Firefox for Android supports this feature.
Jul 28, 2020 – Latest
v79.0.0+

Full Support

Prior to Firefox 70, the attribute was only accepted on a few elements, as specified in MathML 3.

Internet Explorer
Unsupported
Internet Explorer does not support this feature.

No Support

 
Quest Browser
Unsupported
Quest Browser does not support this feature.
Unknown
v9.0.0+

This feature is behind the #enable-experimental-web-platform-features preference (needs to be set to Enabled

Opera
Unsupported
Opera does not support this feature.

No Support

Opera Android
Unsupported
Opera Android does not support this feature.

No Support

Safari
Oct 16, 2014 v8.0.0
3%100%
There are no users of Safari running a supported version.
Oct 16, 2014 – Latest
v8.0.0+
3%100%

Full Support

Safari on iOS
Sep 17, 2014 v8.0.0
17%100%
There are no users of Safari on iOS running a supported version.
Sep 17, 2014 – Latest
v8.0.0+
17%100%

Full Support

Samsung Internet
Unsupported
Samsung Internet does not support this feature.

No Support

WebView Android
Unsupported
WebView Android does not support this feature.

No Support

See Also

Contribute