Closed
Bug 259969
Opened 20 years ago
Closed 20 years ago
Readonly checkbox and radiobuttons can be changed
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
People
(Reporter: mattias.waldau, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910
A form element like
<input checked readonly="true" name="pA1A" id="pA1A" type="checkbox" />
can be changed. Readonly only works for input of type text and textarea.
Accoring to the HTML 4.01 Specification:
"The following elements support the readonly attribute: INPUT and TEXTAREA."
So readonly should apply to checkboxes and radio buttons too.
(IE also doesn't prevent readonly checkboxes and radion buttons to be changed.
However, HTML 4.01 doesn't describe how to make <select readonly.)
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Actual Results:
Click on the checkbox and it will change
Expected Results:
Ignored the click
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 88512 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•