Bug 22305 - Improve arrow nagivation in transformed elements
Summary: Improve arrow nagivation in transformed elements
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-16 22:55 PST by Simon Fraser (smfr)
Modified: 2024-04-19 11:26 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2008-11-16 22:55:48 PST
Up/down navigation in currently done ignoring transforms (see comment in VisiblePosition::xOffsetForVerticalNavigation() introduced via bug 15671).

This is fine inside a transformed element, but we should do something sensible when you arrow down from the bottom of a transformed element.
Comment 1 Ahmad Saleem 2024-04-19 11:26:01 PDT
xOffsetForVerticalNavigation was renamed to lineDirectionPointForVerticalNavigation in below comment:

https://github.com/WebKit/WebKit/commit/45dc268cbc88951fcc678624f314a02e48993716

While test case - https://bug-15671-attachments.webkit.org/attachment.cgi?id=25204 seems to work fine for me in Safari 17.5 beta and matching in arrow navigation from top to down and down to top similar to Chrome Canary 125.

@Simon & @Vitor - anything else to do here?