In input[type=date] with multiple fields UI, we allow users to set day-of-month value to 1-31 regardless of the month value. So users can construct an invalid date such as "2012-02-31". We should sanitize such values.
Created attachment 167701 [details] Patch
Comment on attachment 167701 [details] Patch Could you make the test somehow more readable? It's full of boilerplate and it's hard to read these key sequences to see what should happen.
Comment on attachment 167701 [details] Patch Attachment 167701 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/14214637 New failing tests: fast/forms/month-multiple-fields/month-multiple-fields-keyboard-events.html
(In reply to comment #2) > (From update of attachment 167701 [details]) > Could you make the test somehow more readable? It's full of boilerplate and it's hard to read these key sequences to see what should happen. It's hard to improve the test result readability. So I'll add comments to the .html.
Created attachment 167717 [details] Patch 2 - Added comments - Update month-multiple-fields-keybaord-events.html
Comment on attachment 167717 [details] Patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=167717&action=review > LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events.html:82 > +keyDown('downArrow'); // -> [09]/29/2012 [08]?
Comment on attachment 167717 [details] Patch 2 View in context: https://bugs.webkit.org/attachment.cgi?id=167717&action=review >> LayoutTests/fast/forms/date-multiple-fields/date-multiple-fields-keyboard-events.html:82 >> +keyDown('downArrow'); // -> [09]/29/2012 > > [08]? You're right.
Committed r130835: <http://trac.webkit.org/changeset/130835>