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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 7 12:06:35 PDT 2020


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

Chris Dumez <cdumez at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://drafts.csswg.org/cs
                   |                            |s-syntax/#input-preprocessi
                   |                            |ng
                 CC|                            |cdumez at apple.com

--- Comment #1 from Chris Dumez <cdumez at apple.com> ---
Looking at our code it looks like we indeed have no preprocessing stage and our CSSParser implementation tries to deal with this fact as a result. E.g.:


static bool isNewLine(UChar cc)
{
    // We check \r and \f here, since we have no preprocessing stage
    return (cc == '\r' || cc == '\n' || cc == '\f');
}

-- 
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/dd64e725/attachment.htm>


More information about the webkit-unassigned mailing list