[Webkit-unassigned] [Bug 251313] Incorrect text caret placement when RTL text starts with whitespace

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 28 06:57:46 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251313

--- Comment #2 from zalan <zalan at apple.com> ---
This is about incorrect hanging whitespace handling in RTL context. When the textarea's style is changed from "white-space: pre-wrap" to 'white-space: pre", it starts working fine.
Looking at the individual text run positions, the logically leading (visually trailing) whitespace on the first line is at -5px (this is logical x -5px, which essentially means whitespace is put outside the textarea).

-- 
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/a639dccb/attachment.htm>


More information about the webkit-unassigned mailing list