зеркало из https://github.com/mozilla/gecko-dev.git
Bug 334555: Fix printing of translucent background on root. r+sr=roc.
This commit is contained in:
Родитель
cd73f2108b
Коммит
8de858c0bf
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче