Open
Bug 183776
Opened 23 years ago
Updated 3 years ago
multiple textboxes, setAttribute("value", xxx) causes elements to be disabled until a reflow
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
NEW
People
(Reporter: sspitzer, Unassigned)
References
Details
fix for #157210 caused bug #179412
here's some background:
in mozilla mail, in the message search dialog, we have a xbl widget searchvalue
(see mailWidgets.xml)
it has two textboxes.
in the xbl widget ctor, we were doing .setAttribute("value") on the second one.
so when the search dialog comes up, certain UI elements were disabled.
(to enable them, you could resize, which probably causes a reflow which fixes
the problem.)
the two text boxes and the .setAttribute() along with the change for #157210
makes it so on linux, we appear to not be doing a reflow where we were before
(and note, win32 and mac were ok, they might have extra reflows caused by
something else, so the problem was hidden.)
I fixed the bug by switching from .setAttribute("value",xxx) to .value = xxx
but I worry that:
1) there's a real bug here
2) it will pop up again (or it's already somewhere else in the app)
Comment 1•23 years ago
|
||
Personally I don't understand why .setAttribute("value") ever worked...
Comment 2•23 years ago
|
||
bz told me that it's supposed to work until you change the real .value
Depends on: 211308
Updated•16 years ago
|
Assignee: layout.form-controls → nobody
QA Contact: tpreston → layout.form-controls
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•