[Webkit-unassigned] [Bug 223128] date/time input min and max attribute are ignored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 12 20:25:29 PST 2021


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

--- Comment #1 from Aditya Keerthi <akeerthi at apple.com> ---
Thanks for the report!

I agree that keyboard arrows should better respect the min/max attributes.

I also agree that the calendar UI should give an indication of the min/max dates. Note that the calendar is a standard system view, so the fix cannot be made in WebKit alone. I will look into what can be done here.

However, I don't understand exactly what you mean by "submitted form data ignores the attributes entirely". I've linked a test case below where the attributes are validated upon submission. Attempting to submit a date outside the min/max range will present a validation message, and :invalid CSS rules are applied as expected.

Test case: https://jsfiddle.net/8Ljh0npf/

-- 
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/20210313/49d1c1fa/attachment.htm>


More information about the webkit-unassigned mailing list