Home | History | Annotate | Download | only in rendering

Lines Matching defs:childBox

1251 static bool isCandidateForOpaquenessTest(RenderBox* childBox)
1253 RenderStyle* childStyle = childBox->style();
1254 if (childStyle->position() != StaticPosition && childBox->containingBlock() != childBox->parent())
1258 if (!childBox->width() || !childBox->height())
1260 if (RenderLayer* childLayer = childBox->layer()) {
1279 RenderBox* childBox = toRenderBox(child);
1280 if (!isCandidateForOpaquenessTest(childBox))
1282 LayoutPoint childLocation = childBox->location();
1283 if (childBox->isRelPositioned())
1284 childLocation.move(childBox->relativePositionOffset());
1289 if (childBox->style()->position() == StaticPosition)
1293 if (childLocalRect.maxY() > childBox->height() || childLocalRect.maxX() > childBox->width())
1295 if (childBox->backgroundIsKnownToBeOpaqueInRect(childLocalRect))
1297 if (childBox->foregroundIsKnownToBeOpaqueInRect(childLocalRect, maxDepthToTest - 1))