Home
last modified time | relevance | path

Searched refs:blockToSplit (Results 1 – 1 of 1) sorted by relevance

/external/webkit/Source/WebCore/rendering/
DRenderBlock.cpp579 RenderBlock* blockToSplit = toRenderBlock(beforeChild->parent()); in splitAnonymousBlocksAroundChild() local
580 if (blockToSplit->firstChild() != beforeChild) { in splitAnonymousBlocksAroundChild()
582 RenderBlock* post = createAnonymousBlockWithSameTypeAs(blockToSplit); in splitAnonymousBlocksAroundChild()
583 post->setChildrenInline(blockToSplit->childrenInline()); in splitAnonymousBlocksAroundChild()
584 RenderBlock* parentBlock = toRenderBlock(blockToSplit->parent()); in splitAnonymousBlocksAroundChild()
585 … parentBlock->children()->insertChildNode(parentBlock, post, blockToSplit->nextSibling()); in splitAnonymousBlocksAroundChild()
586 blockToSplit->moveChildrenTo(post, beforeChild, 0, blockToSplit->hasLayer()); in splitAnonymousBlocksAroundChild()
588 blockToSplit->setNeedsLayoutAndPrefWidthsRecalc(); in splitAnonymousBlocksAroundChild()
591 beforeChild = blockToSplit; in splitAnonymousBlocksAroundChild()