XUL tree items shouldn't pick up relations from XUL tree

RESOLVED FIXED in mozilla10

Status

()

Core
Disability Access APIs
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: surkov, Assigned: surkov)

Tracking

(Blocks: 1 bug, {access})

unspecified
mozilla10
access
Points:
---
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
They are picked up because tree items and tree accessibles shares the same DOM node.
(Assignee)

Comment 1

6 years ago
Created attachment 564126 [details] [diff] [review]
patch
Assignee: nobody → surkov.alexander
Status: NEW → ASSIGNED
Attachment #564126 - Flags: review?(trev.saunders)
Comment on attachment 564126 [details] [diff] [review]
patch


>   Relation rel;
>     PRInt32 parentIndex;
>   if (!NS_SUCCEEDED(mTreeView->GetParentIndex(mRow, &parentIndex)))
>     return rel;

return Relation(); ?

It looks like you could move the declaration of rel down if not get rid of it all together and just return Relation(mParent) and Relation(treeAcc.Getblah()) if you want
Attachment #564126 - Flags: review?(trev.saunders) → review+
(Assignee)

Comment 3

6 years ago
inbound land with Trevor's comment fixed - https://hg.mozilla.org/integration/mozilla-inbound/rev/b963098e5361
https://hg.mozilla.org/mozilla-central/rev/b963098e5361
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
(Assignee)

Updated

6 years ago
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.