Closed Bug 1924798 Opened 1 year ago Closed 1 year ago

Select element sizing inheritance causes garbled characters

Categories

(Core :: Layout: Scrolling and Overflow, defect)

Firefox 131
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: jeremy, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0

Steps to reproduce:

  1. Create a select element in HTML
  2. Style the font size of the body using clamp (a mixture of percentages and vi units).
  3. Apply a font size of 1rem to the select element.

https://codepen.io/adactio/pen/MWNpMoy

Actual results:

When the select element is expanded, the characters in the option elements display as garbled gobbledegook.

Expected results:

The characters in the option elements should be displayed legibly.

Note: if the clamp declaration is applied directly to the select element, this bug doesn't occur. It only appears when calculating the value of 1rem.

https://codepen.io/adactio/pen/MWNpMoy

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

Component: Untriaged → Layout: Scrolling and Overflow
Product: Firefox → Core

Hmmm …after disabling (and then re-enabling) browser extensions, this problem no longer appears.

Sorry!

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