Closed Bug 257099 Opened 21 years ago Closed 20 years ago

GOK GUI can't grab Combobox

Categories

(Core :: Disability Access APIs, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Louie.Zhao, Assigned: Louie.Zhao)

References

Details

(Keywords: access)

Attachments

(1 file, 1 obsolete file)

Combox can't be grabbed by GOK UI-Grab.
Attached patch patch v1 (obsolete) — Splinter Review
Attachment #157132 - Flags: review?(aaronleventhal)
Comment on attachment 157132 [details] [diff] [review] patch v1 >+ else { >+ nsCOMPtr<nsIDOMElement> element(do_QueryInterface(mDOMNode)); >+ if (element) { >+ rv = element->GetAttribute(NS_LITERAL_STRING("label"), label); Use an nsIDOMXUL interface instead if one is available. >+ nsCOMPtr<nsIDOMElement> element(do_QueryInterface(childNode)); >+ if (element) { Use an assertion instead of |if (element)| >+ if (boxName.Equals(NS_LITERAL_STRING("textbox"))) >+ // autocomplete textbox also uses nsXULComboboxAccessible and we need walk anonymous children >+ CacheChildren(PR_TRUE); >+ else >+ // Argument of PR_FALSE indicates we don't walk anonymous children for menuitems >+ CacheChildren(PR_FALSE); I recommend using { and } to group these items so that no one gets confused. Not a big deal, but Jst asked me to start using { and } for single line grouped statements.
Attachment #157132 - Flags: review?(aaronleventhal) → review+
Attached patch patch v2Splinter Review
following Aaron's comments.
Attachment #157132 - Attachment is obsolete: true
Attachment #157600 - Flags: superreview?(Henry.Jia)
Keywords: access
Summary: GOK GUI can't grab Combobox → GOK GUI can't grab Combobox
Louie, can you pinch Henry and get this sr='d and ready to go in? Thanks.
Comment on attachment 157600 [details] [diff] [review] patch v2 sr=Henry
Attachment #157600 - Flags: superreview?(Henry.Jia) → superreview+
Blocks: 263575
Thanks for r & sr. patch checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: