Home | History | Annotate | Download | only in rendering

Lines Matching defs:newStyle

146 static void updateStyleOfAnonymousBlockContinuations(RenderObject* block, const RenderStyle* newStyle, const RenderStyle* oldStyle)
149 if (!toRenderBlock(block)->isAnonymousBlockContinuation() || block->style()->position() == newStyle->position())
157 blockStyle->setPosition(newStyle->position());
172 RenderStyle* newStyle = style();
177 currCont->setStyle(newStyle);
183 if (continuation && oldStyle && newStyle->position() != oldStyle->position()
184 && (newStyle->hasInFlowPosition() || oldStyle->hasInFlowPosition())) {
188 updateStyleOfAnonymousBlockContinuations(block, newStyle, oldStyle);
192 bool alwaysCreateLineBoxes = hasSelfPaintingLayer() || hasBoxDecorations() || newStyle->hasPadding() || newStyle->hasMargin() || hasOutline();
310 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(style(), BLOCK);
315 newStyle->setPosition(positionedAncestor->style()->position());
318 newBox->setStyle(newStyle.release());