Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

Why does the @font-face work in a Private Tab, but not in a normal Tab?

  • 1 个回答
  • 1 人有此问题
  • 3 次查看
  • 最后回复者为 gnittala

more options

I consistently find that the @font-face does not work in Firefox unless I use a Private Tab, but I prefer to use a regular Tab so that I can keep track of what pages I have visited. In a Private Tab the Android app displays Hebrew with cantillation marks as nicely as Windows does using the very same font. This is probably an unintended bug, as I cannot imagine why you would want Private Tabs to work better than the regular ones. The css function in question is:

@font-face { font-family: 'Shlomo LB'; src: url('../ShlomoLightBold.ttf') format('truetype'); font-weight: normal; font-style: normal; }

I consistently find that the @font-face does not work in Firefox unless I use a Private Tab, but I prefer to use a regular Tab so that I can keep track of what pages I have visited. In a Private Tab the Android app displays Hebrew with cantillation marks as nicely as Windows does using the very same font. This is probably an unintended bug, as I cannot imagine why you would want Private Tabs to work better than the regular ones. The css function in question is: @font-face { font-family: 'Shlomo LB'; src: url('../ShlomoLightBold.ttf') format('truetype'); font-weight: normal; font-style: normal; }

所有回复 (1)

more options

Hello,

Thank you for bringing this up. There is an open issue in Bugzilla - src:local() @font-face rules doesn't work on Android. But in this case you are mentioning a src:url, so I don't know if they are related.

Also, can you please confirm if you are using NoScript or any other plugin on your browser and if there are settings that differ for the normal tabs vs. private tabs (noscript has an option to block @font-face).

Would it be possible for you to create a sample for testing this?

Thank you

由gnittala于修改