Closed Bug 174798 Opened 22 years ago Closed 22 years ago

Combobox's children are garbage

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: aaronlev, Assigned: aaronlev)

Details

Attachments

(3 files, 2 obsolete files)

Document content is showing up as the children of objects with ROLE_COMBOBOX.

For example, paragraphs and other form controls. The only children should be
options.
Attached patch Stop when parent is a <select> (obsolete) — Splinter Review
Attached file Testcase
Seeking r=kyle

Kyle, can you think of any reason we should keep the nsIDOMOListElement test? I
don't know why that was ever used.
I think this is better than enumerating black list here, but I can't verify my
patch due to bug 174949.
I have no idea about why nsIDOMHTMLOListElement is here.
Attached file Testcase #2
A test case with <optgroup> and <!-- comment --> nodes sprinkled in
Kyle, when I saw your fix I realized that our code doesn't work when there are
comments in there.

Here's a new patch, seeking r=.
Attachment #103166 - Attachment is obsolete: true
Attachment #103071 - Attachment is obsolete: true
Comment on attachment 103191 [details] [diff] [review]
Compares with node of parent accessible, and uses loop to avoid ending on comment or other non-accessible nodes

r=kyle
Attachment #103191 - Flags: review+
Comment on attachment 103191 [details] [diff] [review]
Compares with node of parent accessible, and uses loop to avoid ending on comment or other non-accessible nodes

sr=bzbarsky
Attachment #103191 - Flags: superreview+
Comment on attachment 103191 [details] [diff] [review]
Compares with node of parent accessible, and uses loop to avoid ending on comment or other non-accessible nodes

a=roc+moz for trunk
Attachment #103191 - Flags: approval+
checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
-- Verified in latest trunk(20021111). Works fine. Marking verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: