Fix bug in reference rendering for percent-truncation-3: the min widths of the columns need to match the test, since we size between percent and min. b=370720

This commit is contained in:
dbaron%dbaron.org 2007-02-19 21:24:53 +00:00
Родитель 02f59d4ce8
Коммит 0636b798d4
2 изменённых файлов: 6 добавлений и 4 удалений

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

@ -290,7 +290,7 @@ fails == object/svg-with-type.html object/svg-with-type-ref.html
== table-width/conflicting-percent-widths-3.html table-width/conflicting-percent-widths-3-ref.html
== table-width/percent-truncation-1.html table-width/percent-truncation-1-ref.html
== table-width/percent-truncation-2.html table-width/percent-truncation-2-ref.html
random == table-width/percent-truncation-3.html table-width/percent-truncation-3-ref.html # bug 370720
== table-width/percent-truncation-3.html table-width/percent-truncation-3-ref.html
# xul-document-load/
include xul-document-load/reftest.list

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

@ -20,10 +20,12 @@ td {
</head>
<body>
<!-- column min widths must match tests, since we have to size slightly
smaller than percents because of the extra space from the borders -->
<table width="100%"><tr height="50">
<td style="background:yellow" width="40%"></td>
<td style="background:aqua" width="40%"></td>
<td style="background:fuchsia" width="20%"></td>
<td style="background:yellow" width="40%"><div style="width:100px"></div></td>
<td style="background:aqua" width="40%"><div style="width:100px"></div></td>
<td style="background:fuchsia" width="20%"><div style="width:100px"></div></td>
<td style="background:blue"></td>
</tr></table>