<?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>27639</bug_id>
          
          <creation_ts>2014-12-17 19:30:17 +0000</creation_ts>
          <short_desc>Value sanitization scheme is untenable.</short_desc>
          <delta_ts>2015-08-13 07:20:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#number-state-(type=number)</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>116428</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-12-17 19:30:17 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/forms.html#number-state-(type=number)
Multipage: https://html.spec.whatwg.org/multipage/#number-state-(type=number)
Complete: https://html.spec.whatwg.org/#number-state-(type=number)
Referrer: https://html.spec.whatwg.org/multipage/states-of-the-type-attribute.html

Comment:
Value sanitization scheme is untenable.

Consider following:

&lt;FORM ...&gt;
&lt;INPUT NAME=id TYPE=number&gt;
&lt;INPUT TYPE=SUBMIT&gt;
&lt;/FORM&gt;

Q. What happens when user sets value and clicks submit button?

A. Text field &quot;appears&quot; to be blanked concurrently with submit click, user
receives no 
feedback they made a mistake and empty data submitted.

Why does out of range, failure to match pattern or type=email 
afford usable feedback to users?


Posted from: 50.181.209.248
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116447</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-12-18 01:15:28 +0000</bug_when>
    <thetext>I don&apos;t believe what you describe is what the spec requires.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>