[Webkit-unassigned] [Bug 19928] New: querySelectorAll handling of namespaces poisons the functionality

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 7 09:59:31 PDT 2008


           Summary: querySelectorAll handling of namespaces poisons the
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bzbarsky at mit.edu

As far as I can tell, there is no exception thrown when CSS3 Namespaces syntax
is used in the string passed to querySelectorAll, and at the same time the
second argument (the NSResolver) is completely ignored.

The latter means the selector has no way to work correctly.

The former means that the page can't detect this.

I would have expected either correct use of the NSResolver or a SYNTAX_ERR or
NAMESPACE_ERR on the attempt to use namespace selectors if they're not
supported, so that pages can fallback as needed.

As currently implemented this makes it easy for pages to start relying on the
incorrect behavior, causing problems for other UAs.

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list