Closed Bug 1810247 Opened 2 years ago Closed 2 years ago

css font family on select option with web font doesn't work

Categories

(Core :: Layout: Form Controls, defect)

Firefox 108
defect

Tracking

()

RESOLVED DUPLICATE of bug 1576820

People

(Reporter: damien.fonvieille81, Unassigned)

Details

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

Steps to reproduce:

I had some css to customize font-family of the select option.
I'm using google fonts and webfont load on the website i'm working on.
css exemple :
select, option, my-option-class {
font-family: montserrat;
}

Actual results:

The font doesn't render. it only work with local font like sans-serif...

Expected results:

The font declare on the website should show on the option.
it works on other browser and html element.

The Bugbug bot thinks this bug should belong to the 'Core::Layout: Form Controls' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1576820
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.