Created attachment 332088 [details] Test While investigating the macOS Sierra EWS test failure for the test fast/text/mac/select-character-before-zero-width-joiner.html in attachment #332038 [details] (patch for bug #181993) I noticed that the rendering of this test regressed in ToT WebKit on macOS Sierra. In particular, the selection highlight does not cover the entire '2' in the test with ToT WebKit. Perform the following: 1. Open the attached test case (this is the same test included in attachment #332038 [details]). Then the selection highlight does not cover the entire width of the '2'. But in system Safari the selection highlight does cover the entire width of the '2'. I am using system Safari version 10.1.2 (12603.3.8) on macOS Sierra (16G1004).
From bisecting builds, the selection rendering behavior regressed in <https://trac.webkit.org/changeset/213020> (bug #168211).
Created attachment 332089 [details] [Screenshot] Expected - using system Safari on Sierra
Created attachment 332090 [details] [Screenshot] WebKit r213020 (and above) on Sierra
<rdar://problem/36798720>