On Aug 30, 12:52 pm, "Brandon Aaron" <[EMAIL PROTECTED]> wrote:
> The example you posted is a very specific bug in Safari and running it for
> other browsers would be incorrect.

If the bug is that the original target of events in safari can be a
text node within an element rather than the element itself, then why
would it matter if you run it for other browsers?

In this case you are fixing a bug that happens to appear in one
browser, but why limit the fix to only that browser? What if another
browser based on Safari comes out but has a different user agent
string and isn't recognized by jQuery? Wouldn't you still want the bug
to be fixed? What harm would it cause to leave out the browser check?

This and a few other places seem like situations where the bug is
known to exist in only a single browser, so the fix is needlessly
targeted to only a specific browser using unnecessary browser
sniffing. Or are there other reasons that I'm not aware of?

Matt Kruse



Reply via email to