Open Bug 1943000 Opened 1 year ago Updated 1 month ago

Reloading a testcase with time/month/week input-elements does not reset the number to default (Chrome does a reset)

Categories

(Core :: DOM: Forms, defect)

defect

Tracking

()

People

(Reporter: mayankleoboy1, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file time week month.html

Open the attached testcase
Input 50
Generate the elements
Reload the page by clicking on the reload button in the browsers toolbar

AR: The number of form elements remian 50
ER: Not so. Chrome resets it to 3

See Also: → 46845

I think this is intentional fwiw.

Component: Layout: Form Controls → DOM: Forms

I wonder if we've made a statement explaining why form restoration works like this...Perhaps it's just some folks opinion 24 years ago, and people have different opinions...

I see we got lots of bug reports complaining about it, but I can also foresee others will start to complain if we change this. Maybe a pref can be introduced to configure this?

Severity: -- → S3

Yes, someone certainly should explain why form restoration works like this. Why would someone reload a page if not to restore it to its original appearance?

See Also: → 1943230
Blocks: 1980560
See Also: 1943230

This is a bug.

I actually came here having read 46845 (which I found having spent hours debugging a website which was fine, it was this 'feature' that was the problem).
It's not a feature, it's a bug, and it should have been fixed 25 years ago.

I cannot fathom how a bug has been around for quarter of a century.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: