gecko/layout/reftests/xul/menulist-shrinkwrap-1-ref.xul
L. David Baron 70907dde4b Add reftests for bug 623922.
menulist-shrinkwrap-1 tests one of the important characteristics of the
fix:  that the intrinsic size of a menulist doesn't depend on which item
is selected.  It passes both with and without the patch, across
platforms.

menulist-shrinkwrap-2 tests the actual bug being fixed:  that a menulist
at its intrinsic size doesn't truncate some of the items with "...".  It
passes on Mac OS X with and without this patch.  This patch changes it
from failing to passing on Linux.  It fails on Windows XP and Windows 7
both with and without the patch, although the patch slightly reduces the
amount of text truncated on Windows 7, from "long i..." to "long it...",
although it's constant at "long i..." on Windows XP.
2011-06-29 14:39:21 -07:00

10 lines
301 B
XML

<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" align="left">
<menulist style="color: transparent">
<menupopup>
<menuitem value="1" label="short" />
<menuitem value="2" label="long item" />
</menupopup>
</menulist>
</window>