Lines Matching defs:rootBox
32 static inline bool rendererObscuresBackground(RenderBox* rootBox)
34 ASSERT(rootBox);
35 RenderStyle* style = rootBox->style();
42 if (rootBox->compositingState() == PaintsIntoOwnBacking)
45 const RenderObject* rootRenderer = rootBox->rendererForRootBackground();
62 if (RenderBox* rootBox = documentElement ? toRenderBox(documentElement->renderer()) : 0)
63 shouldPaintBackground = !rootFillsViewportBackground(rootBox) || !rendererObscuresBackground(rootBox);
86 bool ViewPainter::rootFillsViewportBackground(RenderBox* rootBox) const
88 ASSERT(rootBox);
90 if (!rootBox->isSVG())
93 return rootBox->frameRect().contains(m_renderView.frameRect());