Font inspector reports the wrong actual used font-weight
Categories
(DevTools :: Inspector, defect, P3)
Tracking
(Not tracked)
People
(Reporter: tim.korn, Unassigned)
Details
Attachments
(1 file)
43.47 KB,
image/png
|
Details |
Steps to reproduce:
Import only font-weight 300 via JS (font is installed):
import '@fontsource/poppins/300.min.css'
define font and weight in CSS:
#hero h1 {
margin: 0;
font-size: 56px;
font-weight: 700;
line-height: 64px;
color: var(--color-main-000);
font-family: "Poppins", sans-serif;
}
Actual results:
The h1-headlines is displayed in a thinner font as defined (so far OK, because weight 700 was not imported).
Inspector for fonts (https://firefox-source-docs.mozilla.org/devtools-user/page_inspector/how_to/edit_fonts/index.html#weight) does report "700" as actually used font-weight.
Expected results:
The inspector for fonts (https://firefox-source-docs.mozilla.org/devtools-user/page_inspector/how_to/edit_fonts/index.html#weight) should have shown "300" as actually used font.
![]() |
||
Updated•1 year ago
|
Updated•11 months ago
|
Comment 1•11 months ago
|
||
Thanks for the report, do you have a publicly available test case where we could reproduce the issue?
Comment 2•7 months ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED
, closing the bug as incomplete.
For more information, please visit BugBot documentation.
Description
•