bug 711864 - dEndY is already in the rowgroup r=mats

This commit is contained in:
Bernd 2012-01-09 07:37:16 +01:00
parent 0c4e2bbd70
commit 48a69ce9d3
3 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,15 @@
<html>
<body onload="document.querySelector('colgroup').style.borderLeft='6px solid green';">
<table style="border-collapse: collapse;">
<colgroup></colgroup>
<tbody>
<tr></tr>
</tbody>
<tbody>
<tr></tr>
<td></td>
<td colspan="2"></td>
</tbody>
</table>
</body>
</html>

View File

@ -123,4 +123,5 @@ load 695430-1.html
load 707622-1.html
load 705996-1.html
load 705996-2.html
load 711864-1.html
load 710098-1.html

View File

@ -5058,7 +5058,7 @@ nsTableFrame::ExpandBCDamageArea(nsRect& aRect) const
else if ((dEndY >= rgStartY) && (dEndY <= rgEndY)) {
// the damage area ends in the row group
iterStartY = rgStartY;
iterEndY = NS_MIN(dEndY, rgStartY);
iterEndY = dEndY;
}
else if ((rgStartY >= dStartY) && (rgEndY <= dEndY)) {
// the damage area contains the row group