Closed
Bug 257099
Opened 20 years ago
Closed 19 years ago
GOK GUI can't grab Combobox
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: Louie.Zhao, Assigned: Louie.Zhao)
References
Details
(Keywords: access)
Attachments
(1 file, 1 obsolete file)
7.00 KB,
patch
|
Henry.Jia
:
superreview+
|
Details | Diff | Splinter Review |
Combox can't be grabbed by GOK UI-Grab.
Assignee | ||
Comment 1•20 years ago
|
||
Assignee | ||
Updated•20 years ago
|
Attachment #157132 -
Flags: review?(aaronleventhal)
Comment 2•20 years ago
|
||
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+
Assignee | ||
Comment 3•20 years ago
|
||
following Aaron's comments.
Assignee | ||
Updated•20 years ago
|
Attachment #157132 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #157600 -
Flags: superreview?(Henry.Jia)
Assignee | ||
Updated•20 years ago
|
Keywords: access
Summary: GOK GUI can't grab Combobox → GOK GUI can't grab Combobox
Comment 4•20 years ago
|
||
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+
Assignee | ||
Comment 6•19 years ago
|
||
Thanks for r & sr. patch checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•