Closed
Bug 1493194
Opened 7 years ago
Closed 7 years ago
Fallback web font file is requested before the first web font in a font-family stack has finished loading
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1422530
| Tracking | Status | |
|---|---|---|
| firefox62 | --- | affected |
People
(Reporter: zachleatherman, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:62.0) Gecko/20100101 Firefox/62.0
Build ID: 20180830143136
Steps to reproduce:
Opened `fallback-stack-reduced.html`
Actual results:
Both the LatoSubset and Lato web fonts were loaded in parallel and requested simultaneously.
Expected results:
Per the spec, the Font Matching Algorithm Steps 3–5 occur for LatoSubset and a single font should be downloaded. Then Step 6 is reached after LatoSubset is downloaded and Steps 3–5 should be repeated for Lato.
https://www.w3.org/TR/css-fonts-3/#font-matching-algorithm
They are downloaded sequentially (not in parallel) in both Chrome and Safari.
Comment 1•7 years ago
|
||
Thanks for the report Zach!
Jonathan, do you know if this is a known bug?
status-firefox62:
--- → affected
Component: Untriaged → Layout: Text and Fonts
Flags: needinfo?(jfkthame)
Product: Firefox → Core
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•7 years ago
|
||
I don't recall an existing report that matches this; it does sound like the behavior is not as expected, though, if I'm understanding right.
Zach, do you have a test site we can look at where this problem occurs? Just loading the attached testcase isn't a good example, because the font files aren't found at all on bugzilla.mozilla.org.
Flags: needinfo?(jfkthame) → needinfo?(zachleatherman)
| Reporter | ||
Comment 3•7 years ago
|
||
Ah yes, of course sorry.
The test with working font files is hosted here: https://www.zachleat.com/web-fonts/demos/fallback-stack-reduced.html
Flags: needinfo?(zachleatherman)
Comment 4•7 years ago
|
||
Loading the testcase in Nightly (64.0a1), the two font files appear to be loaded in sequence, as expected.
Could you try with Nightly (https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly) and see if you still experience the problem? It seems possible the underlying issue has already been fixed.
Flags: needinfo?(zachleatherman)
Comment 5•7 years ago
|
||
Aha -- I believe this is the same issue as bug 1422530, which was fixed for Firefox 63.
Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(zachleatherman)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•