html - Firefox 下拉选项字体大小未呈现

标签 html css firefox

我需要为 <option> 增加字体的 <select>列表。虽然这在 Chrome 中很容易实现,但在 Firefox 中唯一增加的是选中的选项。我的 Firefox 版本是 50.1.0

引用this fiddle ,我得到以下不同的结果:

火狐: Chrome result

Chrome : Firefox result

select {
  font-size: 200%;
}
<select>
    <option value="1">One</option>
    <option value="2">Two</option>
</select>

我希望在 Firefox 中也能获得与 Chrome 相同的行为。

最佳答案

这是 Firefox 中的一个错误,但仍未修复。

他们说已解决,但问题仍然存在。

禁用多进程,它将正常工作。

How to disable Multi-Process: (from LINK):

Go to about:config. Search for "browser.tabs.remote.autostart". There may be multiple results. Set them all to false and restart the browser.

错误链接:

https://bugzilla.mozilla.org/show_bug.cgi?id=910022

关于html - Firefox 下拉选项字体大小未呈现,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41244238/

相关文章:

jquery - HTML/CSS - 位于元素顶部的动画背景

css - Rangeslider 突出显示背景在 JQuery Mobile 中效果不佳

javascript - Firefox DOMContentLoaded 和加载事件在 textarea 中的大内容上非常慢

css - Firefox 30.0 - -moz-外观 : none not working

javascript - 如何在确认弹出窗口中对齐新行? (JavaScript)

html - 如何在使用 CSS 加载时将微调器设置到屏幕中间?

css - 如何在不激活父级悬停的情况下在子级中使用悬停?

javascript - 在 Video.js 中使用多个缩略图 Sprite

html - 将侧边栏移到页面右侧?这是漂浮物吗?我需要清楚吗?

Firefox 中的 Flash 不发送 HTTP REFERER 值