Bug 249905

Summary: Incorrect caret movement in some RTL contenteditable elements
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: karlcow, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: BrowserCompat, InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Ahmad Saleem
Reported 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!
Attachments
Radar WebKit Bug Importer
Comment 1 2023-01-03 05:16:16 PST
EWS
Comment 2 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.
Note You need to log in before you can comment on or make changes to this bug.