Initial checkin of test
git-svn-id: svn://10.0.0.236/trunk@52733 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
8fae81516b
commit
17f32ce4ba
44
mozilla/layout/html/tests/formctls/button_css_sizing.html
Normal file
44
mozilla/layout/html/tests/formctls/button_css_sizing.html
Normal file
@ -0,0 +1,44 @@
|
||||
<html>
|
||||
<body bgcolor="#c0d0f0">
|
||||
<form>
|
||||
This is a normal button with no CSS sizing, <br>
|
||||
on Windows this sizes to 66x27:<br>
|
||||
<input type="button" value="Press Me">
|
||||
<br>
|
||||
On Windows this should be sizing to 84x24<br>
|
||||
here is a div that emulates it:<br>
|
||||
<center>
|
||||
<div style="border:2px lightgray outset;background-color:#c0c0c0;width:80px;height:20px;">Press Me</div>
|
||||
</center>
|
||||
<br>
|
||||
<hr>
|
||||
<div style="background-color:blue;color:yellow;width:200px">200px wide</div><br>
|
||||
This button should be 200x60<br>
|
||||
<input type="button" value="Press Me"style="width:200px;height:60px;">
|
||||
<br>
|
||||
<br>
|
||||
<div style="background-color:blue;color:yellow;width:100px;height:21;">100x21</div><br>
|
||||
This button should be 100x21<br>
|
||||
<input type="button" value="Press Me with Really long title"style="width:100px;height:21px">
|
||||
<br>
|
||||
<br>
|
||||
This button should be 100x21<br>
|
||||
<input type="button" value="Presssssssssssssssssssssssssss"style="width:100px;height:21px">
|
||||
<br>
|
||||
<br>
|
||||
<div style="background-color:blue;color:yellow;width:200px">200px wide</div><br>
|
||||
This button should be 200x60<br>
|
||||
<button style="width:200px;height:60px;">Press Me</button>
|
||||
<br>
|
||||
<br>
|
||||
<div style="background-color:blue;color:yellow;width:100px;height:21;"> 100x21</div><br>
|
||||
This button should be 100x21<br>
|
||||
<button style="width:100px;height:21px;">Press Me with Really long title</button>
|
||||
<br>
|
||||
<br>
|
||||
This button should be 100x21<br>
|
||||
<button style="width:100px;height:21px;">Presssssssssssssssssssssssssss</button>
|
||||
<br>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
34
mozilla/layout/html/tests/formctls/button_sizing_tests.html
Normal file
34
mozilla/layout/html/tests/formctls/button_sizing_tests.html
Normal file
@ -0,0 +1,34 @@
|
||||
<html>
|
||||
<title>
|
||||
Tests button sizes (for NavQuirks)
|
||||
</title>
|
||||
<body bgcolor="#c0d0f0" text="#000000">
|
||||
<form>
|
||||
<input type=button value="Hello"><br>
|
||||
<input type=button value="Hello"><br>
|
||||
|
||||
<br>
|
||||
<input type=button value="This is a long button"><br>
|
||||
<input type=button value="This is a long button"><br>
|
||||
<br>
|
||||
<input type=submit value="Submit"><br>
|
||||
<input type=submit value="Submit"><br>
|
||||
<br>
|
||||
<input type=reset value="Reset"><br>
|
||||
<input type=reset value="Reset"><br>
|
||||
<br>
|
||||
<input type=reset><br>
|
||||
<input type=reset><br>
|
||||
<br>
|
||||
<input type=submit><br>
|
||||
<input type=submit><br>
|
||||
<br>
|
||||
vinput type=submit><br>
|
||||
<input type=submit><br>
|
||||
<br>
|
||||
<input type=button><br>
|
||||
<input type=button><br>
|
||||
<br>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user