Closed Bug 207194 Opened 21 years ago Closed 21 years ago

readonly checkboxes can still be modified

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 88512

People

(Reporter: berend, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030507

According to the specs (html 4.01, 17.12.2):

  When set for a form control, this boolean attribute prohibits changes to
  the control.

  ...

  The following elements support the readonly attribute: INPUT and TEXTAREA.


Reproducible: Always

Steps to Reproduce:
1. Load checkbox.html
2. Click on the checkboxes.

Actual Results:  
Only disabled checkbox cannot be changed.

Expected Results:  
Readonly checkboxes should not be modifiable.

Workaround: make the checkbox disabled.

But it still violates the specs.
Attached file Various kinds of checkboxes (obsolete) —
Attachment #124252 - Attachment is obsolete: true
.
Assignee: dveditz → form
Component: Form Manager → Layout: Form Controls
QA Contact: tpreston → desale

*** This bug has been marked as a duplicate of 88512 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: