1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/xul/textbox-overflow-1.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,10 @@ 1.4 +<?xml version="1.0"?> 1.5 +<!-- bug 749658 - The cropped label should *not* cause a scroll bar to appear. 1.6 + If it does, the scrollbars in the testcase and reference will differ 1.7 + because the total scroll-overflow extent will be different. --> 1.8 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" align="left"> 1.9 + <hbox width="150px" style="overflow: scroll"> 1.10 + <label value="A very long label for a small item that should not trigger a scroll bar" 1.11 + width="120px" crop="right"/> 1.12 + </hbox> 1.13 +</window>