[Webkit-unassigned] [Bug 279008] New: Using emoji in text-emphasis loses colors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 2 00:00:03 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279008

            Bug ID: 279008
           Summary: Using emoji in text-emphasis loses colors
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Mac (Apple Silicon)
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: 50167214 at qq.com
                CC: koivisto at iki.fi

Created attachment 472401

  --> https://bugs.webkit.org/attachment.cgi?id=472401&action=review

text-emphasis-emoji

Open the following code in Safari and you'll see that the text-emphasis is only rendered to `U+2764`

data:text/html;charset=UTF-8,<!doctype html>
<style>
.foo {
        font-size: 52px;
        border: solid 1px blue;
        text-emphasis-style: "❤️";
        display: inline;
}
</style>
<div class="foo">test emoji❤️</div>

❤️ This emoji actually contains two characters:

`U+2764`
`U+FE0F`

-- 
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/20240902/52ff3d9d/attachment.htm>


More information about the webkit-unassigned mailing list