Fixed it so we clear the NS_FRAME_SYNC_FRAME_AND_VIEW bit, because the
default is that it's set git-svn-id: svn://10.0.0.236/trunk@21868 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a89bc61e71
commit
51829aa69c
@ -39,8 +39,8 @@ nsSplittableFrame::Init(nsIPresContext& aPresContext,
|
||||
// Make sure the general flags bits are the same
|
||||
nsFrameState state;
|
||||
aPrevInFlow->GetFrameState(&state);
|
||||
if (state & NS_FRAME_SYNC_FRAME_AND_VIEW) {
|
||||
mState |= NS_FRAME_SYNC_FRAME_AND_VIEW;
|
||||
if ((state & NS_FRAME_SYNC_FRAME_AND_VIEW) == 0) {
|
||||
mState &= ~NS_FRAME_SYNC_FRAME_AND_VIEW;
|
||||
}
|
||||
if (state & NS_FRAME_REPLACED_ELEMENT) {
|
||||
mState |= NS_FRAME_REPLACED_ELEMENT;
|
||||
|
||||
@ -39,8 +39,8 @@ nsSplittableFrame::Init(nsIPresContext& aPresContext,
|
||||
// Make sure the general flags bits are the same
|
||||
nsFrameState state;
|
||||
aPrevInFlow->GetFrameState(&state);
|
||||
if (state & NS_FRAME_SYNC_FRAME_AND_VIEW) {
|
||||
mState |= NS_FRAME_SYNC_FRAME_AND_VIEW;
|
||||
if ((state & NS_FRAME_SYNC_FRAME_AND_VIEW) == 0) {
|
||||
mState &= ~NS_FRAME_SYNC_FRAME_AND_VIEW;
|
||||
}
|
||||
if (state & NS_FRAME_REPLACED_ELEMENT) {
|
||||
mState |= NS_FRAME_REPLACED_ELEMENT;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user