Bug 181304 - macOS and iOS render zero width joiners differently
Summary: macOS and iOS render zero width joiners differently
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Text (show other bugs)
Version: Safari Technology Preview
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2018-01-04 12:51 PST by Craig Hockenberry
Modified: 2018-01-08 01:48 PST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Hockenberry 2018-01-04 12:51:19 PST
Unicode text which contains zero width joiners displays differently on macOS and iOS.

To reproduce:

1) Open the following page on both platforms:

https://meta.stackoverflow.com/questions/361390/can-posts-to-stack-overflow-be-fingerprinted-using-hidden-unicode-characters

2) Compare how the code samples are rendered

Expected result:

The rendering should be identical.

Actual result:

The rendering is quite different. iOS appears to be displaying the zero width joiner as a space character.
Comment 1 Radar WebKit Bug Importer 2018-01-04 12:56:42 PST
<rdar://problem/36303681>
Comment 2 Myles C. Maxfield 2018-01-04 14:43:39 PST
This will be fixed by https://bugs.webkit.org/show_bug.cgi?id=175778