зеркало из https://github.com/mozilla/pjs.git
Add testcases for 153429.
This commit is contained in:
Родитель
3c6f168252
Коммит
8866552965
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Testcase, bug 153429</title>
|
||||
</head>
|
||||
<body
|
||||
><table width="50">
|
||||
<tr>
|
||||
<td
|
||||
><div style="margin-bottom: -7px"><hr></div
|
||||
><img src="http://mozilla.org/images/mozilla-banner.gif" width="336" height="80" align="right" alt=""
|
||||
><span style="font-size: 30px">ARatherLongWord</span
|
||||
></td>
|
||||
</tr>
|
||||
</table
|
||||
></body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
<title>Regression testcase, bug 153429</title>
|
||||
<style type="text/css">
|
||||
|
||||
div {
|
||||
width: 400px;
|
||||
border: medium solid green;
|
||||
}
|
||||
|
||||
div > div {
|
||||
width: 380px;
|
||||
height: 4em;
|
||||
float: left;
|
||||
border: medium solid purple;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<div>
|
||||
<div></div>
|
||||
This is some text. How does it wrap around the float?
|
||||
</div>
|
|
@ -0,0 +1,37 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<title>Testcase, correctness bug fixed by patch to bug 153429</title>
|
||||
<style type="text/css">
|
||||
|
||||
div {
|
||||
border: medium solid purple;
|
||||
padding: 0.25em;
|
||||
margin: 1px;
|
||||
|
||||
}
|
||||
|
||||
#contain {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
#one {
|
||||
margin-bottom: 100px;
|
||||
}
|
||||
|
||||
#two {
|
||||
float: left;
|
||||
width: 370px;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="contain">
|
||||
<div id="one">This <code>div</code> (1) has a 100 px bottom margin.</div>
|
||||
<div id="two">This <code>div</code> (2) is floating left and is 200px tall.</div>
|
||||
This is text that should end up just below <code>div</code> (2) since it
|
||||
can't fit next to it. There should not be a large gap above it.
|
||||
</div>
|
|
@ -197,6 +197,9 @@ file:///s:/mozilla/layout/html/tests/block/bugs/134580-1.html
|
|||
file:///s:/mozilla/layout/html/tests/block/bugs/134580-2.html
|
||||
file:///s:/mozilla/layout/html/tests/block/bugs/148245.html
|
||||
file:///s:/mozilla/layout/html/tests/block/bugs/151620.html
|
||||
file:///s:/mozilla/layout/html/tests/block/bugs/153429a.html
|
||||
file:///s:/mozilla/layout/html/tests/block/bugs/153429b.html
|
||||
file:///s:/mozilla/layout/html/tests/block/bugs/153429c.html
|
||||
file:///s:/mozilla/layout/html/tests/block/bugs/155333-1.html
|
||||
file:///s:/mozilla/layout/html/tests/block/bugs/155333-2.html
|
||||
file:///s:/mozilla/layout/html/tests/block/bugs/154741.html
|
||||
|
|
|
@ -197,6 +197,9 @@
|
|||
134580-2.html
|
||||
148245.html
|
||||
151620.html
|
||||
153429a.html
|
||||
153429b.html
|
||||
153429c.html
|
||||
155333-1.html
|
||||
155333-2.html
|
||||
154741.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче