Bug 165462 - RTL ellipsized text selection is broken
Summary: RTL ellipsized text selection is broken
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari Technology Preview
Hardware: All macOS 10.12
: P2 Normal
Assignee: Nobody
URL: data:text/html;charset=utf8,<div dir=...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-05 23:09 PST by Ebrahim Byagowi
Modified: 2021-01-13 23:47 PST (History)
1 user (show)

See Also:


Attachments
test case (434 bytes, text/html)
2017-01-09 13:43 PST, Said Abou-Hallawa
no flags Details
screenshot (11.90 KB, image/png)
2017-01-09 13:45 PST, Said Abou-Hallawa
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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!