Bug 249905
Summary: | Incorrect caret movement in some RTL contenteditable elements | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | HTML Editing | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/103831134>
EWS
Committed 258398@main (f61cf23abe06): <https://commits.webkit.org/258398@main>
Reviewed commits have been landed. Closing PR #8076 and removing active labels.