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:
kipp%netscape.com 1998-10-16 03:47:40 +00:00
parent 123830ec3f
commit cd4979b51c
3 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}