- From: <bugzilla@jessica.w3.org>
- Date: Tue, 18 Nov 2014 12:36:55 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27344 --- Comment #9 from Philip Jägenstedt <philipj@opera.com> --- Yes, that's what the spec says :) Here's a test case: http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=3307 In Firefox and IE, the existing attribute is replaced even though the namespace doesn't match. In Blink, Presto and presumably WebKit, the attribute isn't replaced, resulting in two attributes. There are a few paths forward that I can see: 1. Blink/WebKit changes setAttributeNode() to ignore the namespace. (This seems a little silly if not needed for Web compat.) 2. Spec/Firefox/IE changes setAttributeNode() to be just like setAttributeNodeNS(). 3. 2 + remove setAttributeNodeNS() from spec and implementations I filed the bug with option 3 in mind. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Tuesday, 18 November 2014 12:36:57 UTC