Closed Bug 242590 Opened 21 years ago Closed 21 years ago

Optimize accessible tree walking

Categories

(Core :: Disability Access APIs, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 242589

People

(Reporter: aaronlev, Assigned: aaronlev)

Details

(Keywords: access, perf)

This is a bug filed for optimizing AccessibleTreeWalker and GetAccessibleFor. - When possible, accessible tree walking should avoid calling GetPrimaryFrameFor(). Mostly, it should try to avoid calling it much for text frames, which aren't normally in the frame map, and results in creation of new entries for the frame map. - Don't walk into hidden subtrees - Use IsContentOfType(), which is faster than a QI, to streamline GetAccessibleFor - Move special case code out of the main loop. 1) Move the check for <legend> so that it doesn't have to occur on every text node. 2) Move the check to see if a XUL menu is open into the xul menu code
*** This bug has been marked as a duplicate of 242589 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.