зеркало из https://github.com/mozilla/gecko-dev.git
Fixed inheritance behavior of line-height ala peterl
This commit is contained in:
Родитель
0cc55f9290
Коммит
454582badf
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче