[Webkit-unassigned] [Bug 17164] REGRESSION: JavaScript pop-up menu appears at wrong location when hovering image at http://news.chinatimes.com/
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Feb 3 20:34:51 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=17164
brkemper at comcast.net changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |brkemper at comcast.net
------- Comment #9 from brkemper at comcast.net 2008-02-03 20:34 PDT -------
I just ran into this same thing (as comment #7) in Version 3.0.4 (523.12.2).
Given a form named "pops" and the name of an input of that form assigned to the
variable "which", the following does not work (but should):
var popUpText = "";
popUpText += eval("document.pops." + which + ".value");
alert(popUpText)
However, the following modification does work:
var popUpText = "";
var thisthing = eval("document.pops." + which + ".value")
popUpText += thisthing;
alert(popUpText)
This even simpler modification also works (but limits its use):
var popUpText = eval("document.pops." + which + ".value")
alert(popUpText)
So, it seems thatthis version of Webkit does not like combining "+=" with
"eval".
The Safari 3.04 does not have this problem, and neither did version 2.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list