[Webkit-unassigned] [Bug 7518] New: attribute assignment not working in javascript
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Tue Feb 28 13:44:38 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=7518
Summary: attribute assignment not working in javascript
Product: WebKit
Version: 416.x
Platform: Macintosh
OS/Version: Mac OS X 10.4
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: JavaScript
AssignedTo: webkit-unassigned at opendarwin.org
ReportedBy: mitch.gart at cal.berkeley.edu
In this code
var link = document.createElement("a");
link.name = link.innerHTML = childNodes[i].getAttribute("name");
childNodes[i].getAttribute("name") returns a string that contains a Euro
char (0x20ac). What are the values of link.name and link.innerHTML after this
assignment? Link.innerHTML contains the correct string, and link.name
doesn't. The Euro has been replaced with a hex 80 character.
It has nothing to do with the double assignment or the order, it's just
that one attribute seems to accept the Euro and the other doesn't.
The code as written is fine in IE and Firefox but not Safari.
--
Configure bugmail: http://bugzilla.opendarwin.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