Fixed inheritance behavior of line-height ala peterl
git-svn-id: svn://10.0.0.236/trunk@12964 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
123830ec3f
commit
cd4979b51c
@ -537,7 +537,7 @@ void StyleTextImpl::ResetFrom(const nsStyleText* aParent, nsIPresContext* aPresC
|
||||
mWhiteSpace = aParent->mWhiteSpace;
|
||||
|
||||
mLetterSpacing = aParent->mLetterSpacing;
|
||||
mLineHeight = aParent->mLineHeight;
|
||||
mLineHeight.SetInheritValue();
|
||||
mTextIndent = aParent->mTextIndent;
|
||||
mWordSpacing = aParent->mWordSpacing;
|
||||
}
|
||||
|
||||
@ -537,7 +537,7 @@ void StyleTextImpl::ResetFrom(const nsStyleText* aParent, nsIPresContext* aPresC
|
||||
mWhiteSpace = aParent->mWhiteSpace;
|
||||
|
||||
mLetterSpacing = aParent->mLetterSpacing;
|
||||
mLineHeight = aParent->mLineHeight;
|
||||
mLineHeight.SetInheritValue();
|
||||
mTextIndent = aParent->mTextIndent;
|
||||
mWordSpacing = aParent->mWordSpacing;
|
||||
}
|
||||
|
||||
@ -537,7 +537,7 @@ void StyleTextImpl::ResetFrom(const nsStyleText* aParent, nsIPresContext* aPresC
|
||||
mWhiteSpace = aParent->mWhiteSpace;
|
||||
|
||||
mLetterSpacing = aParent->mLetterSpacing;
|
||||
mLineHeight = aParent->mLineHeight;
|
||||
mLineHeight.SetInheritValue();
|
||||
mTextIndent = aParent->mTextIndent;
|
||||
mWordSpacing = aParent->mWordSpacing;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user