Closed Bug 1654156 Opened 5 years ago Closed 5 years ago

SVG font-weight normal does not remove bold

Categories

(Core :: Layout: Text and Fonts, defect)

78 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: warren, Unassigned, NeedInfo)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Switched to Chrome to test font-weight in SVG

Actual results:

found that font-weight lighter seemed to reset it but not really

Expected results:

switching font-weight in SVG text from bold to normal should remove bold

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Layout: Text and Fonts
Product: Firefox → Core

Could you attach the testcase where you're seeing this issue, please? As far as I can see from a brief experiment, font-weight is working as expected for me (but I may not be trying an equivalent case to yours).

Flags: needinfo?(warren)

Needs to work the same inside an Iframe

Flags: needinfo?(warren)

An actual example/testcase that demonstrates the problem would be most helpful. You can attach it here using the "Attach New File" button above the comments. Then we can see exactly what situation you're encountering.

Flags: needinfo?(warren)

This bug report isn't actionable without SVG/HTML+CSS that demonstrates the problem.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.