[Webkit-unassigned] [Bug 7518] attribute assignment not working in javascript

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Mar 2 07:05:15 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7518





------- Comment #4 from mitch.gart at cal.berkeley.edu  2006-03-02 07:05 PDT -------
link.name = link.innerHTML = value2Html(childNodes[i].getAttribute("name"));
console.log("attr: " + escape(childNodes[i].getAttribute("name")));
console.log("innerHTML: " + escape(link.innerHTML));
console.log("name: " + escape(link.name));

prints

attr: Euro%80
innerHTML: Euro%U20AC
name: Euro%80

The value that I put in the attribute was Euro€ or Euro\u20AC

This is so weird.  It seems like the double assignment isn't quite working,
only I wrote a little stand-alone javascript program and double assignments
seem to work fine.  I can't make up a mental model of why this is failing.


-- 
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