diff --git a/mozilla/layout/generic/nsHTMLContainerFrame.cpp b/mozilla/layout/generic/nsHTMLContainerFrame.cpp index b6d20510c5d..638f213e09b 100644 --- a/mozilla/layout/generic/nsHTMLContainerFrame.cpp +++ b/mozilla/layout/generic/nsHTMLContainerFrame.cpp @@ -268,6 +268,7 @@ nsHTMLContainerFrame::CreateViewForFrame(nsIPresContext& aPresContext, const nsStylePosition* position = (const nsStylePosition*) aStyleContext->GetStyleData(eStyleStruct_Position); + // XXX Michael: uncomment this code to test the problem I described... if ((NS_STYLE_POSITION_RELATIVE == position->mPosition) || (NS_STYLE_POSITION_ABSOLUTE == position->mPosition)) { viewManager->SetViewContentTransparency(view, PR_TRUE); diff --git a/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp b/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp index b6d20510c5d..638f213e09b 100644 --- a/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp +++ b/mozilla/layout/html/base/src/nsHTMLContainerFrame.cpp @@ -268,6 +268,7 @@ nsHTMLContainerFrame::CreateViewForFrame(nsIPresContext& aPresContext, const nsStylePosition* position = (const nsStylePosition*) aStyleContext->GetStyleData(eStyleStruct_Position); + // XXX Michael: uncomment this code to test the problem I described... if ((NS_STYLE_POSITION_RELATIVE == position->mPosition) || (NS_STYLE_POSITION_ABSOLUTE == position->mPosition)) { viewManager->SetViewContentTransparency(view, PR_TRUE);