Closed
Bug 751493
Opened 13 years ago
Closed 13 years ago
move out the nsHTMLComboboxListAccessible logic from nsHTMLSelectListAccessible::NativeRole
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
mozilla15
People
(Reporter: surkov, Assigned: jhk)
References
(Blocks 1 open bug)
Details
(Whiteboard: [good first bug][mentor=hub@mozilla.com][lang=c++])
Attachments
(1 file, 2 obsolete files)
2.18 KB,
patch
|
surkov
:
review+
|
Details | Diff | Splinter Review |
just add nsHTMLComboboxListAccessible::NativeRole() and remove the related things from nsHTMLSelectListAccessible::NativeRole (http://mxr.mozilla.org/mozilla-central/source/accessible/src/html/nsHTMLSelectAccessible.cpp#89)
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #621899 -
Flags: feedback?(surkov.alexander)
Reporter | ||
Comment 2•13 years ago
|
||
Comment on attachment 621899 [details] [diff] [review]
Patch(v1)
Review of attachment 621899 [details] [diff] [review]:
-----------------------------------------------------------------
::: accessible/src/html/nsHTMLSelectAccessible.cpp
@@ -91,5 @@
> - if (mParent && mParent->Role() == roles::COMBOBOX)
> - return roles::COMBOBOX_LIST;
> -
> - return roles::LISTBOX;
> -}
you should keep this method but it should return roles::LISTBOX
@@ +738,5 @@
> +{
> + if (mParent && mParent->Role() == roles::COMBOBOX)
> + return roles::COMBOBOX_LIST;
> +
> + return roles::LISTBOX;
this one should return roles::COMBOBOX
Attachment #621899 -
Flags: feedback?(surkov.alexander) → feedback-
Assignee | ||
Comment 3•13 years ago
|
||
Assignee: nobody → jigneshhk1992
Attachment #621899 -
Attachment is obsolete: true
Attachment #623598 -
Flags: review?(surkov.alexander)
Reporter | ||
Comment 4•13 years ago
|
||
Comment on attachment 623598 [details] [diff] [review]
Patch(v2)
nsHTMLSelectListAccessible can't have COMBOBOX_LIST role, so remove this part
Attachment #623598 -
Flags: review?(surkov.alexander) → review-
Assignee | ||
Comment 5•13 years ago
|
||
Attachment #623598 -
Attachment is obsolete: true
Attachment #623600 -
Flags: review?(surkov.alexander)
Reporter | ||
Updated•13 years ago
|
Attachment #623600 -
Flags: review?(surkov.alexander) → review+
Reporter | ||
Comment 6•13 years ago
|
||
Target Milestone: --- → mozilla15
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•