[Webkit-unassigned] [Bug 169036] New: Add UI step-attribute support to input type time fields

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 1 07:39:27 PST 2017


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

            Bug ID: 169036
           Summary: Add UI step-attribute support to input type time
                    fields
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: macOS 10.12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: info at anselm-hannemann.com
                CC: cdumez at apple.com

While Safari reports support for the input type "time" form field and the step-attribute, the step-attribute’s behaviour is not reflected in the user interface.
According to the specification of the time type for the input element, the step-attribute allows developers to preset iteration-steps for valid values. This is implemented by Chrome as per specification, only showing hours and minutes when the steps attributes only allows minute-steps and also reflected in only allowing to increase/decrease or enter valid steps into the field.

Safari should comply with the specification here and provide users proper step-attribute support.

A demo is here, you can use Chrome to see the correct[1] implementation and Safari to see the current Safari implementation: https://jsbin.com/burewigije/edit?html,output.

----
[1] Addendum: Chrome reports the fields value as 8:00 instead of 8:00:00 if steps is set to a value > 60, which is wrong.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170301/70a6bbc4/attachment-0001.html>


More information about the webkit-unassigned mailing list