본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

HTML <Select> dropdowns showing double spaced in FF Quantum v57.0 64 bit

  • 4 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: Shutey

more options

Websites using HTML <select> type dropdown menus including some I developed myself are all showing dropdown items double spaced since installing Firefox Quantum. I have tried safe mode and altering the theme in customize but it makes no difference.

Websites using HTML <select> type dropdown menus including some I developed myself are all showing dropdown items double spaced since installing Firefox Quantum. I have tried safe mode and altering the theme in customize but it makes no difference.

모든 댓글 (4)

more options

Could you link to a page showing this problem?

When Multiprocess was rolled out around Firefox 50, the options of select controls reverted to pure unstyled system font appearance. Since then various style properties have been re-enabled. It's possible that this partial support is now causing strange results on some sites, but it would be easiest to look at specific cases.

more options

Try the language dropdown on the top right of this page https://www.google.com/doodles

more options

This drop down list inherits the CSS rules for the body element if I check this in the Inspector (right-click: Inspect Element) with a line-height: 1.2em.

body {
    font-family: 'Roboto',arial,sans-serif;
    font-weight: 300;
    line-height: 1.2em;
}
more options

Yes it does inherit the CSS rules but the line-height element has no impact on a HTML dropdown. In FF56, the line-height was rendered by the browser at about 1.2em, in FF57 it appears to render it at about 2em. While this does not alter the functionality, it does make dropdowns bigger and thus less accessible to users with mobility impairments as well as less attractive when the content of the dropdown is narrow such as two characters e.g., ages or area codes on a form.

I suspect the increased line-height is intended for the minority of users with a touch screen (I am one of them) but should be linked to the "Density" setting in customize.