Incorrect render of the emoji flag when setting font-size with ::first-letter
Categories
(Core :: Layout: Text and Fonts, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | unaffected |
| firefox-esr91 | --- | wontfix |
| firefox90 | --- | wontfix |
| firefox91 | --- | wontfix |
| firefox92 | --- | fixed |
People
(Reporter: ksenia, Assigned: jfkthame)
References
(Regression, )
Details
(Keywords: regression)
Attachments
(2 files)
This was initially reported in https://github.com/webcompat/web-bugs/issues/78932
STR:
Visit https://codepen.io/biotimylated/pen/abWOEJm in Firefox release on desktop and observe emoji icons
Expected:
Flag emoji icon that is styled with ::first-letter is rendered
Actual:
Flag emoji icon is not displayed
Some more info:
I run mozregression and it seems that using ::first-letter didn't have any effect on emojis in this test case until 1686512 landed.
Also, I found this issue https://bugzilla.mozilla.org/show_bug.cgi?id=1570452, where the resolution was that ::first-letter pseudo-selector shouldn't work if the first letter in a paragraph or text tag is an emoji.
| Reporter | ||
Comment 1•4 years ago
|
||
Also, there is another problem (likely related since it's started happening after patch in 1686512 landed?), when using vertical-align: middle; on the emoji flag, it gets rendered with the left and right halves with different vertical alignments.
| Reporter | ||
Comment 2•4 years ago
|
||
Hi Jonathan, would you be able to take a look, please?
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
| Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Comment 6•4 years ago
|
||
Backed out for causing wpt failures in /css/selectors/first-letter-flag-001
Backout link: https://hg.mozilla.org/integration/autoland/rev/5761da0ad06f133f8b57ac59ecc53c2fe44f5643
| Assignee | ||
Comment 8•4 years ago
|
||
(In reply to Sandor Molnar from comment #6)
Backed out for causing wpt failures in /css/selectors/first-letter-flag-001
Looks like async font fallback sometimes hitting the windows-debug build. We'd better disable the async behavior for this test, so that test and reference screenshots consistently agree about the font to pick.
Comment 10•4 years ago
|
||
| bugherder | ||
Updated•4 years ago
|
Description
•