W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2009

Re: [selectors-api] Test Suite Missing tests for Namespace Selectors

From: Alexey Proskuryakov <ap@webkit.org>
Date: Thu, 12 Mar 2009 17:47:53 +0300
Cc: public-webapps <public-webapps@w3.org>
Message-Id: <D09DE11D-15E6-4B4C-94D5-CE199BE56F51@webkit.org>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>

12.03.2009, Χ 17:19, Lachlan Hunt ΞΑΠΙΣΑΜ(Α):

> WebKit has a bug with the "|foo" selector.
>
> http://software.hixie.ch/utilities/js/live-dom-viewer/saved/28
>
> Opera and Firefox pass


This is actually a difference in createElementNS(null, "p") vs.  
createElementNS("", "p") behavior. I don't know whose bug it is, but  
in Firefox and Opera, empty and null namespace arguments both result  
in null namespace for the created element.

When createElement(null, "p") is used, this test passes in WebKit, too.

- WBR, Alexey Proskuryakov
Received on Thursday, 12 March 2009 14:48:30 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:30 GMT