Closed Bug 1846965 Opened 1 year ago Closed 8 months ago

The text is bolder on "my account" page on globo.com

Categories

(Web Compatibility :: Site Reports, defect, P3)

Firefox 118
Desktop
Windows 10

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1848345

People

(Reporter: ctanase, Unassigned)

References

()

Details

Attachments

(1 file)

Environment:
Operating system: Windows 10
Firefox version: Nightly 118.0a1 (2023-08-02)

Preconditions: account created

Steps to reproduce:

  1. Go to https://www.globo.com
  2. Log into your account.
  3. Hover over the account icon.
  4. Click on the "Minha conta" button.
  5. Scroll down the page.
  6. Observe the font.

Expected Behaviour:
The text is not bolded.

Actual Behaviour:
The text is bolder.

Notes:

  1. Screenshot provided
  2. Reproducible on Firefox Release as well
  3. Not reproducible on Chrome
  4. Issue found during WebCompat team [Top100] websites testing
See Also: → 1848345

This is about the text "Dados Pessoais" and so on, I guess?

In that case, this is a site authoring issue. They're using a webfont "GlobotipoTexto-Bd", which is inherently a bold face, but it's declared with a @font-face rule that does not specify the font-weight (and therefore treats it as font-weight:400):

@font-face { font-family: "GlobotipoTexto-Bd"; src: url("https://s3.glbimg.com/cdn/fonts/globotipo/texto/Globo_Tx_Bd.woff2") format("woff2"), url("https://s3.glbimg.com/cdn/fonts/globotipo/texto/Globo_Tx_Bd.woff") format("woff"), url("https://s3.glbimg.com/cdn/fonts/globotipo/texto/Globo_Tx_Bd.ttf") format("truetype"); font-style: normal; }

Then the page applies font-weight: 700 to the element (via the liNYvh class, although as it's an <h2> it would be bold even without that). As the font was (implicitly) declared to be normal weight, Firefox applies synthetic bold to it.

They could prevent this by specifying an appropriate font-weight: bold descriptor in the @font-face rule, or by applying the font-synthesis-weight: none property to prevent synthetic-bold being used.

Verified this issue and it's still reproducible on Firefox versions 122 and 124.

Closing this as duplicate of https://bugzilla.mozilla.org/show_bug.cgi?id=1848345

Status: NEW → RESOLVED
Closed: 8 months ago
Duplicate of bug: 1848345
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: