Don't make overflow:-moz-hidden-unscrollable affect layout. b=411213 r+sr=roc a=beltzner
authordbaron@dbaron.org
Thu, 13 Mar 2008 08:23:27 -0700
changeset 13009 c003b9fcdf1b0f1370f5ffc9292fcac94382d7a8
parent 13008 0a6eb8a547ff17e826d9f1a72f4b4a5951b87f8c
child 13010 6a632cc4adc758b9ff839228926f39543e46b144
push idunknown
push userunknown
push dateunknown
reviewersbeltzner
bugs411213
milestone1.9b5pre
Don't make overflow:-moz-hidden-unscrollable affect layout. b=411213 r+sr=roc a=beltzner
layout/generic/nsBlockFrame.cpp
--- a/layout/generic/nsBlockFrame.cpp
+++ b/layout/generic/nsBlockFrame.cpp
@@ -1037,24 +1037,19 @@ nsBlockFrame::Reflow(nsPresContext*     
     }
   }
 
   if (NS_FRAME_IS_NOT_COMPLETE(state.mReflowStatus)) {
     if (GetOverflowLines()) {
       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);
 
   // Place the "marker" (bullet) frame if it is placed next to a block
   // child.
   //
   // According to the CSS2 spec, section 12.6.1, the "marker" box