On Mar 21, 10:16 pm, Completely Free Dating - Andrew <[email protected]> wrote: > Hi All, > > This appears to be a bug in IE, not prototype, as it is not applying > the class attribute using the specified 'className' property (http:// > msdn.microsoft.com/en-us/library/ms533560(VS.85).aspx), but using the > attribute name 'class' instead, so as a work around I have added this > around line 1809 in prototype.js: > > if (Prototype.Browser.IE && (parseFloat(navigator.appVersion.split > ("MSIE")[1]) >= 8.0) && (name == "className")) name='class';
Do not ever rely on browser sniffing. The "className" "issue" is fixed in a trunk with a proper feature test [1]. Ironically, the test still happens in a huge `Prototype.Browser.IE` branch and only tests for IE 7,8 differences. We'll take it out of there as soon as possible. Btw, as of today, all DOM tests fully pass on IE8. T.J., do you mind giving it a spin? [...] [1] http://github.com/sstephenson/prototype/commit/30c1935cdb6f3a8d850dab8b07a37918740233fb -- kangax --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
