[Webkit-unassigned] [Bug 17403] WebKit Creates Invalid Xhtml Links with Ajax

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 21 19:27:18 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=17403





------- Comment #6 from cfis at savagexi.com  2008-02-21 19:27 PDT -------
DOM manipulation really isn't the best solution in this case because XHTML is
being returned from a server.  Thus its a whole lot easier to use
createContextualFragment - the alternative would be to use DOM Parser to first
parse the content, and then copy it over to the DOM.  But my guess is you'd run
into the same bug anyway.

I say that because we did try the trick of looping over all A elements that are
inserted and reset their href values.  It didn't work...the same issue occurs.

This really seems like a bug in webkit since inserting html/xhtml text into the
DOM works with every browser *except* Safari with xhtml (and obviously IE with
xhtml). 

Note that we use xhtml because mapbuzz is a mapping site, and we make heavy use
of SVG.  In addition, in some places we atom feeds into xhtml documents to
speed up some search results.  Thus we depend on XML namespaces (or IE's
proprietary solution of XML data islands).

Thanks for the comments, and we would of course be happy to test any patches.


-- 
Configure bugmail: http://bugs.webkit.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