# HG changeset patch
# Parent 854aabf544d485bc8c49ab2a8dae3123b87c8116
bug 467444 firstTruncatedRow can not be the last row on page if it should be pushed try: -b do -p all -u all -t none
diff --git a/layout/reftests/bugs/467444-1-ref.html b/layout/reftests/bugs/467444-1-ref.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/467444-1-ref.html
@@ -0,0 +1,26 @@
+
+
+
+rowspan pagination
+
+
+
+
+
+ |
+
+
+
+ |
+
+
+
+
+
+
\ No newline at end of file
diff --git a/layout/reftests/bugs/467444-1.html b/layout/reftests/bugs/467444-1.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/467444-1.html
@@ -0,0 +1,26 @@
+
+
+
+rowspan pagination
+
+
+
+
+
+ |
+
+
+
+ |
+
+
+
+
+
+
\ No newline at end of file
diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1233,6 +1233,7 @@ fails-if(cocoaWidget) == 456147.xul 4561
== 466395-2.html 466395-2-ref.html
== 467084-1.html 467084-1-ref.html
== 467084-2.html 467084-2-ref.html
+== 467444-1.html 467444-1-ref.html
== 467460-1.html 467460-1-ref.html
== 468546-1.xhtml 468546-1-ref.xhtml
== 468473-1.xul 468473-1-ref.xul
diff --git a/layout/tables/nsTableRowGroupFrame.cpp b/layout/tables/nsTableRowGroupFrame.cpp
--- a/layout/tables/nsTableRowGroupFrame.cpp
+++ b/layout/tables/nsTableRowGroupFrame.cpp
@@ -1236,7 +1236,7 @@ nsTableRowGroupFrame::SplitRowGroup(nsPr
UndoContinuedRow(aPresContext, contRow);
contRow = nsnull;
nsTableRowFrame* oldLastRowThisPage = lastRowThisPage;
- lastRowThisPage = firstTruncatedRow;
+ lastRowThisPage = rowBefore;
aStatus = NS_FRAME_NOT_COMPLETE;
// Call SplitSpanningCells again with rowBefore as the last row on the page