diff --git a/mozilla/layout/generic/nsHTMLReflowState.cpp b/mozilla/layout/generic/nsHTMLReflowState.cpp
index e0ed0459b6c..cd05e29f6dd 100644
--- a/mozilla/layout/generic/nsHTMLReflowState.cpp
+++ b/mozilla/layout/generic/nsHTMLReflowState.cpp
@@ -261,7 +261,7 @@ nsHTMLReflowState::InitConstraints(nsIPresContext& aPresContext)
// by the content edge
nscoord containingBlockWidth = cbrs->computedWidth;
nscoord containingBlockHeight = cbrs->computedHeight;
- NS_ASSERTION(0 != containingBlockWidth, "containing block width of 0");
+ //NS_ASSERTION(0 != containingBlockWidth, "containing block width of 0");
nsStyleUnit widthUnit = pos->mWidth.GetUnit();
nsStyleUnit heightUnit = pos->mHeight.GetUnit();
diff --git a/mozilla/layout/html/base/src/nsHTMLReflowState.cpp b/mozilla/layout/html/base/src/nsHTMLReflowState.cpp
index e0ed0459b6c..cd05e29f6dd 100644
--- a/mozilla/layout/html/base/src/nsHTMLReflowState.cpp
+++ b/mozilla/layout/html/base/src/nsHTMLReflowState.cpp
@@ -261,7 +261,7 @@ nsHTMLReflowState::InitConstraints(nsIPresContext& aPresContext)
// by the content edge
nscoord containingBlockWidth = cbrs->computedWidth;
nscoord containingBlockHeight = cbrs->computedHeight;
- NS_ASSERTION(0 != containingBlockWidth, "containing block width of 0");
+ //NS_ASSERTION(0 != containingBlockWidth, "containing block width of 0");
nsStyleUnit widthUnit = pos->mWidth.GetUnit();
nsStyleUnit heightUnit = pos->mHeight.GetUnit();