CSS test case for the class substring/white-space bug

Please use the comments at the bottom of this weblog entry to tell me if any other lines than the first one (#0) are red in Internet Explorer 5.0 on Windows. The users of other browsers (or IE 5.5) need not comment.


  1. This line is supposed to be red. (class="abcdef")
  2. This text should be black. (<li class="abc ">)
  3. This text should be black. (<li class=" abc">)
  4. This text should be black. (<li class="abc x">)
  5. This text should be black. (<li class="x abc">)
  6. This text should be black. (<li class="x abc y">)
  7. This text should be black. (<li class="def ">)
  8. This text should be black. (<li class=" def">)
  9. This text should be black. (<li class="def x">)
  10. This text should be black. (<li class="x def">)
  11. This text should be black. (<li class="x def y">)

Internet Explorer version 5.2 on Mac renders lines 0, 1, 2, 3, 5 and 7 all red. (More background on this bug at Mac Edition)


Már Örlygsson - mar@anomy.net - http://mar.anomy.net/