[Webkit-unassigned] [Bug 120038] input[type=date] with invalid date should return empty string for value IDL attribute instead of the default value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 21 01:10:17 PDT 2022


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

Ahmad Saleem <zlip.792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlip.792 at gmail.com

--- Comment #1 from Ahmad Saleem <zlip.792 at gmail.com> ---
I can see that it is not applied:

https://github.com/WebKit/WebKit/blob/4cae97e20519714f2a1d4559ceec8c94d7eb2410/Source/WebCore/html/BaseDateAndTimeInputType.cpp#L230

___

Webkit GitHub Source:

return typeMismatchFor(proposedValue) ? String() : proposedValue;

___

Blink Chromium Patch Proposed:

return typeMismatchFor(proposedValue) ? emptyString() : proposedValue;

-- 
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/20220821/773a27ab/attachment.htm>


More information about the webkit-unassigned mailing list