5

Select elements seem to get double the text-indent when a percentage is specifie...

 2 years ago
source link: https://bugzilla.mozilla.org/show_bug.cgi?id=1477110
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Open Bug 1477110 Opened 3 years ago Updated 7 months ago

Select elements seem to get double the text-indent when a percentage is specified.

Categories

(Core :: Layout: Form Controls, defect, P3)

Tracking

(NEW bug found in Firefox 63 which is in the backlog of work)

People

(Reporter: twisniewski, Unassigned)

References

Details

(Whiteboard: [webcompat])

Select elements given a percentage text-indent seem to use twice the percentage specified (or at least this appears so in the attached test-case).

Chrome would seem to be using the expected amount.

This appears to be causing the interop issue in webcompat.com #8842.

I'm not certain if this is related at all to bug 1476051, but it happens regardless of whether -moz-appearance is used.
Flags: webcompat?
Odd! There are several helper-boxes involved in select elements -- I would bet we're applying the text-indent at two different levels (to two different nested helper-boxes), or something like that.
Priority: -- → P3

Migrating Webcompat whiteboard priorities to project flags. See bug 1547409.

Webcompat Priority: --- → ?

See bug 1547409. Migrating whiteboard priority tags to program flags.

Webcompat Priority: ? → revisit

This also occurs for px text-indent values, in the latest Firefox (82.0.2 (64-bit)) and on macOS 10.15.7.

Attached is an updated test which shows both cases. The first select box should have its value printed in the middle of the third marker, while the second select box should have its value aligned with its second marker.

You need to log in before you can comment on or make changes to this bug.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK