<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>8436</bug_id>
          
          <creation_ts>2009-12-04 03:23:24 +0000</creation_ts>
          <short_desc>&quot;granularity that is expected (and required) of the value, by limiting the allowed values&quot; -- granularity requirments may often be different for validation versus usability/ui-control purposes. There should be a &apos;step&apos; for possible GUI controls and an oth</short_desc>
          <delta_ts>2010-10-04 13:58:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#the-step-attribute</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>LC</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>whatwg2k101.d.xenoantares</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>29925</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2009-12-04 03:23:24 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#the-step-attribute

Comment:
&quot;granularity that is expected (and required) of the value, by limiting the allowed values&quot; -- granularity requirments may often be different for validation versus usability/ui-control purposes. There should be a &apos;step&apos; for possible GUI controls and an other &apos;granularity&apos; for validation purposes.

Posted from: 91.55.215.102</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30572</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-01-06 04:47:34 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Did Not Understand Request
Change Description: no spec change
Rationale: Could you describe the use case for this? Why would the UI allow more or less granularity than the submission format includes? Surely throwing away user data is a bad idea, and if the user didn&apos;t provide the data, we can&apos;t submit it. Doesn&apos;t this argue that they should be the same?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30850</commentid>
    <comment_count>2</comment_count>
    <who name="x.a">whatwg2k101.d.xenoantares</who>
    <bug_when>2010-01-10 15:27:05 +0000</bug_when>
    <thetext>Appreciate your comment.

Imagine using an &apos;input&apos; with the &apos;type&apos; attribute in &apos;Number&apos; state in order to get a user input eg regarding the minutes part of a geographical location.

You may want to allow 10th or even 100th, so you specify attributes &apos;min=&quot;0&quot;&apos;, &apos;max=&quot;59.99&quot;&apos; and &apos;step=&quot;0.01&quot;&apos;, as the default step (and step scaling) are standardized to be 1.


So far, so fine. Maybe the issue is digging to deep into spheres of the UA and their decisions regarding an actual UI implementation. But you surely don&apos;t want to have a user have to click 100 times to adjust the entire value by just one minute!

It would be reasonable to use a &apos;granularity&apos; for the UI controls to consider different from the &apos;granularity&apos; used in the validation process. (In this example it might be a 1 minute &apos;controlstep&apos;, so to cover any case the UA/UI might appreciate a hint or a binding attribute value.) To exhaust the &apos;granularity&apos; granted in the validation process, the user would have to type a value in.


As you point out, that only makes sense, if the &apos;controlstep&apos; was coarser than the &apos;(validation)step&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31567</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-02-06 00:34:53 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale:

In most user interfaces, the user can just type in the new value, they don&apos;t have to use the button. But in general, I think this is a UI issue  there&apos;s no reason the UI&apos;s buttons have to follow step=&quot;&quot;&apos;s value, they can be adjusted dynamically or be based on whether the user is holding a shift key, or whatnot. So I think we should let the browsers figure this out for now. If it turns out they need something, then we can add it later.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>