mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1108429 part 3 - Add flag to indicate the existance of ruby. r=roc
--HG-- extra : source : 322ca21457397001c361db0ea766367d19b9b9a1
This commit is contained in:
parent
7ecd0b6372
commit
00f5895dae
@ -77,7 +77,8 @@ nsLineLayout::nsLineLayout(nsPresContext* aPresContext,
|
||||
mInFirstLetter(false),
|
||||
mHasBullet(false),
|
||||
mDirtyNextLine(false),
|
||||
mLineAtStart(false)
|
||||
mLineAtStart(false),
|
||||
mHasRuby(false)
|
||||
{
|
||||
MOZ_ASSERT(aOuterReflowState, "aOuterReflowState must not be null");
|
||||
NS_ASSERTION(aFloatManager || aOuterReflowState->frame->GetType() ==
|
||||
@ -1084,6 +1085,9 @@ nsLineLayout::ReflowFrame(nsIFrame* aFrame,
|
||||
// nonempty leaf content has been placed
|
||||
mLineAtStart = false;
|
||||
}
|
||||
if (nsGkAtoms::rubyFrame == frameType) {
|
||||
mHasRuby = true;
|
||||
}
|
||||
}
|
||||
|
||||
// Place the frame, updating aBounds with the final size and
|
||||
|
@ -578,6 +578,7 @@ protected:
|
||||
bool mHasBullet : 1;
|
||||
bool mDirtyNextLine : 1;
|
||||
bool mLineAtStart : 1;
|
||||
bool mHasRuby : 1;
|
||||
|
||||
int32_t mSpanDepth;
|
||||
#ifdef DEBUG
|
||||
|
Loading…
Reference in New Issue
Block a user