Created attachment 8779879 [details] More than 5 options are visible. User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36 Steps to reproduce: Open https://jsfiddle.net/tj2bpy3g/ in Firefox 48.0-1 on Debian sid. Test code (screenshot attached): <select size="5"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option value="kn-IN">Kannada (India) - ಕನ್ನಡ (ಭಾರತ)</option> </select> Actual results: The number of visible options was 6. Expected results: The number of visible options should have been 5. Additional info: The number of visible options is 5 on Chrome 52.0.2743.82 (64-bit), as expected.
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Version: 47 Branch → 48 Branch
Component: Untriaged → Layout: Form Controls
Product: Firefox → Core
For the jsfiddle link above, I see 7 visible options in Chrome Version 62.0.3188.2 on Linux.
Created attachment 8902321 [details] Testcase Looks like we handle this testcase roughly the same as Chrome.
It's not clear to me if we should try to improve this or not. It requires a lot more testing of various cases comparing our rendering with other UAs before we change anything, to avoid causing web-compat issues. In any case, this issue seems minor.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P4
You need to log in before you can comment on or make changes to this bug.