Ticket #2 (closed task: wontfix)

Opened 5 years ago

Last modified 3 years ago

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

Changed 3 years ago by bob@…

  • status changed from new to closed
  • resolution set to wontfix

Changed 3 years ago by anonymous

  • severity changed from normal to blocker
  • cc painting added
  • component changed from component1 to component2
  • summary changed from toHTML should emit syntactically valid HTML to painting
  • priority changed from normal to low
  • keywords painting added; MochiKit.DOM removed
  • type changed from defect to task
Note: See TracTickets for help on using tickets.