Home | History | Annotate | Download | only in rendering

Lines Matching refs:childBox

1286 static bool isCandidateForOpaquenessTest(RenderBox* childBox)
1288 RenderStyle* childStyle = childBox->style();
1289 if (childStyle->position() != StaticPosition && childBox->containingBlock() != childBox->parent())
1293 if (!childBox->width() || !childBox->height())
1295 if (RenderLayer* childLayer = childBox->layer()) {
1304 if (childBox->hasOverflowClip() && childStyle->hasBorderRadius())
1317 RenderBox* childBox = toRenderBox(child);
1318 if (!isCandidateForOpaquenessTest(childBox))
1320 LayoutPoint childLocation = childBox->location();
1321 if (childBox->isRelPositioned())
1322 childLocation.move(childBox->relativePositionOffset());
1327 if (childBox->style()->position() == StaticPosition)
1331 if (childLocalRect.maxY() > childBox->height() || childLocalRect.maxX() > childBox->width())
1333 if (childBox->backgroundIsKnownToBeOpaqueInRect(childLocalRect))
1335 if (childBox->foregroundIsKnownToBeOpaqueInRect(childLocalRect, maxDepthToTest - 1))