<input type=time> does not expose partial values during input
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: xuerian, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0
Steps to reproduce:
Create <input type=time>
Attempt to access .value (or any other documented property) while a partial value is entered
Actual results:
Partial value is not exposed
Expected results:
Partial value should be exposed
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Form Controls' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
I think this is per spec:
User agents must not allow the user to set the value to a non-empty string that is not a valid time string. If the user agent provides a user interface for selecting a time, then the value must be set to a valid time string representing the user's selection.
From https://html.spec.whatwg.org/#time-state-(type=time)
Other browsers also match this behavior afaict.
Description
•