Backed out change. Tree is closed.
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Mar 2005 00:49:19 +0000 (00:49 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 2 Mar 2005 00:49:19 +0000 (00:49 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8735 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/khtml/rendering/render_flow.cpp

index bdff777623670f936cdf1ea077e43f33d90f5cc1..f5f353489ea8741738458c01fdc9ad85103a623b 100644 (file)
@@ -382,9 +382,7 @@ void RenderFlow::paintLines(PaintInfo& i, int _tx, int _ty)
                 if (_ty + curr->root()->bottomOverflow() > c->printRect().y() + c->printRect().height()) {
                     if (_ty + curr->root()->topOverflow() < c->truncatedAt())
                         c->setBestTruncatedAt(_ty + curr->root()->topOverflow(), this);
-                    // If we were able to truncate, don't paint.
-                    if (_ty + curr->root()->topOverflow() >= c->truncatedAt())
-                        break;
+                    break;
                 }
             }
         }