Open
Bug 300821
Opened 19 years ago
Updated 2 years ago
xul: bad checkbox icon in listcell
Categories
(Core :: XUL, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: mazarik, Unassigned)
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511
I have this code:
<listbox flex="0" allowevents="true">
<listitem allowevents="true">
<listcell allowevents="true">
<checkbox allowEvents="true" id="checked1" label="checked1"/>
</listcell>
</listitem>
<listitem allowevents="true">
<listcell type="checkbox" id="checked2" label="checked2" disabled="false"/>
</listitem>
<listitem type="checkbox" id="checked3" label="checked3" disabled="false"/>
</listbox>
and this javascript:
var tlac1 = document.getElementById("checked1");
var tlac2 = document.getElementById("checked2");
var tlac3 = document.getElementById("checked3");
alert("checked1=" + tlac1.checked + "; checked2=" + tlac2.checked + ";
checked3=" + tlac3.checked);
If I activate script alert="checked1=false; checked2=undefined; checked3=false;"
That's ok.
But if I click on all checkboxes and activated the script it gave me this alert:
"checked1=true; checked2=undefined; checked3=true;" and only the last checkbox
has the "true"-icon, the first it doesn't and that's bug.
Reproducible: Always| Reporter | ||
Comment 1•19 years ago
|
||
| Reporter | ||
Comment 2•19 years ago
|
||
Updated•19 years ago
|
Component: General → XP Toolkit/Widgets: XUL
Product: Firefox → Core
QA Contact: general → xptoolkit.xul
Version: unspecified → 1.7 Branch
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•