Closed Bug 691248 Opened 13 years ago Closed 13 years ago

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

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla10

People

(Reporter: surkov, Assigned: surkov)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

They are picked up because tree items and tree accessibles shares the same DOM node.
Attached patch patchSplinter Review
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+
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
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
Flags: in-testsuite+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: