Case-insensitive CSS attribute selectors

- WD

Including an i before the ] in a CSS attribute selector causes the attribute value to be matched in an ASCII-case-insensitive manner. For example, [b="xyz" i] would match both <a b="xyz"> and <a b="XYZ">.

IE

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

Edge

  1. 12 - 18: Not supported
  2. 79: Supported
  3. 80: Supported

Firefox

  1. 2 - 46: Not supported
  2. 47 - 72: Supported
  3. 73: Supported
  4. 74 - 75: Supported

Chrome

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

Safari

  1. 3.1 - 8: Not supported
  2. 9 - 12.1: Supported
  3. 13: Supported
  4. TP: Supported

Opera

  1. 9 - 35: Not supported
  2. 36 - 65: Supported
  3. 66: Supported

iOS Safari

  1. 3.2 - 8.4: Not supported
  2. 9 - 13.1: Supported
  3. 13.2: Supported
  4. 13.3: 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: Supported

Chrome for Android

  1. 80: Supported

Firefox for Android

  1. 68: Supported

IE Mobile

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

UC Browser for Android

  1. 12.12: Supported

Samsung Internet

  1. 4: Not supported
  2. 5 - 9.2: Supported
  3. 10.1: 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
MDN Web Docs - CSS case-insensitive
MS Edge feature request on UserVoice