This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26120 - Date/Month/Week inputs with non-integer step
Summary: Date/Month/Week inputs with non-integer step
Status: RESOLVED MOVED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-17 17:06 UTC by Scott Sheehan
Modified: 2016-04-27 21:48 UTC (History)
4 users (show)

See Also:


Attachments

Description Scott Sheehan 2014-06-17 17:06:01 UTC
The step attribute for <input type="Date/Month/Week"> says that "The step attribute is expressed in months" (or weeks or days). But it seems that the step value can be a floating point number. What should be done for non-integer steps for these controls? 

I suggest steps for these subtypes (date/month/week) be limited to integer values. Or rounded to integer values.
Comment 1 Travis Leithead [MSFT] 2016-04-27 21:48:34 UTC
HTML5.1 Bugzilla Bug Triage: Moved

I thought this had been addressed, but on closer inspection, filed: https://github.com/w3c/html/issues/281
to get some clarity.

If this resolution is not satisfactory, please copy the relevant bug details/proposal into a new issue at the W3C HTML5 Issue tracker: https://github.com/w3c/html/issues/new where it will be re-triaged. Thanks!