Ticket #2 (closed task: wontfix)
painting
| Reported by: | bob | Owned by: | bob |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | component2 | Version: | |
| Severity: | blocker | Keywords: | painting |
| Cc: | painting |
Description
[mochikit Unit testing and innerHTML]
Since the DOM manipulation wasn't working I used toHTML() to convert the node to a string which I then set the innerHTML to. This works well, except in IE it causes syntax errors on the line elem.innerHTML = newHTML; but of course there are no line numbers or anything else useful to help me debug it! Anyone care to hazard a guess why?
I replaced the use of toHTML() with the Rico code which uses node.xml (IE) or XmlSerializer? (NN,...) and it is working perfectly but this seems less than an ideal x-browser solution.
Change History
Note: See
TracTickets for help on using
tickets.
