mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-04 13:07:52 +00:00
bug 749658 - reftest for unwanted scroll-overflow due to cropped textbox label. r=roc
This commit is contained in:
parent
4caeecec31
commit
3899208e5a
@ -1,3 +1,4 @@
|
||||
== menuitem-key.xul menuitem-key-ref.xul
|
||||
== menulist-shrinkwrap-1.xul menulist-shrinkwrap-1-ref.xul
|
||||
fails-if(Android) fails-if(winWidget) == menulist-shrinkwrap-2.xul menulist-shrinkwrap-2-ref.xul
|
||||
== textbox-overflow-1.xul textbox-overflow-1-ref.xul # for bug 749658
|
||||
|
10
layout/reftests/xul/textbox-overflow-1-ref.xul
Normal file
10
layout/reftests/xul/textbox-overflow-1-ref.xul
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- bug 749658 - The cropped label should *not* cause a scroll bar to appear.
|
||||
If it does, the scrollbars in the testcase and reference will differ
|
||||
because the total scroll-overflow extent will be different. -->
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" align="left">
|
||||
<hbox width="150px" style="overflow: scroll">
|
||||
<label value="A very long label for a small item"
|
||||
width="120px" crop="right"/>
|
||||
</hbox>
|
||||
</window>
|
10
layout/reftests/xul/textbox-overflow-1.xul
Normal file
10
layout/reftests/xul/textbox-overflow-1.xul
Normal file
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- bug 749658 - The cropped label should *not* cause a scroll bar to appear.
|
||||
If it does, the scrollbars in the testcase and reference will differ
|
||||
because the total scroll-overflow extent will be different. -->
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" align="left">
|
||||
<hbox width="150px" style="overflow: scroll">
|
||||
<label value="A very long label for a small item that should not trigger a scroll bar"
|
||||
width="120px" crop="right"/>
|
||||
</hbox>
|
||||
</window>
|
Loading…
x
Reference in New Issue
Block a user