Open
Bug 1438567
Opened 7 years ago
Updated 2 years ago
font-display doesn’t repaint correctly when mixing font-display: optional and swap
Categories
(Core :: Graphics: Text, defect, P3)
Tracking
()
UNCONFIRMED
People
(Reporter: zachleatherman, Unassigned, NeedInfo)
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file)
589 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20180206200532
Steps to reproduce:
Navigate to the test case with two web fonts, one roman and one italic. Roman uses font-display: swap and Italic uses font-display: optional.
Actual results:
The italic element (<em>) was rendered using the serif fallback font
Expected results:
The italic element should be rendered using the roman web font and use font-synthesis to do a faux italic rendering.
Reporter | ||
Comment 1•7 years ago
|
||
Related:
* Chrome closed this bug as wontfix: https://bugs.chromium.org/p/chromium/issues/detail?id=811756
* This works as expected in Safari Technology Preview
Updated•7 years ago
|
Component: Untriaged → Graphics: Text
Product: Firefox → Core
Updated•7 years ago
|
Flags: needinfo?(jfkthame)
Whiteboard: [gfx-noted]
Updated•7 years ago
|
Priority: -- → P3
Comment 2•6 years ago
|
||
For optimal performance, without requiring a bunch of JavaScript code (not good for performance and maintenance at least), it would be awesome being able to set `font-display: fallback` for the roman, and `font-display: optional` for the italic, bold, and italic bold.
Is there anything new on this topic for Firefox?
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•