• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/rendering/

Lines Matching refs:curr

391         for (RenderObject* curr = parent(); curr && !curr->isRenderView(); curr = curr->parent()) {
392 if (curr->isRenderBlock()) {
393 RenderBlock* currBlock = toRenderBlock(curr);
421 RenderBlock* curr = toRenderBlock(continuation());
424 while (curr) {
425 if (beforeChild && beforeChild->parent() == curr) {
426 if (curr->firstChild() == beforeChild)
428 return curr;
432 last = curr;
433 curr = toRenderBlock(curr->continuation());
493 RenderObject* curr = beforeChild;
494 while (curr && curr->parent() != this)
495 curr = curr->parent();
496 beforeChildParent = toRenderBlock(curr);
551 for (RenderObject* curr = this; curr; curr = curr->parent()) {
552 if (!curr->isRenderBlock() || curr->isFloatingOrOutOfFlowPositioned() || curr->isTableCell() || curr->isRoot() || curr->isRenderView() || curr->hasOverflowClip()
553 || curr->isInlineBlockOrInlineTable())
559 if (curr->isTable() || curr->isRenderButton() || curr->isListItem())
562 RenderBlock* currBlock = toRenderBlock(curr);
624 RenderBoxModelObject* curr = toRenderBoxModelObject(parent());
628 while (curr && curr->isDescendantOf(fromBlock) && curr != fromBlock) {
629 RenderBlock* blockCurr = toRenderBlock(curr);
638 // Hook the clone up as a continuation of |curr|. Note we do encounter
653 currChild = curr;
655 curr = toRenderBoxModelObject(curr->parent());
792 RenderObject* curr = this;
793 while (curr && curr != columnsBlockAncestor) {
794 if (curr->isRenderBlock() && toRenderBlock(curr)->continuation()) {
798 curr = curr->parent();
969 RenderObject * curr = start;
972 while (curr && !(curr->isInline() || curr->isFloatingOrOutOfFlowPositioned()))
973 curr = curr->nextSibling();
975 inlineRunStart = inlineRunEnd = curr;
977 if (!curr)
980 sawInline = curr->isInline();
982 curr = curr->nextSibling();
983 while (curr && (curr->isInline() || curr->isFloatingOrOutOfFlowPositioned()) && (curr != boundary)) {
984 inlineRunEnd = curr;
985 if (curr->isInline())
987 curr = curr->nextSibling();
1303 for (RenderObject* curr = this; curr; curr = curr->previousInPreOrder(containingBlockIgnoringAnonymous)) {
1304 if (curr->virtualContinuation() != this)
1310 if (curr->isRenderInline())
1311 toRenderInline(curr)->setContinuation(nextContinuation);
1312 else if (curr->isRenderBlock())
1313 toRenderBlock(curr)->setContinuation(nextContinuation);
2003 RenderObject* curr = runIn->nextSibling();
2004 if (!curr || !curr->isRenderBlock() || !curr->childrenInline())
2007 if (toRenderBlock(curr)->beingDestroyed())
2012 if (curr->isRunIn() || (curr->firstChild() && curr->firstChild()->isRunIn()))
2015 if (curr->isAnonymous() || curr->isFloatingOrOutOfFlowPositioned())
2022 // Now insert the new child under |curr| block. Use addChild instead of insertChildNode
2025 curr->addChild(newRunIn, curr->firstChild());
2028 curr->setNeedsLayoutAndPrefWidthsRecalc();
2245 for (RenderBox* curr = child->nextSiblingBox(); curr && wouldCollapseMarginsWithParent; curr = curr->nextSiblingBox()) {
2246 if (!curr->isFloatingOrOutOfFlowPositioned() && !curr->isSelfCollapsingBlock())
3652 RootInlineBox* curr;
3653 for (curr = firstRootBox(); curr && !curr->hasSelectedChildren(); curr = curr->nextRootBox()) { }
3656 for (; curr && curr->hasSelectedChildren(); curr = curr->nextRootBox()) {
3657 LayoutUnit selTop = curr->selectionTopAdjustedForPrecedingBlock();
3658 LayoutUnit selHeight = curr->selectionHeightAdjustedForPrecedingBlock();
3664 LayoutRect logicalRect(curr->logicalLeft(), selTop, curr->logicalWidth(), selTop + selHeight);
3669 result.unite(curr->lineSelectionGap(rootBlock, rootBlockPhysicalPosition, offsetFromRootBlock, selTop, selHeight, cache, paintInfo));
3671 lastSelectedLine = curr;
3693 RenderBox* curr;
3694 for (curr = firstChildBox(); curr && curr->selectionState() == SelectionNone; curr = curr->nextSiblingBox()) { }
3696 if (!curr)
3701 for (bool sawSelectionEnd = false; curr && !sawSelectionEnd; curr = curr->nextSiblingBox()) {
3702 SelectionState childState = curr->selectionState();
3706 if (curr->isFloatingOrOutOfFlowPositioned())
3709 if (curr->hasPaintOffset() && curr->hasLayer()) {
3712 LayoutSize relOffset = curr->layer()->paintOffset();
3717 bool paintsOwnSelection = curr->shouldPaintSelectionGaps() || curr->isTable(); // FIXME: Eventually we won't special-case table like this.
3718 bool fillBlockGaps = paintsOwnSelection || (curr->canBeSelectionLeaf() && childState != SelectionNone);
3724 lastLogicalTop, lastLogicalLeft, lastLogicalRight, curr->logicalTop(), cache, paintInfo));
3737 result.uniteLeft(logicalLeftSelectionGap(rootBlock, rootBlockPhysicalPosition, offsetFromRootBlock, this, curr->logicalLeft(), curr->logicalTop(), curr->logicalHeight(), cache, paintInfo));
3739 result.uniteRight(logicalRightSelectionGap(rootBlock, rootBlockPhysicalPosition, offsetFromRootBlock, this, curr->logicalRight(), curr->logicalTop(), curr->logicalHeight(), cache, paintInfo));
3744 lastLogicalTop = blockDirectionOffset(rootBlock, offsetFromRootBlock) + curr->logicalBottom();
3745 lastLogicalLeft = logicalLeftSelectionOffset(rootBlock, curr->logicalBottom(), cache);
3746 lastLogicalRight = logicalRightSelectionOffset(rootBlock, curr->logicalBottom(), cache);
3749 result.unite(toRenderBlock(curr)->selectionGaps(rootBlock, rootBlockPhysicalPosition, LayoutSize(offsetFromRootBlock.width() + curr->x(), offsetFromRootBlock.height() + curr->y()),
4118 FloatingObject* curr = floatingObjectSet.last();
4119 while (curr != lastFloat && (!curr->isPlaced() || logicalTopForFloat(curr) >= logicalOffset)) {
4120 m_floatingObjects->remove(curr);
4121 ASSERT(!curr->m_originatingLine);
4122 delete curr;
4125 curr = floatingObjectSet.last();
4374 for (RenderObject* curr = parent->firstChild(); curr; curr = curr->nextInPreOrder(parent)) {
4375 if (!curr->isBox())
4378 RenderBox* box = toRenderBox(curr);
6580 for (RenderBox* curr = firstChildBox(); curr; curr = curr->nextSiblingBox()) {
6581 if (!curr->isFloatingOrOutOfFlowPositioned()) {
6582 int result = curr->firstLineBoxBaseline();
6584 return curr->logicalTop() + result; // Translate to our coordinate space.
6614 for (RenderBox* curr = lastChildBox(); curr; curr = curr->previousSiblingBox()) {
6615 if (!curr->isFloatingOrOutOfFlowPositioned()) {
6617 int result = curr->inlineBlockBaseline(lineDirection);
6619 return curr->logicalTop() + result; // Translate to our coordinate space.
7346 for (RootInlineBox* curr = firstRootBox(); curr; curr = curr->nextRootBox()) {
7347 LayoutUnit top = max<LayoutUnit>(curr->lineTop(), curr->top());
7348 LayoutUnit bottom = min<LayoutUnit>(curr->lineBottom(), curr->top() + curr->height());
7349 LayoutRect rect(additionalOffset.x() + curr->x(), additionalOffset.y() + top, curr->width(), bottom - top);
7354 for (RenderObject* curr = firstChild(); curr; curr = curr->nextSibling()) {
7355 if (!curr->isText() && !curr->isListMarker() && curr->isBox()) {
7356 RenderBox* box = toRenderBox(curr);
7360 pos = curr->localToAbsolute();
7415 RenderBlock* curr = child->containingBlock();
7417 while (curr && curr != renderView) {
7418 if (curr->hasColumns() || curr->isRenderFlowThread())
7420 if (curr->isFloatingOrOutOfFlowPositioned())
7422 curr = curr->containingBlock();