[Webkit-unassigned] [Bug 283340] New: Text node after an emoji that is not an “Apple Color Emoji” will have the wrong color.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 18 20:05:23 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=283340
Bug ID: 283340
Summary: Text node after an emoji that is not an “Apple Color
Emoji” will have the wrong color.
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: taozhuang at microsoft.com
Created attachment 473275
--> https://bugs.webkit.org/attachment.cgi?id=473275&action=review
A repro demo
In an div or p element, if the last node of a div or p element is an emoji and its font is not "Apple Color Emoji", the next text node will use a wrong color.
In the Demo, I use "Segoe UI Emoji" from Microsoft and the last text node "After Emoji" should be white as others, but it becomes brown.
If the emoji is not the last node, it fixes.
If I change the emoji's font to "Apple Color Emoji", it fixes.
If I remove the color of the emoji, it fixes.
Tested in Safari 17 - 18.1.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241119/3b48516a/attachment.htm>
More information about the webkit-unassigned
mailing list