Bug 249141 - Incorrect header cropping on narrow tree columns (ellipsis in wrong column); reftest; r=roc

This commit is contained in:
Karsten Düsterloh 2009-02-24 17:53:29 +01:00
Родитель 7728e4c165
Коммит eeb36a55bc
3 изменённых файлов: 47 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="data:text/css,
label
{
text-align: right;
}
"?>
<window id="window" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<vbox>
<hbox><label value="20px **************"/><label crop="end" value="&#8230;" style="max-width: 20px; width: 20px; background: lime"/><spacer flex="1"/></hbox>
<hbox><label value="19px **************"/><label crop="end" value="&#8230;" style="max-width: 19px; width: 19px; background: yellow"/><spacer flex="1"/></hbox>
<hbox><label value="18px **************"/><label crop="end" value="&#8230;" style="max-width: 18px; width: 18px; background: lime"/><spacer flex="1"/></hbox>
<hbox><label value="17px **************"/><label crop="end" value="&#8230;" style="max-width: 17px; width: 17px; background: yellow"/><spacer flex="1"/></hbox>
<hbox><label value="16px **************"/><label crop="end" value="&#8230;" style="max-width: 16px; width: 16px; background: lime"/><spacer flex="1"/></hbox>
<hbox><label value="15px **************"/><label crop="end" value="&#8230;" style="max-width: 15px; width: 15px; background: yellow"/><spacer flex="1"/></hbox>
<hbox><label value="14px **************"/><label crop="end" value="&#8230;" style="max-width: 14px; width: 14px; background: lime"/><spacer flex="1"/></hbox>
<hbox><label value="13px **************"/><label crop="end" value="&#8230;" style="max-width: 13px; width: 13px; background: yellow"/><spacer flex="1"/></hbox>
<hbox><label value="12px **************"/><label crop="end" value="&#8230;" style="max-width: 12px; width: 12px; background: lime"/><spacer flex="1"/></hbox>
<hbox><label value="11px **************"/><label crop="end" value="&#8230;" style="max-width: 11px; width: 11px; background: yellow"/><spacer flex="1"/></hbox>
<hbox><label value="10px **************"/><label crop="end" value="&#8230;" style="max-width: 10px; width: 10px; background: lime"/><spacer flex="1"/></hbox>
</vbox>
</window>

Просмотреть файл

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="data:text/css,
label
{
text-align: right;
}
"?>
<window id="window" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<vbox>
<hbox><label value="20px **************"/><label crop="end" value="**************" style="max-width: 20px; background: lime"/><spacer flex="1"/></hbox>
<hbox><label value="19px **************"/><label crop="end" value="**************" style="max-width: 19px; background: yellow"/><spacer flex="1"/></hbox>
<hbox><label value="18px **************"/><label crop="end" value="**************" style="max-width: 18px; background: lime"/><spacer flex="1"/></hbox>
<hbox><label value="17px **************"/><label crop="end" value="**************" style="max-width: 17px; background: yellow"/><spacer flex="1"/></hbox>
<hbox><label value="16px **************"/><label crop="end" value="**************" style="max-width: 16px; background: lime"/><spacer flex="1"/></hbox>
<hbox><label value="15px **************"/><label crop="end" value="**************" style="max-width: 15px; background: yellow"/><spacer flex="1"/></hbox>
<hbox><label value="14px **************"/><label crop="end" value="**************" style="max-width: 14px; background: lime"/><spacer flex="1"/></hbox>
<hbox><label value="13px **************"/><label crop="end" value="**************" style="max-width: 13px; background: yellow"/><spacer flex="1"/></hbox>
<hbox><label value="12px **************"/><label crop="end" value="**************" style="max-width: 12px; background: lime"/><spacer flex="1"/></hbox>
<hbox><label value="11px **************"/><label crop="end" value="**************" style="max-width: 11px; background: yellow"/><spacer flex="1"/></hbox>
<hbox><label value="10px **************"/><label crop="end" value="**************" style="max-width: 10px; background: lime"/><spacer flex="1"/></hbox>
</vbox>
</window>

Просмотреть файл

@ -209,6 +209,7 @@ skip-if(MOZ_WIDGET_TOOLKIT=="cocoa") != 240536-resizer-ltr.xul 240536-resizer-rt
== 244135-1.html 244135-1-ref.html
== 244135-2.html 244135-2-ref.html
== 244932-1.html 244932-1-ref.html
== 249141.xul 249141-ref.xul
== 249982-1.html 249982-1-ref.html
== 252920-1.html 252920-1-ref.html
== 253701-1.html 253701-1-ref.html