space in classname uses classname .infobox

As ppk reported spaces in classnames will have buggy effects in Explorer Mac. It will use a class called .infobox for every element with an empty class name! Seems like it is an internal class for something.

Test page Workaround is not included
Reported by: Thomas Vavra.

(Orphaned), Explorer Mac | Reported on 27 June 2005.

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

Comments

(Add your own)

1 Posted by Bruno Fassino on 14 July 2005

I don't think that ".infobox" has anything special. A 'blank' class name matches every other name, not only infobox. I'm not exactly sure, but from some tests I did (http://www.brunildo.org/test/IEMclassb.html), I believe that:
1) with a blank in front (class=" a" or class=" "), all other names are matched,
2) with a blank at the end, or in the middle (as in the case of multiple classes) the blank is attached to the previous string and all names starting with that string are matched (with class="a b" all name starting with 'a' are matched.)

In short: the blank acts as a sort of wildcard character.

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes