[Webkit-unassigned] [Bug 22958] Attribute namespaces are serialized as if they were element ones

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jun 15 14:49:29 PDT 2013


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


Alex Milowski <alex at milowski.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex at milowski.com




--- Comment #4 from Alex Milowski <alex at milowski.com>  2013-06-15 14:48:06 PST ---
(In reply to comment #3)

> 
> Does this workaround and the specification mean this isn't a bug any more?

This is still a bug.  The DOM API allows for the case where the prefix is not specified.  In such cases, the serializer needs to generate a prefix.

In my testing, the serializer clearly assumes the prefix property will be present.  The extra default namespace comes from the attempt to declare the prefix used for the namespace attribute.  When the prefix is not specified and there needs to be a prefix, the wrong thing happens.

I have a simple example the demonstrates the problem that I will attach.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list