[Bug 16563] attributeFilter should apply only to non-namespaced attributes

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16563

--- Comment #9 from Olli Pettay <Olli.Pettay@gmail.com> 2012-04-07 08:17:10 UTC ---
Both current implementations work on localName - if my test is correct and does 
the right thing also in webkit - and I actually ended up adding this
namespace handling limitation to gecko implementation, since I thought this 
wouldn't be controversial at all.


(In reply to comment #8)
> Right, but they would not get tripped up if you do not observe the attribute's
> local name, but its name. And given we have a few "namespaced attributes" in
> HTML where the attribute's name is fixed (e.g. xlink:href, otherwise it would
> not work with the HTML parser), that seems more useful to me.
How so? You can add xlink:href to for example svg using
setAttributeNS using no namespace prefix.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Saturday, 7 April 2012 08:17:14 UTC