Closed Bug 262834 Opened 20 years ago Closed 20 years ago

a readonly form field (text input) can be changed by safed form information

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 166211

People

(Reporter: jerolimov, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.7.3) Gecko/20040913 Firefox/0.10

please watch:
http://download.tarent.de/mozilla/readonly-editable.htm



Reproducible: Always
Steps to Reproduce:
1. check that the function "save form information" is enabled (tools > options >
privacy > safes form information)
2. type into a "normal" text-field und submit the form
3. make the text-field readonly
4. now make a double click on the readonly text-field
5. select your input (from step 2)
6. now the readonly field is changed...

If the input-field is disabled, you can NOT do this. I think it is wrong that
you can so change a text.
difference between disabled und readonly fields:
http://www.w3.org/TR/html4/interact/forms.html#h-17.12

disabled
    * Disabled controls do not receive focus.
    * Disabled controls are skipped in tabbing navigation.
    * Disabled controls cannot be successful.

readonly
    * Read-only elements receive focus but cannot be modified by the user.
    * Read-only elements are included in tabbing navigation.
    * Read-only elements may be successful.

*** This bug has been marked as a duplicate of 166211 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Component: HTML: Form Submission → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.