XSLTProcessor.transformToFragment creates an extra not defined TEXT_NODE at the end. All other browsers dont (IE / Fx / Op) Testcase:
Created attachment 17154 [details] Testcase
Filed <http://bugzilla.gnome.org/show_bug.cgi?id=495668>. I think we can implement a simple workaround, but I'd like to wait for feedback from libxslt developers a little.
Created attachment 17455 [details] proposed fix I haven't heard from libxslt developers yet.
Comment on attachment 17455 [details] proposed fix r=me, we shouldn't wait for the libxslt bug to be fixed, I think.
Committed revision 28014.
Mass moving XML DOM bugs to the "DOM" Component.