Closed
Bug 1009435
Opened 11 years ago
Closed 11 years ago
Readonly <input type="number" /> fields can still be changed via the step buttons
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 982189
People
(Reporter: adam, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0 (Beta/Release)
Build ID: 20140506152807
Steps to reproduce:
Create a simple number input with the readonly attribute such as:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
</head>
<body>
<input type="number" readonly="readonly" />
</body>
</html>
Then open that page in Firefox 29.0.1
Actual results:
As expected I can't type within this field as it is readonly. However, the up and down step buttons still appear and when clicked they do change the value of the field.
Expected results:
Either the step buttons should not show at all, or they should show (to denote that it is a number field) but not change the value.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•