Bug 165462

Summary: RTL ellipsized text selection is broken
Product: WebKit Reporter: Ebrahim Byagowi <ebrahim>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mmaxfield
Priority: P2    
Version: Safari Technology Preview   
Hardware: All   
OS: macOS 10.12   
URL: data:text/html;charset=utf8,<div dir=rtl style="white-space: nowrap; width: 12em; overflow: hidden; text-overflow: ellipsis; font-size: 300%">تینینقننب ب ب ل ل ب ملنثخبنب ب ب بپقمقخمق
Attachments:
Description Flags
test case
none
screenshot none

Description Ebrahim Byagowi 2016-12-05 23:09:17 PST
Testcase:
data:text/html;charset=utf8,<div dir=rtl style="white-space: nowrap; width: 12em; overflow: hidden; text-overflow: ellipsis; font-size: 300%">تینینقننب ب ب ل ل ب ملنثخبنب ب ب بپقمقخمق

Try to select a word by double click or highlight some part of the text

This bug is similar to this bug http://crbug.com/550437 I've reported against Chrome.

Expected:
Highlighting would work on elided text

Actual:
It is highlighting somewhere else.
Comment 1 Said Abou-Hallawa 2017-01-09 13:43:59 PST
Created attachment 298386 [details]
test case
Comment 2 Said Abou-Hallawa 2017-01-09 13:45:01 PST
Created attachment 298387 [details]
screenshot
Comment 3 Ebrahim Byagowi 2021-01-13 23:47:03 PST
is fixed apparently, thanks!