Closed Bug 1484913 Opened 6 years ago Closed 6 years ago

Disabled inputs with type="number" can changed

Categories

(Core :: DOM: Events, defect)

60 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1461706

People

(Reporter: mikael.box, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20180621064021

Steps to reproduce:

<html>
<head>
<title>Fail</title>
<style>
   input[type="number"] {
       -moz-appearance: textfield;
   }
</style>
</head>
<body>
    <input type="number" value="123" disabled>
</body>
</html>





Actual results:

This html code is demonstrate this bug. Disabled input-field can mannually changed if I hide spin buttons with css. Try to change it. 



Expected results:

Without css all works normally. 
Firefox 54-59 works correctly with this css
Status: UNCONFIRMED → RESOLVED
Has STR: --- → yes
Closed: 6 years ago
Component: Untriaged → DOM: Events
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.