Closed Bug 1350849 Opened 7 years ago Closed 7 years ago

[DateTimePicker] The Preset Value is not displayed after reloading the page

Categories

(Core :: Layout: Form Controls, defect)

55 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox55 --- affected

People

(Reporter: roxana.leitan, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file Preset Value.html
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0
Build ID: 20170326030204

[Affected versions]:
Nightly 55.0a1

[Affected platforms]:
All platforms: Windows 10 x 64, Mac OS X 10.10

[Steps to reproduce]:
1.Launch Nightly 55.0a1 with a new profile
2.Set "dom.forms.datetime" and "dom.forms.datetime.timepicker" pref to True in about:config
3.Open attached html
4.Choose a different date
5.Reload current page (Ctrl+R)

[Expected result]:
The page should be reloaded and in the input box should be displayed the initial date(the preset value).

[Actual result]:
The page is reloaded and in the input box is displayed the value selected at step 4.

[Note]:
This is not reproducible if the page is reloaded using Ctrl+Shift+R.
I think this is the expected behavior for Firefox. We tend to preserve all user-visible form state as much as possible.
Closing as this is the expected behavior.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: