don't reparent the col style context if the parent is anonymous colgroup bug326015 r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@189771 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
41058f11de
commit
acc9a119d8
@ -3952,11 +3952,6 @@ nsCSSFrameConstructor::ConstructTableColFrame(nsFrameConstructorState& aState,
|
||||
}
|
||||
InitAndRestoreFrame(aState, aContent, parentFrame, aStyleContext, nsnull,
|
||||
aNewFrame);
|
||||
// if the parent frame was anonymous then reparent the style context
|
||||
if (aIsPseudoParent) {
|
||||
aState.mFrameManager->
|
||||
ReParentStyleContext(aNewFrame, parentFrame->GetStyleContext());
|
||||
}
|
||||
|
||||
// construct additional col frames if the col frame has a span > 1
|
||||
PRInt32 span = 1;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user