Files
firefox/layout/reftests/forms/select/listbox-zero-row-initial.html
T
L. David Baron 371d3df247 Bug 1380521 - Use a more reliably invalid initial mBSizeOfARow so that we reflow properly if it changes to zero. r=dholbert
This fixes a failure in layout/reftests/bugs/467084-1.html, triggered by
the primary patch in bug 1308876, on Android only (or on all platforms
if I add 'html { overflow: hidden }').

I confirmed locally (on Linux) that, without this patch, both
layout/reftests/bugs/467084-1.html with 'html { overflow: hidden }', and
the reftest added here, fail, but that with the patch they both pass.

MozReview-Commit-ID: 3SjTlnBngBV
2017-07-12 19:37:11 -07:00

15 lines
267 B
HTML

<!DOCTYPE HTML>
<title>Testcase for initial reflow of zero height options</title>
<style>
html { overflow: hidden }
option { height: 0; min-height: 0 }
</style>
<select size="3">
<option>One</option>
<option>Two</option>
<option>Three</option>
</select>