Closed Bug 1878533 Opened 1 year ago Closed 7 months ago

Font inspector reports the wrong actual used font-weight

Categories

(DevTools :: Inspector, defect, P3)

Firefox 122
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: tim.korn, Unassigned)

Details

Attachments

(1 file)

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.

Component: Untriaged → Inspector
Product: Firefox → DevTools
Type: enhancement → defect

Thanks for the report, do you have a publicly available test case where we could reproduce the issue?

Severity: -- → S3
Flags: needinfo?(tim.korn)
Priority: -- → P3

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.

Status: UNCONFIRMED → RESOLVED
Closed: 7 months ago
Flags: needinfo?(tim.korn)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: