Bug 171658

Summary: Broken complex text selection when text selection color is set
Product: WebKit Reporter: Ebrahim Byagowi <ebrahim>
Component: TextAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: jonlee, mmaxfield
Priority: P2    
Version: Safari 10   
Hardware: Unspecified   
OS: Unspecified   
URL: data:text/html;charset=utf8,<style>::selection { background-color: #ff6b53; color: #fff; }</style><div style="font-size: 900%">%D8%B4%D8%B3%DB%8C%D8%B4%D8%B3%DB%8C
Attachments:
Description Flags
Actual none

Ebrahim Byagowi
Reported 2017-05-04 07:13:40 PDT
Created attachment 309044 [details] Actual Steps: 1. Open http://tebclinic.ir 2. Try to select and highlight the second line from right to left or left to right. Actual: Attached, broken Expected: Like the other browsers, normal text selection Not a recent regression and not fixed on a recent WebKit Nightly build also.
Attachments
Actual (158.05 KB, image/png)
2017-05-04 07:13 PDT, Ebrahim Byagowi
no flags
Ebrahim Byagowi
Comment 1 2017-05-04 11:49:49 PDT
Minimal repro: data:text/html;charset=utf8,<style>::selection { background-color: #ff6b53; color: #fff; }</style><div style="font-size: 900%">%D8%B4%D8%B3%DB%8C%D8%B4%D8%B3%DB%8C
Jon Lee
Comment 2 2017-05-04 15:25:42 PDT
*** This bug has been marked as a duplicate of bug 169517 ***
Jon Lee
Comment 3 2017-05-04 15:41:20 PDT
I'm still seeing a repaint issue with selection, though. Filed 171696.
Note You need to log in before you can comment on or make changes to this bug.