From 45818d0d79d1df31021cf7db8518efb0f5c0dc16 Mon Sep 17 00:00:00 2001 From: "dbaron@dbaron.org" Date: Thu, 13 Mar 2008 08:23:27 -0700 Subject: [PATCH] Don't make overflow:-moz-hidden-unscrollable affect layout. b=411213 r+sr=roc a=beltzner --- layout/generic/nsBlockFrame.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/layout/generic/nsBlockFrame.cpp b/layout/generic/nsBlockFrame.cpp index 448b987b2866..aad0e78818fc 100644 --- a/layout/generic/nsBlockFrame.cpp +++ b/layout/generic/nsBlockFrame.cpp @@ -1042,14 +1042,9 @@ nsBlockFrame::Reflow(nsPresContext* aPresContext, state.mReflowStatus |= NS_FRAME_REFLOW_NEXTINFLOW; } - if (NS_STYLE_OVERFLOW_CLIP == aReflowState.mStyleDisplay->mOverflowX) { - state.mReflowStatus = NS_FRAME_COMPLETE; - } - else { #ifdef DEBUG_kipp - ListTag(stdout); printf(": block is not complete\n"); + ListTag(stdout); printf(": block is not complete\n"); #endif - } } CheckFloats(state);