Bug 159917 - Emoji variant selection changes with line wrapping
Summary: Emoji variant selection changes with line wrapping
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Mac OS X 10.11
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-07-19 05:20 PDT by Matthias Wiesmann
Modified: 2016-07-19 14:51 PDT (History)
4 users (show)

See Also:


Attachments
Small HTML example that reproduces the problem. (184 bytes, text/html)
2016-07-19 05:20 PDT, Matthias Wiesmann
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Wiesmann 2016-07-19 05:20:15 PDT
Created attachment 283993 [details]
Small HTML example that reproduces the problem.

When emoji 263A is followed by a skin tone selector, the tone selector is not honoured, but this forces the display of the emoji style, i.e. implicitly the character is displayed as it were 263A FE0F. This behaviour changes if there is an line break between the emoji and the skin tone selector. So basically the appearance of the character changes according to the line breaking behaviour.
See the attached small HTML file which reproduces the issue. 

I'm not sure what the correct behaviour should be, but switching characters on the line breaking is wrong. 
Reasonable behaviours could be:
a) honour skin color modifier.
b) do not implicitly trigger the emoji variant when a skin tone selector is present and not honoured.
c) trigger the emoji variant regardless of line breaking.
Comment 1 Radar WebKit Bug Importer 2016-07-19 14:51:30 PDT
<rdar://problem/27435011>