Closed
Bug 237076
Opened 21 years ago
Closed 21 years ago
Object hierarchy is broken @ nsOuterDocAccessible
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: yuanyi21, Assigned: yuanyi21)
Details
(Keywords: fixed1.7)
Attachments
(1 file)
1.28 KB,
patch
|
Louie.Zhao
:
review+
Henry.Jia
:
superreview+
asa
:
approval1.7+
|
Details | Diff | Splinter Review |
Using at-poke to poke the accessible object hierarchy of mozilla, it will stop
at the 3rd level of "panel" object.
That is because when called nsOuterDocAccessible::GetChildCount, it asks
nsAccessible::CacheChildren to get its children number. But for
nsOuterDocAccessible, its child can not be obtained by nsAccessibleTreeWalker,
its child is hard-coded to a nsDocAccessible object. So we have to always return
1 for the ChildCount of nsOuterDocAccessible.
the description of this patch is in my previous comment.
Attachment #143560 -
Flags: superreview?(Henry.Jia)
Attachment #143560 -
Flags: review?(Louie.Zhao)
Updated•21 years ago
|
Attachment #143560 -
Flags: review?(Louie.Zhao) → review+
Comment on attachment 143560 [details] [diff] [review]
patch
hold on, the problem is more complicate than I can imagine.
nsOuterDocAccessible::GetChildCount gets called even before the constructor.
Attachment #143560 -
Flags: superreview?(Henry.Jia)
Comment on attachment 143560 [details] [diff] [review]
patch
My previous comment was wrong. The constructor did get called before
GetChildCount, but unfortunately, mAccChildCount was cleared by
nsAccessible::InvalidateChildren again. So my patch is still applicable.
Attachment #143560 -
Flags: superreview?(Henry.Jia)
Comment on attachment 143560 [details] [diff] [review]
patch
sr=Henry
Attachment #143560 -
Flags: superreview?(Henry.Jia) → superreview+
Comment on attachment 143560 [details] [diff] [review]
patch
this fix is small but very important to linux accessibility feature.
Attachment #143560 -
Flags: approval1.7?
Comment 7•21 years ago
|
||
Is this going into 1.8?
Comment 9•21 years ago
|
||
Comment on attachment 143560 [details] [diff] [review]
patch
a=asa (on behalf of drivers) for checkin to 1.7
Attachment #143560 -
Flags: approval1.7? → approval1.7+
Assignee | ||
Comment 10•21 years ago
|
||
fixed in 1.7 branch.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 11•21 years ago
|
||
Could you add the fixed1.7 keyword?
You need to log in
before you can comment on or make changes to this bug.
Description
•