[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 13:29:42 PDT 2020


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

--- Comment #2 from Chris Dumez <cdumez at apple.com> ---
CSSTokenizer::CSSTokenizer(const String& string)
    : m_input(string)
{
    // According to the spec, we should perform preprocessing here.
    // See: http://dev.w3.org/csswg/css-syntax/#input-preprocessing
    //
    // However, we can skip this step since:
    // * We're using HTML spaces (which accept \r and \f as a valid white space)
    // * Do not count white spaces
    // * CSSTokenizerInputStream::nextInputChar() replaces NULLs for replacement characters


Clearly it is not 100% working though.

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


More information about the webkit-unassigned mailing list