Open Bug 1909612 Opened 1 year ago Updated 1 year ago

Emoji doesnt render correctly in menu option

Categories

(Firefox :: Menus, enhancement)

Firefox 128
enhancement

Tracking

()

People

(Reporter: denis.balan.1337+mzlla, Unassigned)

References

Details

Attachments

(5 files)

Attached file emoji-bug-poc.html

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0

Steps to reproduce:

when you select two lines of text,
the drop down saying "Search Google for '...'" doesnt show correct emoji (based on ALT tag)

Actual results:

select two lines (complete lines, including italy flag at the end)
"Firenze
Italy"

Expected results:

Italy flag shown correctly (based on ALT tag)

Attached image emoji-bug.png
Attached image emoji-bug-noissue.png
Attached file test.html

1st line --- OK
2nd line --- BUG

Looks like a bug when truncating search text to 15 characters for menu label.

https://searchfox.org/mozilla-central/rev/b3c85ac11d004fdb582577cd8f674efa44b0e253/browser/base/content/nsContextMenu.sys.mjs#2819-2829

Component: Untriaged → Menus
Blocks: 991427
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: