in nsAccessible::IsPartiallyVisible we use viewManager->GetRectVisibility to determine whether or not a frame is visible. But see http://lxr.mozilla.org/seamonkey/source/view/src/nsViewManager.cpp#3926 nsViewManager::GetVisibleRect try to get the visible rect from the RootScrollableView that is not present for chrome view and nsViewManager::GetRectVisibility will always retunn visible for this situation.
Kyle, can you supply a testcase where this fails?
Maybe I misunderstand the meaning of "Visibility". I should mark it INVALID. But one thing confuses me that all XUL element is visible even if it is off the screen, but in HTML document, a frame which is not in the visible scroll area will be called "invisible". I'm confused by the definition of "visibility".
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → INVALID
I think visible means scrolled completely off screen or not shown in the document. Offscreen means mostly or completely offscreen. Is that right? I suppose we need to fix it for XUL eventually, but lets see what the assistive technologies need first.
You need to log in before you can comment on or make changes to this bug.