[Webkit-unassigned] [Bug 200230] Second call to setAttributeNS creates non-prefixed attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 30 11:02:39 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=200230

--- Comment #7 from ian at ianbellomy.com ---
(In reply to Chris Dumez from comment #6)
> XMLSerializer.serializeToString() returns the correct output:
> "<g xmlns=\"http://www.w3.org/2000/svg\" ex:attr=\"3\"
> xmlns:ex=\"http://example.com\"/>"
> 
> g.outerHTML looks OK to:
> "<g attr=\"3\"></g>"
> 
> I am not sure how Web Inspector is coming up with <g ex:attr="2"
> attr="3"></g>.

Good to know about XMLSerializer behavior.
In Chrome and FF though g.outerHTML yields: <g ex:attr="1"></g>

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190730/9917646b/attachment.html>


More information about the webkit-unassigned mailing list