TwitterColorEmoji-SVGinOT.ttf v13.1 causes text clippings
Categories
(Core :: Web Painting, defect)
Tracking
()
People
(Reporter: Fanolian+BMO, Assigned: mattwoodrow)
References
(Regression)
Details
(4 keywords, Whiteboard: Updated, simplified STR and testcase at comment 5)
Attachments
(5 files)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:94.0) Gecko/20100101 Firefox/94.0
Build ID: 20210911095121
Requirements
- Twitter Color Emoji SVGinOT Font
- Reddit Enhancement Suite (RES)
- A Reddit account. A brand-new throwaway account is sufficient.
- Browser content window width larger than ~1400px.
OS info
VGA: Nvidia GTX 760 driver v471.96 (last available official driver outside of critical security updates)
Windows 10 Pro 21H1 latest update
Resolution: 1920×1080 100% scale (2 monitors; reproducible on both)
Text size: 112% (Windows Settings > Ease of Access > Display > Make text bigger
)
Steps to reproduce
- Install TwitterColorEmoji-SVGinOT.ttf v13.1 on a Win10 machine. The font is in
TwitterColorEmoji-SVGinOT-Win-13.1.0.zip
. - In a new Nightly profile, make Twitter Color Emoji as the default emoji font, i.e. go to about:config -> edit
font.name-list.emoji
toTwitter Color Emoji, Segoe UI Emoji, Twemoji Mozilla
. - Widen Nightly's window width to >1400px.
- Install RES in Nightly.
- Go to this Reddit link. It opens a Reddit page and RES settings.
- In RES settings, enable Appearance > Style Tweaks >
Highlight Top Level
. Also changeHighlight Top Level Size
to5
. - Save RES options by clicking the save button on the top right corner of the settings panel. Close the panel.
- After returning to the Reddit page, log in to Reddit.
- In that Reddit page, scroll down to the bottom and observe the very last comment with an emoji.
Actual result
The comment text is clipped. Highlighting the text make it re-appear.
If I scroll up far enough and go back to the comment, text is clipped again.
If window width is small enough (~1350px according to devtool's ruler), the text does not clip.
Expected result
No clippings.
Additional notes
I cannot further simplify the STR. I don't know why I must be logged in to Reddit in order to reproduce the bug. Perhaps RES adds something more when it's logged in.
I cannot reproduce the bug with Nightly's Twemoji Mozilla v0.6.0 which also supports Twemoji 13.1.
As for RES's Highlight Top Level Size
, I can reproduce the bug with width 3/4/5 but not the default 2. I also tried 6/10 but they don't cause clippings.
Regression
Last good Nightly: 2021-09-09
First bad Nightly: 2021-09-10
pushlog: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5cc4755ad6d80428ca73070190ab9f51583a7360&tochange=ede86e9e0fdb5162502ddf301e992800d6a84ea1
Bisecting autoland builds:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=b85a93f770e3d692b2fcf85f26ff38966f79338e&tochange=c5b71e6ce0e5a9711f5cb682022e6d549a063257
Regression
Bisecting autoland builds:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=b85a93f770e3d692b2fcf85f26ff38966f79338e&tochange=c5b71e6ce0e5a9711f5cb682022e6d549a063257
All bugs in the range are temporarily backed out by this changeset. This bug is currently not reproducible in 2021-09-12 build onwards.
I am keeping the NI and this bug opened so :mattwoodrow may keep an eye on it when those bugs are relanded.
Updated•3 years ago
|
(In reply to Fanolian from comment #3)
All bugs in the range are temporarily backed out by this changeset. This bug is currently not reproducible in 2021-09-12 build onwards.
I am keeping the NI and this bug opened so :mattwoodrow may keep an eye on it when those bugs are relanded.
This bug is back now that those 5 out of 7 of the bugs have been re-landed on 2021-09-13 build.
New regression range: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=eb592f79b7982217a439f7d32da52df9a40c334a&tochange=e8a29c8f1e095884077d52166404a854fba86280
Suspect: bug 1542929, bug 1728050, bug 1728232, bug 1728251, bug 1729236.
As it turns out, this bug is easy to reproduce with a simple file (at least on my machine).
It has nothing to do with Reddit or RES.
UPDATED Steps to reproduce
- Install TwitterColorEmoji-SVGinOT.ttf v13.1 on a Win10 machine. The font can be found at TwitterColorEmoji-SVGinOT-Win-13.1.0.zip.
- Open the attached testcase. (It has already specified Twitter Color Emoji as the font. No need to chanage
font.name-list.emoji
.) - Scroll the document up and down.
Actual result
At some lines the emoji is clipped.
Assignee | ||
Comment 7•3 years ago
|
||
This was regressed by https://hg.mozilla.org/integration/autoland/rev/973c5761459d19eeead81b07246ff87ceaccd411 (bug 1729236).
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
This is the same issue as bug 1729937.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•