:dir() CSS pseudo-class

- WD

Matches elements based on their directionality. :dir(ltr) matches elements which are Left-to-Right. :dir(rtl) matches elements which are Right-to-Left.

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Edge

  1. 12 - 79: Not supported
  2. 80: Not supported

Firefox

  1. 2 - 16: Not supported
  2. 17 - 48: Supported
  3. 49 - 72: Supported
  4. 73: Supported
  5. 74 - 75: Supported

Chrome

  1. 4 - 79: Not supported
  2. 80: Not supported
  3. 81 - 83: Not supported

Safari

  1. 3.1 - 12.1: Not supported
  2. 13: Not supported
  3. TP: Not supported

Opera

  1. 9 - 65: Not supported
  2. 66: Not supported

iOS Safari

  1. 3.2 - 13.1: Not supported
  2. 13.2: Not supported
  3. 13.3: Not supported

Opera Mini

  1. all: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 80: Not supported

Blackberry Browser

  1. 7: Not supported
  2. 10: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 46: Not supported

Chrome for Android

  1. 80: Not supported

Firefox for Android

  1. 68: Supported

IE Mobile

  1. 10: Not supported
  2. 11: Not supported

UC Browser for Android

  1. 12.12: Not supported

Samsung Internet

  1. 4 - 9.2: Not supported
  2. 10.1: Not supported

QQ Browser

  1. 1.2: Not supported

Baidu Browser

  1. 7.12: Not supported

KaiOS Browser

  1. 2.5: Supported
Resources:
JS Bin testcase
Chrome issue #576815: CSS4 pseudo-class :dir()
WebKit bug #64861: Need support for :dir() pseudo-class
MDN Web Docs - CSS :dir
HTML specification for `:dir()`
Microsoft Edge feature request on UserVoice