<input type="number"> not working correctly

Fixed Issue #110895

Details

Created
Apr 27, 2014
Privacy
This issue is public.
Found in build #
0.0011
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

URhttp://jsfiddle.net/mq0opsc8/](http://jsfiddle.net/mq0opsc8/)[http://jsfiddle.net/mq0opsc8/](http://jsfiddle.net/mq0opsc8/)

URL:

Repro Steps:

==============

enter html <input type="number"> and fill in “12foo” or “foo12”

Expected Results:

==============

remove the text if the value isn’t a number

Actual Results:

==============

 

 

Alternate min_max_step repro:

This shows that IE doesn’t throw out invalid min/max/step correctly while other browsers do (and replace them with the defaults).

 

  1. Open attached file, min_max_step.htm

  2. For the input type=number field, enter 4, 18, and 50.  Expected: numbers are valid (no blue outline).  Actual: numbers are invalid (blue outline).

  3. For the input type=range, drag the slider all the way left/right; and observe the smallest delta you can change it by as you move the mouse.  (In Chrome/Firefox there is no “value” tooltip so click the “alert range” button to see the value.)  Expected: left/right are 0/100 and the step should be 1.  Actual: left/right are 16/40 and the step is 4.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “IPBS P.”

      Changed Assigned To from “IPBS P.” to “Bruce M.”

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Sermet I.”

      Changed Assigned To to “Amit J.”

      Changed Assigned To to “Rossen A.”

      Changed Steps to Reproduce

      Changed Assigned To from “Rossen A.” to “Jonathan H.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “In progress”

      Changed Steps to Reproduce

      Changed Status from “In progress” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Status from “In progress” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Assigned To from “Jonathan H.” to “IPBS P.”

      Changed Status from “In progress” to “Fixed”

      Changed Assigned To from “IPBS P.” to “Rossen A.”

    • type="number" does absolutely nothing in Edge

    You need to sign in to your Microsoft account to add a comment.

    Sign in