- From: <bugzilla@jessica.w3.org>
- Date: Thu, 14 Apr 2016 16:30:07 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27456 --- Comment #5 from Arkadiusz Michalski (Spirit) <crimsteam@gmail.com> --- Aryeh Gregor check this: <script> var newDiv = document.createElementNS("www.test.com", "ns:div"); var newTest = document.createElementNS("www.test.com", "test"); var newP = document.createElement("p"); newDiv.appendChild(newTest); newDiv.appendChild(newP); console.log(newDiv.namespaceURI + " | " + newDiv.prefix); // www.test.pl | ns console.log(newTest.namespaceURI + " | " + newTest.prefix); // www.test.pl | null console.log(newP.namespaceURI + " | " + newP.prefix); // http://www.w3.org/1999/xhtml | null console.log(newDiv.lookupPrefix("www.test.com")); // ns console.log(newTest.lookupPrefix("www.test.com")); // ns console.log(newP.lookupPrefix("www.test.com")); // ns </script> Chrome: ns, ns, ns << per DOM this looks correct Firefox: null, null, null IE and Presto: ns, null, ns "This suggests that the current spec is probably good enough to implement, given the marginal use of the feature." << yep, if finally some engine implements all of these guidelines, then changes in the spec will not necessarily. -- You are receiving this mail because: You are the QA Contact for the bug.
Received on Thursday, 14 April 2016 16:30:11 UTC