Bug 249905 - Incorrect caret movement in some RTL contenteditable elements
Summary: Incorrect caret movement in some RTL contenteditable elements
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2022-12-27 05:15 PST by Ahmad Saleem
Modified: 2023-01-03 12:32 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-12-27 05:15:56 PST
Hi Team,

While going through Blink's commit, I came across another failing test case:

Test Case - https://jsfiddle.net/0jjmfqca/

^ Place caret on 222 and you will be stuck moving both direction. Chrome Canary 111 skips non-editable but have jumpy behavior while Firefox Nightly 110 works awesome here.

Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=183843

WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/editing/VisiblePosition.cpp#279 & https://searchfox.org/wubkat/source/Source/WebCore/editing/VisiblePosition.cpp#449

Just wanted to raise so this can be fixed.

Thanks!
Comment 1 Radar WebKit Bug Importer 2023-01-03 05:16:16 PST
<rdar://problem/103831134>
Comment 2 EWS 2023-01-03 12:32:09 PST
Committed 258398@main (f61cf23abe06): <https://commits.webkit.org/258398@main>

Reviewed commits have been landed. Closing PR #8076 and removing active labels.