They are picked up because tree items and tree accessibles shares the same DOM node.
Created attachment 564126 [details] [diff] [review] patch
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
inbound land with Trevor's comment fixed - https://hg.mozilla.org/integration/mozilla-inbound/rev/b963098e5361