max=0 limit not being respected by spin buttons for input type=number
Reported by
sir.gall...@gmail.com,
Sep 20
|
||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 Steps to reproduce the problem: 1. In a HTML5 page create a form with an input type=number with a negative min value and zero max. 2. Use the spin buttons to change the value. 3. The lower limit is respected, but the upper limit is not What is the expected behavior? The value should stop at 0 What went wrong? The value continues to grow past 0 Did this work before? No Chrome version: 69.0.3497.100 Channel: stable OS Version: 10.0 Flash Version: If the max is changed to any number other than 0 (either negative or positive) the limit is respected. If the 0 is set in the min value the limit is respected. Only when the zero is in the max value that the limit is not respected. here is a sample control: <input type="number" id="ctrl1" name="somecontrol" min="-5" max="0">
,
Sep 21
Not reproducible with Chrome 69 on Windows. We can't increase the value from "0" by the upper spin button.
> <input type="number" id="ctrl1" name="somecontrol" min="-5" max="0">
Do you have any other code? can you reproduce with the following URL?
data:text/html,<input type="number" min="-5" max="0">
,
Sep 21
After some digging, I found that the bug was a side effect of a third-party control that was hijacking the behaviour and had an error in the js code. Without that the control works fine. The ticket can be closed.
,
Sep 21
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Sep 24
As per comment #3, closing the issue as wontFix. Thanks...!! |
||||
►
Sign in to add a comment |
||||
Comment 1 by susan.boorgula@chromium.org
, Sep 20