Since we're trying to get rid of NodeImpl::toString, we should use createMarkup in XMLSerializer
Created attachment 5375 [details] Fix some bugs in createMarkup, and make xmlserializer use it
Comment on attachment 5375 [details] Fix some bugs in createMarkup, and make xmlserializer use it We talked about this on irc. You were going to rename escapeHTML to something like escapeTextForMarkup when landing. Also, I'm not 100% convinced that we really have enough XMLSerializer tests to know that this change won't break anything. Finally, this might have changed one more test case xsltprocessor.html which should be testing for a document fragment containing only a text node (6180 I think?). Assuming you feel the test cases are sufficent, r=me. Thanks for another great patch!
Mass moving XML DOM bugs to the "DOM" Component.