DevTools Fonts panel does not react to dynamically applied font faces
Categories
(DevTools :: Inspector, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: me, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:72.0) Gecko/20100101 Firefox/72.0
Steps to reproduce:
- Opened https://www.kijijiautos.ca/
- Opened Developer Tools -> Inspector -> Fonts
- Reloaded the page
- Opened Fonts -> All Fonts on page
- Copied the URI of the first font
Actual results:
The shown and copied URI was https://www.kijijiautos.ca/static/fonts/LarsseitRegular-kern-5b5db003.woff2
After pasting "½" anywhere on the page the URI is updated with the correct value. Correct value is also shown if the developer tools are open after the page load.
Expected results:
The URI should have been https://www.kijijiautos.ca/static/fonts/LarsseitRegular-hint-all-1bd7b3f0.woff2
The page in question uses "2 stage font loading" as described on https://www.zachleat.com/web/css-tricks-web-fonts/
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Indeed, the Fonts panel does not react to dynamically loaded resources, like font files / font faces.
Until this is addressed, the workaround is to click any node in the Elements panel, then copy the font face URL from the All Fonts section. The node selection makes the Fonts panel do a fresh query for matching fonts which will catch any recently loaded fonts.
Updated•6 years ago
|
| Assignee | ||
Updated•5 years ago
|
Updated•3 years ago
|
Description
•