Bug 68285 - Use RenderedPosition instead of VisiblePosition in accessibility code
Summary: Use RenderedPosition instead of VisiblePosition in accessibility code
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on: 68283
Blocks: 68284
  Show dependency treegraph
 
Reported: 2011-09-16 15:07 PDT by Ryosuke Niwa
Modified: 2013-12-20 10:53 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2011-09-16 15:07:32 PDT
Per IRC discussion, we should move away from VisiblePosition and use RenderedPosition in accessibility code.

RenderedPosition has the following benefits:
1. It does not canonicalize positions unlike VisiblePosition so we can fix bugs like https://bugs.webkit.org/show_bug.cgi?id=57685
2. It's performant since it doesn't trigger layout or spends time doing canonicalization
Comment 1 Radar WebKit Bug Importer 2013-12-20 10:53:25 PST
<rdar://problem/15709608>