Maciej Stachowiak wrote: > > On Sep 30, 2009, at 4:30 PM, Philip Taylor wrote: > >> >> This claim does not match my experience. For example, >> http://philip.html5.org/misc/xmlns-dom.html has the input: >> >> <html xmlns:foo="http://foo.example.com/" >> xmlns="http://www.w3.org/1999/xhtml"> >> <body><foo:bar></foo:bar>... >> >> and then prints some DOM properties. > > This is good data. Can you do the same experiment for an namespaced > attribute? http://philip.html5.org/misc/xmlns-attr-dom.html Proposal says: name: ??? nodeName: foo:bar localName: bar prefix: foo namespaceURI: http://foo.example.com/ IE8 (and compat and quirks) says: name: foo:bar nodeName: foo:bar localName: undefined prefix: undefined namespaceURI: undefined Everybody else says: name: foo:bar nodeName: foo:bar localName: foo:bar prefix: null namespaceURI: null Everybody in XHTML (http://philip.html5.org/misc/xmlns-attr-dom.xhtml) says: name: foo:bar nodeName: foo:bar localName: bar prefix: foo namespaceURI: http://foo.example.com/ -- Philip Taylor pjt47@cam.ac.ukReceived on Thursday, 1 October 2009 00:25:36 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:40:44 GMT