Lines Matching refs:rootBox
368 static inline bool rendererObscuresBackground(RenderBox* rootBox)
370 ASSERT(rootBox);
371 RenderStyle* style = rootBox->style();
378 if (rootBox->compositingState() == PaintsIntoOwnBacking)
381 const RenderObject* rootRenderer = rootBox->rendererForRootBackground();
388 bool RenderView::rootFillsViewportBackground(RenderBox* rootBox) const
390 ASSERT(rootBox);
392 if (!rootBox->isSVG())
395 return rootBox->frameRect().contains(frameRect());
427 if (RenderBox* rootBox = documentElement ? toRenderBox(documentElement->renderer()) : 0)
428 shouldPaintBackground = !rootFillsViewportBackground(rootBox) || !rendererObscuresBackground(rootBox);