mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 20:47:44 +00:00
391757ac7f
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.
10 lines
301 B
XML
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="long item" />
|
|
<menuitem value="2" label="short" />
|
|
</menupopup>
|
|
</menulist>
|
|
</window>
|