I have in my html a variable named foo.
In my html, I have a div element named foo.
Actual result : foo gets defined to the div element foo automatically.
Created attachment 19918 [details]
Reduction for ticket
simple test case. If the bug is present, the alert displays the dom node, otherwise it displays a message.
You've marked this as a regression: what is it a regression from?
Behaves correctly in Safari 3.0.4
This may have been an intentional change in behaviour.
IE7, Firefox2, and Opera 9 all disagree with Safari's behavior.