[Webkit-unassigned] [Bug 169972] contenteditable with text-overflow:ellipsis uses truncated text when editing begins instead of textContent

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 2 23:21:52 PDT 2022


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

Karl Dubost <karlcow at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |karlcow at apple.com

--- Comment #2 from Karl Dubost <karlcow at apple.com> ---
This is very similar to the Selection issue in 
https://bugs.webkit.org/show_bug.cgi?id=240787
rdar://93742400


Another similar test for the different behavior.

1. Put the cursor in between letter c and d
2. Hit the right arrow key and keep pushed

* Safari: the cursor moves until it reaches the left end of the ellipsis and get stuck.
* Firefox: the cursor scrolls the text until it reaches the end, keeping the cursor at the right side of the box, and scrolling the text to show more.
* Chrome: It scrolls the text and the ellipsis as it was visible and then everything else disappears

The Firefox behavior seems to be the most sensible for the user.

-- 
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/20220603/83292db0/attachment.htm>


More information about the webkit-unassigned mailing list