Bug 334555: Fix printing of translucent background on root. r+sr=roc.

This commit is contained in:
sharparrow1%yahoo.com 2006-06-15 03:17:06 +00:00
Родитель cd73f2108b
Коммит 8de858c0bf
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -2599,7 +2599,8 @@ IsCanvasFrame(nsIFrame *aFrame)
nsIAtom* frameType = aFrame->GetType();
if (frameType == nsLayoutAtoms::canvasFrame ||
frameType == nsLayoutAtoms::rootFrame ||
frameType == nsLayoutAtoms::pageFrame) {
frameType == nsLayoutAtoms::pageFrame ||
frameType == nsLayoutAtoms::pageContentFrame) {
return aFrame;
} else if (frameType == nsLayoutAtoms::viewportFrame) {
nsIFrame* firstChild = aFrame->GetFirstChild(nsnull);