layout/xul/base/reftest/image-scaling-min-height-1-ref.xul
author L. David Baron <dbaron@dbaron.org>
Fri, 19 Aug 2011 15:02:49 -0700
changeset 75562 e09d10ebeaa8f2000bcd521cd5563e24dd321d5d
permissions -rw-r--r--
Add reftest for bug 677091. This tests a situation similar to the one in the preference dialog in bug 677091, though in this case the bug is exhibited by the label overflowing its container (an hbox with a background) rather than wrapping.

<?xml version="1.0"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:html="http://www.w3.org/1999/xhtml">
<html:style><![CDATA[

window { -moz-box-align: start; -moz-box-pack: start }
hbox { background: yellow }
vbox { background: blue; width: 15px; height: 15px }

]]></html:style>

<hbox><vbox /><label value="a b c d e f" /></hbox>

</window>