Summary: | REGRESSION (r211382): Partial right-to-left text runs are painted at an offset (breaks Find indicators, Look Up, and custom ::selection style) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | mitz | ||||||||||
Component: | Layout and Rendering | Assignee: | Myles C. Maxfield <mmaxfield> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | bfulgham, buildbot, commit-queue, dino, ebrahim, mmaxfield, simon.fraser, thorton, webkit-bug-importer, zalan | ||||||||||
Priority: | P1 | Keywords: | InRadar, Regression | ||||||||||
Version: | Safari Technology Preview | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
URL: | data:text/html,<meta%20charset=utf-8>עם%20הסתבכויות | ||||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=166013 | ||||||||||||
Attachments: |
|
Description
mitz
2017-03-11 20:20:43 PST
I am pretty sure this was caused by the changes to FontCascade in r211382, but I haven’t confirmed it yet. Caused by <https://trac.webkit.org/r211382>, the fix for bug 166013. Here is a test case you can use that doesn’t depend on lookup: <style> ::selection { color: green; } </style> <bdo id=target dir=rtl>neerg si noitceleS</bdo> <script> let textNode = document.getElementById("target").firstChild; getSelection().setBaseAndExtent(textNode, 0, textNode, 5) </script> Radar is actually rdar://problem/30652443 Created attachment 308803 [details]
Patch
Comment on attachment 308803 [details] Patch Attachment 308803 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/3656252 New failing tests: fast/text/complex-text-selection.html Created attachment 308809 [details]
Archive of layout-test-results from ews126 for ios-simulator-wk2
The attached test failures were seen while running run-webkit-tests on the ios-sim-ews.
Bot: ews126 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Created attachment 308828 [details]
Patch
Created attachment 308831 [details]
Patch
Comment on attachment 308831 [details] Patch Clearing flags on attachment: 308831 Committed r216088: <http://trac.webkit.org/changeset/216088> All reviewed patches have been landed. Closing bug. *** Bug 171658 has been marked as a duplicate of this bug. *** |