зеркало из https://github.com/mozilla/pjs.git
dont take colgroup pseudoframes into account when creating row- or rowgroup pseudo frames bug 267725 p=basic@mozillanews.org r=bernd sr=bzbarsky
This commit is contained in:
Родитель
3cc949b577
Коммит
3a96ba1c83
|
@ -2700,7 +2700,7 @@ nsCSSFrameConstructor::GetPseudoRowGroupFrame(nsIPresShell* aPresShel
|
|||
nsPseudoFrames& pseudoFrames = aState.mPseudoFrames;
|
||||
nsIAtom* parentFrameType = aParentFrameIn.GetType();
|
||||
|
||||
if (pseudoFrames.IsEmpty()) {
|
||||
if (!pseudoFrames.mLowestType) {
|
||||
PRBool created = PR_FALSE;
|
||||
if (nsLayoutAtoms::tableRowFrame == parentFrameType) { // row parent
|
||||
rv = CreatePseudoCellFrame(aPresShell, aPresContext, aTableCreator, aState, &aParentFrameIn);
|
||||
|
@ -2740,7 +2740,7 @@ nsCSSFrameConstructor::GetPseudoRowFrame(nsIPresShell* aPresShell,
|
|||
nsPseudoFrames& pseudoFrames = aState.mPseudoFrames;
|
||||
nsIAtom* parentFrameType = aParentFrameIn.GetType();
|
||||
|
||||
if (pseudoFrames.IsEmpty()) {
|
||||
if (!pseudoFrames.mLowestType) {
|
||||
PRBool created = PR_FALSE;
|
||||
if (IS_TABLE_CELL(parentFrameType) || // cell parent
|
||||
!IsTableRelated(parentFrameType, PR_TRUE)) { // block parent
|
||||
|
|
Загрузка…
Ссылка в новой задаче