Bug 113400 - Restoring form doesn't restore second field for multiple field time input.
Summary: Restoring form doesn't restore second field for multiple field time input.
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 06:16 PDT by Keishi Hattori
Modified: 2013-04-03 00:46 PDT (History)
1 user (show)

See Also:


Attachments
test (930 bytes, text/html)
2013-03-27 06:18 PDT, Keishi Hattori
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keishi Hattori 2013-03-27 06:16:12 PDT
Restoring form doesn't restore second field for multiple field time input.

It is because DateTimeEditElement::setValueAsDateTimeFieldsState() only iterates through the existing fields.
Comment 1 Keishi Hattori 2013-03-27 06:18:11 PDT
Created attachment 195298 [details]
test
Comment 2 Keishi Hattori 2013-04-03 00:46:27 PDT
The restored second field might be read only which can prevent the user from setting their desired value.