On Jan 31, 2006, at 11:15 AM, Beau Hartshorne wrote:
I see, Signal could be improved by defining a special IE-style
Event prototype for IE at load time instead of all the branching at
call time.
I don't mean to leave IE unsupported. I'm suggesting splitting all
of the IE hacks into their own file, and using IE's conditional
comments[0] to redefine a few functions for IE.
This would be a decent solution if Dojo's compressor supported
preservation of conditional comments. Right now it doesn't.
In some places you check for something like
(self.attributeArray.compliant). My concern (bet) is that IE7 may
assert that it is "compliant", but still screw it up.
compliant is the result of analyzing a DOM element for attributes
that shouldn't be there. IE has always defined default values for
every possible attribute, and I don't think they're going to change
that behavior. It's not technically broken, and they have lots of
real bugs to worry about :)
-bob