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

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Mar 1 11:07:38 PST 2006


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





------- Comment #2 from mitch.gart at cal.berkeley.edu  2006-03-01 11:07 PDT -------
There's a bug here somewhere but I wasn't able to get it to fail 
reliably for a simple case.  I can't put my finger on exactly what
the bug was.

     var link = document.createElement("a");
     link.name = link.innerHTML = childNodes[i].getAttribute("name");

fails, but

     var link = document.createElement("a");
     link.innerHTML = childNodes[i].getAttribute("name");
     link.name = link.innerHTML; 

works correctly.  I got the problem in my web application code fixed, 
and then spent a bunch of extra time trying to isolate the Safari bug, 
and couldn't.


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