Closed
Bug 7258
Opened 26 years ago
Closed 22 years ago
readonly file input is not readonly
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
INVALID
Future
People
(Reporter: Brade, Assigned: rods)
References
Details
(Keywords: testcase, Whiteboard: [HTML4-17.4][HTML4-#adef-readonly])
Attachments
(4 files)
similar to Mac bug #7124; possibly related to bug #7127 having to do with labels
Given a disabled editfield (html:input type="text" or type="password"), the user
can click on it to activate it. The user should not be able to activate an
editfield by clicking on it.
Also, the html:input type="file" controls and the html:select control aren't
disabled at all.
Updated•26 years ago
|
Assignee: trudelle → hyatt
Comment 1•26 years ago
|
||
possibly a XUL problem, reassigning to hyatt
Updated•26 years ago
|
Status: NEW → ASSIGNED
Comment 2•26 years ago
|
||
(1) Please attach a test case.
(2) Please verify that the problem is unique to XUL (try it in HTML and
see if it works).
Reporter | ||
Comment 3•26 years ago
|
||
Comment 4•26 years ago
|
||
Does this occur in HTML? This is only my bug if it is a XUL problem.
Otherwise it is a bug in the form elements themselves and should be
assigned to karnaze.
Reporter | ||
Comment 5•26 years ago
|
||
I don't have an html example but I think this is probably karnaze's bug.
Reporter | ||
Updated•25 years ago
|
Assignee: hyatt → karnaze
Status: ASSIGNED → NEW
Reporter | ||
Comment 6•25 years ago
|
||
reassign to karnaze
I'm not positive this can be reproduced on Windows in html but I'll test there to
be sure.
Reporter | ||
Comment 7•25 years ago
|
||
Reporter | ||
Comment 8•25 years ago
|
||
Updated•25 years ago
|
Assignee: karnaze → pollmann
Summary: problems with disabled form controls
Comment 9•25 years ago
|
||
Reassigning to Eric.
Reporter | ||
Comment 10•25 years ago
|
||
in an html file, <textarea> also does not disable/enable (user can click in it
and then type)
Updated•25 years ago
|
Target Milestone: M13
Updated•25 years ago
|
Whiteboard: [TESTCASE]
Target Milestone: M13 → M15
Comment 11•25 years ago
|
||
Moving to M15. Being able to use a disabled control is bad but doesn't prevent
the user from making use of the form.
Comment 12•25 years ago
|
||
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL. XUL
component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Comment 13•25 years ago
|
||
Bulk moving [testcase] code to new testcase keyword. Sorry for the spam!
Keywords: testcase
Comment 16•24 years ago
|
||
*** Bug 7124 has been marked as a duplicate of this bug. ***
Comment 17•24 years ago
|
||
I'll run through my DOM tests again sometime in the next few weeks to see if
there is any low hanging fruit like this around still.
Note: also check readonly! (see above dup)
Summary: problems with disabled form controls → disabled/readonly form controls are not disabled/readonly
Comment 18•24 years ago
|
||
These work for all inputs except readonly for the file input - still allows
typing. The file input is less common than most, and this seems like a minor
bug, moving to Future.
Summary: disabled/readonly form controls are not disabled/readonly → readonly file input is not readonly
Target Milestone: M18 → Future
Comment 19•24 years ago
|
||
cc mstoltz in case he knows why...
Comment 20•24 years ago
|
||
removing myself from CC list.
Comment 21•23 years ago
|
||
<input readonly> is also not read-only when type="radio" or type="checkbox".
Comment 22•23 years ago
|
||
Bulk reassigning form bugs to Alex
Assignee: pollmann → alexsavulov
Status: ASSIGNED → NEW
Updated•23 years ago
|
Summary: readonly file input is not readonly → readonly file input is not readonly [form]
Updated•23 years ago
|
Summary: readonly file input is not readonly [form] → readonly file input is not readonly [form sub]
Comment 23•23 years ago
|
||
-> over to owner
Assignee: alexsavulov → hyatt
QA Contact: gerardok → jrgm
Summary: readonly file input is not readonly [form sub] → readonly file input is not readonly
Comment 24•23 years ago
|
||
Ah, yes, the famous XUL 'file input' widget. Oh, wait, XUL doesn't have one.
-> alexsavulov, HTML Form Controls
according to pollmann's last comment, this is only about
<input type='file' readonly>, which is not readonly in current trunk builds
Assignee: hyatt → alexsavulov
Component: XP Toolkit/Widgets: XUL → HTML Form Controls
QA Contact: jrgm → madhur
Whiteboard: [TESTCASE]
Comment 26•23 years ago
|
||
The notes on this bug seem to indicate that it is currently only happening when
input type="file" readonly is used, but this testcase shows it is also
happening for input type="file" disabled. You are not able to select the input
field or the browse button by mouse, but you can select browse by using the tab
key and the enter key, and if you select a file through browse its path is
placed in the input field. Using build 2002012803, seeing this on all os, pc
and mac.
Assignee | ||
Updated•23 years ago
|
Priority: P3 → --
Updated•23 years ago
|
Whiteboard: [HTML4-17.4][HTML4-#adef-readonly]
Comment 27•22 years ago
|
||
The disabled problem is bug 92858 (soon to be fixed). The readonly problem, the
focus of this bug, is invalid since according to the spec readonly is only
supported on input type="text" and input type="file".
http://www.w3.org/TR/2001/WD-DOM-Level-2-HTML-20011210/html.html#ID-88461592
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Comment 28•22 years ago
|
||
... is only supported on input type="text" and input type="file"....
have to be:
... is only supported on input type="text" and input type="password"....
Comment 29•19 years ago
|
||
Please, could somebody reopen this bug?
The HTML specification states that only text and password fields support the readonly attribute. That's OK.
But the reason to not include file fields in this list is that the specification does not state how to implement this field type. If a browser implements it as a simple button, with no associated text field, there is no sense in a readonly attribute.
A bit of common sense could be applied here. If file fields are implemented as "extended text fields", at least from a final user point of view, the readonly attribute should be supported.
Comment 30•19 years ago
|
||
It's not an enabled text field on trunk.
You need to log in
before you can comment on or make changes to this bug.
Description
•