The text is bolder on "my account" page on globo.com
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Not tracked)
People
(Reporter: ctanase, Unassigned)
References
()
Details
(Whiteboard: [webcompat:sightline])
Attachments
(1 file)
|
147.53 KB,
image/png
|
Details |
Environment:
Operating system: Windows 10
Firefox version: Nightly 118.0a1 (2023-08-02)
Preconditions: account created
Steps to reproduce:
- Go to https://www.globo.com
- Log into your account.
- Hover over the account icon.
- Click on the "Minha conta" button.
- Scroll down the page.
- Observe the font.
Expected Behaviour:
The text is not bolded.
Actual Behaviour:
The text is bolder.
Notes:
- Screenshot provided
- Reproducible on Firefox Release as well
- Not reproducible on Chrome
- Issue found during WebCompat team [Top100] websites testing
Comment 1•2 years ago
|
||
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.
| Reporter | ||
Comment 2•2 years ago
|
||
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
Updated•1 year ago
|
Description
•