[Webkit-unassigned] [Bug 106456] New: <input type='date'> rounds the step attribute for stepUp() and stepDown()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 9 07:27:18 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=106456

           Summary: <input type='date'> rounds the step attribute for
                    stepUp() and stepDown()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mounir at lamouri.fr


Created an attachment (id=181923)
 --> (https://bugs.webkit.org/attachment.cgi?id=181923&action=review)
test case

<input type='date'> rounds @step for stepUp() and stepDown() and validity. It seems that in-page UI simply ignores the value.

STEPS TO REPRODUCE:
- create a <input type='date' value='2013-01-01' step='1.5'>
- call stepUp()

ACTUAL RESULT:
- new value is 2013-01-03 (1.5 rounds to 2.0)

EXPECTED RESULT:
- new value is 2013-01-04

See the test case.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list