Adding testcases for bug 342531 and bug 357449 to the layout regression test suite.
git-svn-id: svn://10.0.0.236/trunk@214209 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e6145df5ca
commit
3d346d69fc
102
mozilla/layout/html/tests/formctls/bugs/bug342531.html
Normal file
102
mozilla/layout/html/tests/formctls/bugs/bug342531.html
Normal file
@ -0,0 +1,102 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html><head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>Testcase #2 for bug 342531</title>
|
||||
<style type="text/css">
|
||||
|
||||
html,body {
|
||||
color:black; background-color: white; font-size:16px; padding:0; margin:0;
|
||||
}
|
||||
|
||||
.float { float:left; clear:both; width:200px; border:solid red 2px; }
|
||||
.block { display:block; margin-left: 250px; background: yellow; border: solid blue 2px;}
|
||||
.inline {display:inline; margin-left: 250px; background: yellow; border: solid blue 2px;}
|
||||
.wrap {overflow:hidden;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<span class="block">non-replaced block</span>
|
||||
<div class="float">float</div>
|
||||
<span class="inline">non-replaced inline</span>
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<input class="block" value="INPUT block">
|
||||
<div class="float">float</div>
|
||||
<input class="inline" value="INPUT inline">
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<textarea class="block">TEXTAREA block</textarea>
|
||||
<div class="float">float</div>
|
||||
<textarea class="inline">TEXTAREA inline</textarea>
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<select size="1" class="block"><option>Combobox block</option></select>
|
||||
<div class="float">float</div>
|
||||
<select size="1" class="inline"><option>Combobox inline</option></select>
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<select multiple class="block"><option>List block</option></select>
|
||||
<div class="float">float</div>
|
||||
<select multiple class="inline"><option>List inline</option></select>
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<button class="block">BUTTON block</button>
|
||||
<div class="float">float</div>
|
||||
<button class="inline">BUTTON inline</button>
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<fieldset class="block">FIELDSET block</fieldset>
|
||||
<div class="float">float</div>
|
||||
<fieldset class="inline">FIELDSET inline</fieldset>
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<input type="radio" class="block">
|
||||
<div class="float">float</div>
|
||||
<input type="radio" class="inline">
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<input type="checkbox" class="block">
|
||||
<div class="float">float</div>
|
||||
<input type="checkbox" class="inline">
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<label type="checkbox" class="block">LABEL block</label>
|
||||
<div class="float">float</div>
|
||||
<label type="checkbox" class="inline">LABEL inline</label>
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<isindex class="block" prompt="ISINDEX block">
|
||||
<div class="float">float</div>
|
||||
<isindex class="inline" prompt="ISINDEX inline">
|
||||
</div>
|
||||
<div class="wrap">
|
||||
<div class="float">float</div>
|
||||
<img src="http://www.mozilla.org/images/hack.gif" class="block">
|
||||
<div class="float">float</div>
|
||||
<img src="http://www.mozilla.org/images/hack.gif" class="inline">
|
||||
</div>
|
||||
<div class="wrap">
|
||||
HR:
|
||||
<div class="float">float</div>
|
||||
<hr class="block">
|
||||
<div class="float">float</div>
|
||||
<hr class="inline">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
22
mozilla/layout/html/tests/formctls/bugs/bug357449.html
Normal file
22
mozilla/layout/html/tests/formctls/bugs/bug357449.html
Normal file
@ -0,0 +1,22 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html><head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
||||
<title>Testcase #1 for bug 357449</title>
|
||||
<style type="text/css">
|
||||
.s1 { font-size:72px; }
|
||||
.s2 { font-size:144px; }
|
||||
.s3 { font-size:192px; }
|
||||
|
||||
select { height:60px; background-color:lime; margin-bottom: 10px; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<select class="s1"><option>jMey</option></select><br>
|
||||
<select class="s2"><option>jMey</option></select><br>
|
||||
<select class="s3"><option>jMey</option></select><br>
|
||||
<select class="s4"><option>jMey</option></select><br>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -114,3 +114,5 @@ bug95937.html
|
||||
bug96506.html
|
||||
bug96604.html
|
||||
bug98918.html
|
||||
bug342531.html
|
||||
bug357449.html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user