Make the header overlap the footer in the zero-line case. Changes to Emerson's...
[WebKit-https.git] / WebCore / khtml / rendering / render_block.cpp
index e58860ac00663b680f21d41475cb4672c2de8616..21f9676534d07b30de46974d93058b3a9895522d 100644 (file)
@@ -2892,8 +2892,7 @@ int getHeightForLineCount(RenderBlock* block, int l, bool includeBottom, int& co
                     normalFlowChildWithoutLines = obj;
             }
             if (normalFlowChildWithoutLines && l == 0)
-                return normalFlowChildWithoutLines->yPos() + normalFlowChildWithoutLines->height() + 
-                    (includeBottom ? (block->borderBottom() + block->paddingBottom()) : 0);
+                return normalFlowChildWithoutLines->yPos() + normalFlowChildWithoutLines->height();
         }
     }