| Index: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| index a98a6bdbeb2108c8a2e6c1ba092564b68c7ba93d..fd669944760b2855fa2fba1fd1c029b203fcfe0e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| @@ -1524,7 +1524,11 @@ WebInspector.bindInput = function(input, apply, validate, numeric)
|
| var valid = validate(value);
|
| input.classList.toggle("error-input", !valid);
|
| input.value = value;
|
| - input.setSelectionRange(value.length, value.length);
|
| +
|
| + // Selection range operations are not supported by type "number" inputs. This browser
|
| + // behavior is detailed by the WHATWG forms spec.
|
| + if (input.type !== "number")
|
| + input.setSelectionRange(value.length, value.length);
|
| }
|
|
|
| return setValue;
|
|
|