[Webkit-unassigned] [Bug 250535] Parsing input type=number should skip spaces

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 2 03:32:15 PDT 2023


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

Ahmad Saleem <ahmad.saleem792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |annevk at annevk.nl

--- Comment #5 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Changing to:

auto input = localized.removeCharacters([](auto character) {
        return isUnicodeCompatibleASCIIWhitespace(character);
    });

Fixes this bug and make us pass this test case.

@Anne - any input before I do PR?

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


More information about the webkit-unassigned mailing list