Closed
Bug 187209
Opened 23 years ago
Closed 23 years ago
role for toplevel should be "frame"
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: yinbolian, Assigned: browser-china-atf)
References
Details
(Keywords: access)
Attachments
(1 file, 5 obsolete files)
8.73 KB,
patch
|
yinbolian
:
review+
|
Details | Diff | Splinter Review |
mass changing QA contact to Jessie Li.
Status: NEW → ASSIGNED
QA Contact: dsirnapalli → jessie.li
Attachment #110924 -
Flags: review?(bolian.yin)
Reporter | ||
Comment 3•23 years ago
|
||
You can simplified this block
+ //the cross-platform Accessible object return the same value for
+ //both "ATK_ROLE_MENU_ITEM" and "ATK_ROLE_MENU"
+ if (accRole == ATK_ROLE_MENU_ITEM) {
+ gint count = 0;
+ mAccessible->GetAccChildCount(&count);
+ if (count > 0) //it should be a popup menu
+ accRole = ATK_ROLE_MENU;
+ }
to:
if ((accRole == ATK_ROLE_MENU_ITEM) && GetChildCount())
accRole = ATK_ROLE_MENU;
Attachment #110924 -
Attachment is obsolete: true
Attachment #110927 -
Flags: review?(bolian.yin)
Reporter | ||
Comment 5•23 years ago
|
||
Attachment #110927 -
Flags: review?(bolian.yin) → review+
Reporter | ||
Comment 6•23 years ago
|
||
checked in Trunk. Thanks, Simford.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 7•23 years ago
|
||
This checkin broke the gtk2 tinderbox.
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey-Ports/1042021140.2765.gz&fulltext=1
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 8•23 years ago
|
||
It is caused by using a newer version of atk (atk-1.1.x), we need other way to
define ATK_ROLE_APPLICATION.
Simford will paste a new patch soon.
added new globlal Contant Value
Attachment #110927 -
Attachment is obsolete: true
Attachment #111026 -
Flags: review?(bolian.yin)
Reporter | ||
Comment 10•23 years ago
|
||
I think we can match the role constant like:
ROLE_APPLICATION -> ATK_ROLE_APPLICATION
ROLE_PANE (for toplevel window) -> ATK_ROLE_FRAME
ROLE_PANE (for dialog) -> ATK_ROLE_DIALOG
ROLE_PANE (for others) -> ATK_ROLE_PANEL
Comment 11•23 years ago
|
||
new patch due to comment #10
Attachment #111026 -
Attachment is obsolete: true
Attachment #111127 -
Flags: review?(bolian.yin)
Comment 12•23 years ago
|
||
new patch after some modifications
Attachment #111127 -
Attachment is obsolete: true
Attachment #111134 -
Flags: review?(bolian.yin)
Attachment #111137 -
Flags: review?(bolian.yin)
Reporter | ||
Comment 14•23 years ago
|
||
Comment on attachment 111137 [details] [diff] [review]
patch-06
I think it is good enough now.
Attachment #111137 -
Flags: review?(bolian.yin) → review+
Reporter | ||
Comment 15•23 years ago
|
||
checked in trunk. Thanks.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Updated•23 years ago
|
Attachment #110924 -
Flags: review?(bolian.yin)
Updated•23 years ago
|
Attachment #111026 -
Flags: review?(bolian.yin)
Updated•23 years ago
|
Attachment #111127 -
Flags: review?(bolian.yin)
Updated•23 years ago
|
Attachment #111134 -
Flags: review?(bolian.yin)
You need to log in
before you can comment on or make changes to this bug.
Description
•