text input reftests

git-svn-id: svn://10.0.0.236/trunk@258401 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karlt+%karlt.net 2009-09-16 08:20:34 +00:00
parent 0ae39b94dd
commit cf947555aa
5 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/"?>
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml">
<hbox align="stretch">
<box style="height: 5em"/>
<html:input value="YO"/>
</hbox>
</window>

View File

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/"?>
<window title="test for bug 495959"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
onload="onLoad();">
<script type="application/javascript">
<![CDATA[
function onLoad()
{
var adjust = document.getElementById("adjust");
flush();
adjust.style.height = "5em";
}
function flush() { document.documentElement.getBoundingClientRect(); }
]]>
</script>
<hbox align="stretch">
<box id="adjust"/>
<html:input id="input" value="YO"/>
</hbox>
</window>

View File

@ -1,3 +1,5 @@
== input-file-width-clip-1.html input-file-width-clip-ref.html # bug 409587 == input-file-width-clip-1.html input-file-width-clip-ref.html # bug 409587
== input-text-size-1.html input-text-size-1-ref.html == input-text-size-1.html input-text-size-1-ref.html
== input-text-size-2.html input-text-size-2-ref.html == input-text-size-2.html input-text-size-2-ref.html
== input-text-dynamic-height-1.xul input-text-dynamic-height-1-ref.xul # bug 495959
== textbox-align-baseline-1.xul textbox-align-baseline-1-ref.xul # bug 494901

View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/"?>
<window title="textbox align=baseline reference"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml">
<html:style type="text/css">
label, textbox {
-moz-appearance: none;
border: none 0px;
margin: 0px;
padding: 0px;
}
</html:style>
<hbox align="center">
<label value="test"/>
<textbox value="text"/>
</hbox>
</window>

View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/"?>
<window title="textbox align=baseline test (bug 494901)"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml">
<html:style type="text/css">
label, textbox {
-moz-appearance: none;
border: none 0px;
margin: 0px;
padding: 0px;
}
</html:style>
<hbox align="baseline">
<label value="test"/>
<textbox value="text"/>
</hbox>
</window>