[Webkit-unassigned] [Bug 210119] New: querySelector("#\u0000") should match an element with ID U+FFFD

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 7 09:24:53 PDT 2020


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

            Bug ID: 210119
           Summary: querySelector("#\u0000") should match an element with
                    ID U+FFFD
           Product: WebKit
           Version: Safari 13
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: d at domenic.me

Tested using the version of Safari deployed on wpt.fyi; I don't have a Mac available while working from home.

URL: http://wpt.live/dom/nodes/ParentNode-querySelector-escapes.html

Other browsers: Chrome fails, Firefox passes

Per spec, selectors are parsed with a preprocessing step that transforms U+0000 to U+FFFD. This does not seem to be implemented, at least in the case tested here.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200407/fdb28588/attachment-0001.htm>


More information about the webkit-unassigned mailing list