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•3 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•3 years ago
|
||
Hi Jonathan, would you be able to take a look, please?
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5ae8ad2a0901 Don't let ::first-letter break Regional-Indicator flag ligatures. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/29853 for changes under testing/web-platform/tests
Comment 6•3 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
Upstream PR was closed without merging
Assignee | ||
Comment 8•3 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.
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/84bb91189ce5 Don't let ::first-letter break Regional-Indicator flag ligatures. r=emilio
Comment 10•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Upstream PR merged by moz-wptsync-bot
Description
•