mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
More regression tests
This commit is contained in:
parent
0134dcfd7b
commit
c5e91fa92d
32
layout/html/tests/formctls/base/button_overconstrained.html
Normal file
32
layout/html/tests/formctls/base/button_overconstrained.html
Normal file
@ -0,0 +1,32 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>input problem</title>
|
||||
</head>
|
||||
<body>
|
||||
<button style="">M</button><br>
|
||||
<button style="width: 1.5em">M</button><br>
|
||||
<button style="width: 1.5em;padding:0">M</button><br>
|
||||
<button style="width: 1.5em;padding:0;margin:0; font-weight: bold">M</button><br>
|
||||
<button style="width: 1.5em; padding:0.2em; margin:0;font-weight:bold;" >M</button><br>
|
||||
<hr>
|
||||
<button style="">My Fair Button</button><br>
|
||||
<button style="width: 1.5em">My Fair Button</button><br>
|
||||
<button style="width: 1.5em;padding:0">My Fair Button</button><br>
|
||||
<button style="width: 1.5em;padding:0;margin:0; font-weight: bold">My Fair Button</button><br>
|
||||
<button style="width: 1.5em; padding:0.2em; margin:0;font-weight:bold;" >My Fair Button</button><br>
|
||||
<hr>
|
||||
<button style="width: 40px">
|
||||
<img src="http://www.mozilla.org/images/mozilla-banner.gif"
|
||||
style="width: 29px; height: 20px">
|
||||
<img src="http://www.mozilla.org/images/mozilla-banner.gif"
|
||||
style="width: 13px; height: 20px">
|
||||
</button><br>
|
||||
<button style="width: 40px">
|
||||
<img src="http://www.mozilla.org/images/mozilla-banner.gif"
|
||||
style="width: 29px; height: 20px">
|
||||
<img src="http://www.mozilla.org/images/mozilla-banner.gif"
|
||||
style="width: 10px; height: 20px">
|
||||
</button><br>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -0,0 +1,33 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>input problem</title>
|
||||
</head>
|
||||
<body>
|
||||
<button style="">M</button><br>
|
||||
<button style="width: 1.5em">M</button><br>
|
||||
<button style="width: 1.5em;padding:0">M</button><br>
|
||||
<button style="width: 1.5em;padding:0;margin:0; font-weight: bold">M</button><br>
|
||||
<button style="width: 1.5em; padding:0.2em; margin:0;font-weight:bold;" >M</button><br>
|
||||
<hr>
|
||||
<button style="">My Fair Button</button><br>
|
||||
<button style="width: 1.5em">My Fair Button</button><br>
|
||||
<button style="width: 1.5em;padding:0">My Fair Button</button><br>
|
||||
<button style="width: 1.5em;padding:0;margin:0; font-weight: bold">My Fair Button</button><br>
|
||||
<button style="width: 1.5em; padding:0.2em; margin:0;font-weight:bold;" >My Fair Button</button><br>
|
||||
<hr>
|
||||
<button style="width: 40px">
|
||||
<img src="http://www.mozilla.org/images/mozilla-banner.gif"
|
||||
style="width: 29px; height: 20px">
|
||||
<img src="http://www.mozilla.org/images/mozilla-banner.gif"
|
||||
style="width: 13px; height: 20px">
|
||||
</button><br>
|
||||
<button style="width: 40px">
|
||||
<img src="http://www.mozilla.org/images/mozilla-banner.gif"
|
||||
style="width: 29px; height: 20px">
|
||||
<img src="http://www.mozilla.org/images/mozilla-banner.gif"
|
||||
style="width: 10px; height: 20px">
|
||||
</button><br>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<title>
|
||||
Tests HTML buttons and min/max-width, quirks mode
|
||||
</title>
|
||||
<body>
|
||||
<div style="width: 0px">
|
||||
<button>Some Text</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,11 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html>
|
||||
<title>
|
||||
Tests HTML buttons and min/max-width, standards mode
|
||||
</title>
|
||||
<body>
|
||||
<div style="width: 0px">
|
||||
<button>Some Text</button>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
@ -0,0 +1,19 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>input problem</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="button" style="" value="M"><br>
|
||||
<input type="button" style="width: 1.5em" value="M"><br>
|
||||
<input type="button" style="width: 1.5em;padding:0" value="M"><br>
|
||||
<input type="button" style="width: 1.5em;padding:0;margin:0; font-weight: bold" value="M"><br>
|
||||
<input type="button" style="width: 1.5em; padding:0.2em; margin:0;font-weight:bold;" value="M"><br>
|
||||
<hr>
|
||||
<input type="button" style="" value="My Fair Button"><br>
|
||||
<input type="button" style="width: 1.5em" value="My Fair Button"><br>
|
||||
<input type="button" style="width: 1.5em;padding:0" value="My Fair Button"><br>
|
||||
<input type="button" style="width: 1.5em;padding:0;margin:0; font-weight: bold" value="My Fair Button"><br>
|
||||
<input type="button" style="width: 1.5em; padding:0.2em; margin:0;font-weight:bold;" value="My Fair Button"><br>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -0,0 +1,20 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>input problem</title>
|
||||
</head>
|
||||
<body>
|
||||
<input type="button" style="" value="M"><br>
|
||||
<input type="button" style="width: 1.5em" value="M"><br>
|
||||
<input type="button" style="width: 1.5em;padding:0" value="M"><br>
|
||||
<input type="button" style="width: 1.5em;padding:0;margin:0; font-weight: bold" value="M"><br>
|
||||
<input type="button" style="width: 1.5em; padding:0.2em; margin:0;font-weight:bold;" value="M"><br>
|
||||
<hr>
|
||||
<input type="button" style="" value="My Fair Button"><br>
|
||||
<input type="button" style="width: 1.5em" value="My Fair Button"><br>
|
||||
<input type="button" style="width: 1.5em;padding:0" value="My Fair Button"><br>
|
||||
<input type="button" style="width: 1.5em;padding:0;margin:0; font-weight: bold" value="My Fair Button"><br>
|
||||
<input type="button" style="width: 1.5em; padding:0.2em; margin:0;font-weight:bold;" value="My Fair Button"><br>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -40,3 +40,10 @@ button_no_margin_strict.html
|
||||
button_with_margin.html
|
||||
button_with_margin_strict.html
|
||||
button_min_max_widths.html
|
||||
button_min_max_widths_strict.html
|
||||
button_small_avail_width.html
|
||||
button_small_avail_width_strict.html
|
||||
button_overconstrained.html
|
||||
button_overconstrained_strict.html
|
||||
input_button_overconstrained.html
|
||||
input_button_overconstrained_strict.html
|
||||
|
Loading…
x
Reference in New Issue
Block a user