[Webkit-unassigned] [Bug 83446] New: Broken handling of pseudo-elements in selectors API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 8 18:25:24 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=83446

           Summary: Broken handling of pseudo-elements in selectors API
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bzbarsky at mit.edu


The attached testcase should say "PASS".  In WebKit it says "FAIL".

Specifically, there are no elements in the document which match the given selector, but the WebKit implementation of Selectors API seems to ignore the pseudo-element altogether and return a match set containing the root <html> element.

Note that the selectors API has an explicit informative note about this, in addition to the normative text that says this selector should lead to an empty list:

  Authors are advised that while the use of pseudo-elements in selectors is permitted, they will
  not match any elements in the document, and thus would not result in any elements being returned.

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



More information about the webkit-unassigned mailing list