Reftests for bug 391412 - Regression in float layout causing clear: to be ignored, r=bzbarsky

This commit is contained in:
martijn.martijn@gmail.com 2007-10-22 15:33:41 -07:00
Родитель 723f86ac2f
Коммит b2157bb1a7
4 изменённых файлов: 32 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,8 @@
<html><head>
<title>Testcase bug 391412 – Regression in float layout causing "clear:" to be ignored</title>
</head>
<body>
<div style="width: 400px; height: 400px; background-color: lime;">
</div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,11 @@
<html><head>
<title>Testcase bug 391412 – Regression in float layout causing "clear:" to be ignored</title>
</head>
<body>
<div style="width: 400px; height: 400px; background-color: red;">
<div style="float:left; width: 100%; background-color: lime;">
<div style="float: left; width: 100%; margin-right: -100%; height: 400px;"></div>
</div>
</div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,11 @@
<html><head>
<title>Testcase bug 391412 – Regression in float layout causing "clear:" to be ignored</title>
</head>
<body>
<div style="width: 400px; height: 400px; background-color: red;">
<div style="float:left; width: 100%; background-color: lime;">
<div style="float: right; width: 100%; margin-left:-100%; height: 400px;"></div>
</div>
</div>
</body>
</html>

Просмотреть файл

@ -390,6 +390,8 @@ fails == 386310-1d.html 386310-1-ref.html
== 390318-1b.html 390318-1-ref.html
== 391045.html 391045-ref.html # windows-specific bug, appears to pass on other platforms because of missing fonts
== 391140-1.html 391140-1-ref.html
== 391412-1a.html 391412-1-ref.html
== 391412-1b.html 391412-1-ref.html
== 391909-1.html 391909-1-ref.html
== 391994-1.html 391994-1-ref.html
== 392435-1.html 392435-1-ref.html