[Webkit-unassigned] [Bug 251313] New: Incorrect text caret placement when RTL text starts with whitespace
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 27 22:55:15 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=251313
Bug ID: 251313
Summary: Incorrect text caret placement when RTL text starts
with whitespace
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
URL: data:text/html;charset=utf8,<textarea%20dir=rtl%20styl
e="font-size:%20500%">%20شسی%20شسی%20شسی%20شسی%20شسی%2
0شسی%20شسی%20شسی</textarea><script>document.querySelec
tor('textarea').focus()</script>
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ebrahim at gnu.org
CC: bfulgham at webkit.org, mmaxfield at apple.com,
simon.fraser at apple.com, zalan at apple.com
This is a reduction of something that hits me on RTL websites and happens both in Safari 16.2 and tip of tree (5dc808f2):
Steps to reproduce:
Open
data:text/html;charset=utf8,<textarea%20dir=rtl%20style="font-size:%20500%">%20شسی%20شسی%20شسی%20شسی%20شسی%20شسی%20شسی%20شسی</textarea><script>document.querySelector('textarea').focus()</script>
(if caret didn't appear, click on the textarea, press Command+A, press the right arrow key button)
Expected:
The caret should go to right most position, start of the text in RTL.
Actual:
The caret goes after the first space, as can be seen in the attached screen cast.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230128/aa5e06b4/attachment.htm>
More information about the webkit-unassigned
mailing list