Lines Matching refs:cb
951 RenderBlock* cb = containingBlock();
953 return cb->lineWidth(y(), false);
954 return cb->availableWidth();
1049 RenderBlock* cb;
1051 && (cb = toRenderBlock(o))->hasColumns()) {
1053 cb->adjustRectForColumns(rect);
1192 RenderBlock* cb = toRenderBlock(o);
1193 if (cb->hasColumns()) {
1195 cb->adjustRectForColumns(repaintRect);
1302 RenderBlock* cb = containingBlock();
1388 && !isFloating() && !isInline() && !cb->isFlexibleBox()) {
1389 if (cb->style()->direction() == LTR)
1590 RenderBlock* cb = containingBlock();
1596 while (!cb->isRenderView() && !cb->isBody() && !cb->isTableCell() && !cb->isPositioned() && cb->style()->height().isAuto()) {
1598 cb = cb->containingBlock();
1599 cb->addPercentHeightDescendant(this);
1605 bool isPositionedWithSpecifiedHeight = cb->isPositioned() && (!cb->style()->height().isAuto() || (!cb->style()->top().isAuto() && !cb->style()->bottom().isAuto()));
1612 if (cb->isTableCell()) {
1614 result = cb->overrideSize();
1623 RenderTableCell* cell = toRenderTableCell(cb);
1633 else if (cb->style()->height().isFixed())
1634 result = cb->calcContentBoxHeight(cb->style()->height().value());
1635 else if (cb->style()->height().isPercent() && !isPositionedWithSpecifiedHeight) {
1637 result = cb->calcPercentageHeight(cb->style()->height());
1639 result = cb->calcContentBoxHeight(result);
1640 } else if (cb->isRenderView() || (cb->isBody() && style()->htmlHacks()) || isPositionedWithSpecifiedHeight) {
1643 int oldHeight = cb->height();
1644 cb->calcHeight();
1645 result = cb->contentHeight();
1646 cb->setHeight(oldHeight);
1647 } else if (cb->isRoot() && isPositioned())
1650 result = cb->calcContentBoxHeight(cb->availableHeight());
1706 RenderObject* cb = isPositioned() ? container() : containingBlock();
1707 while (cb->isAnonymous()) {
1708 cb = cb->containingBlock();
1709 cb)->addPercentHeightDescendant(const_cast<RenderBox*>(this));
1712 if (cb->isPositioned() && cb->style()->height().isAuto() && !(cb->style()->top().isAuto() || cb->style()->bottom().isAuto())) {
1713 ASSERT(cb->isRenderBlock());
1714 RenderBlock* block = toRenderBlock(cb);
1722 int availableHeight = isPositioned() ? containingBlockHeightForPositioned(toRenderBoxModelObject(cb)) : toRenderBox(cb)->availableHeight();
1727 if (cb->isTableCell() && (cb->style()->height().isAuto() || cb->style()->height().isPercent())) {
1843 // containing block (cb) as the spec seems to imply, the parent (parent()) as