зеркало из https://github.com/mozilla/pjs.git
fixed default value of vertical align
This commit is contained in:
Родитель
bb699e8951
Коммит
7c66e30085
|
@ -580,7 +580,7 @@ void StyleTextImpl::ResetFrom(const nsStyleText* aParent, nsIPresContext* aPresC
|
|||
{
|
||||
// These properties not inherited
|
||||
mTextDecoration = NS_STYLE_TEXT_DECORATION_NONE;
|
||||
mVerticalAlign.SetIntValue(NS_STYLE_VERTICAL_ALIGN_BASELINE, eStyleUnit_Enumerated);
|
||||
mVerticalAlign.Reset();
|
||||
|
||||
if (nsnull != aParent) {
|
||||
mTextAlign = aParent->mTextAlign;
|
||||
|
|
|
@ -580,7 +580,7 @@ void StyleTextImpl::ResetFrom(const nsStyleText* aParent, nsIPresContext* aPresC
|
|||
{
|
||||
// These properties not inherited
|
||||
mTextDecoration = NS_STYLE_TEXT_DECORATION_NONE;
|
||||
mVerticalAlign.SetIntValue(NS_STYLE_VERTICAL_ALIGN_BASELINE, eStyleUnit_Enumerated);
|
||||
mVerticalAlign.Reset();
|
||||
|
||||
if (nsnull != aParent) {
|
||||
mTextAlign = aParent->mTextAlign;
|
||||
|
|
|
@ -580,7 +580,7 @@ void StyleTextImpl::ResetFrom(const nsStyleText* aParent, nsIPresContext* aPresC
|
|||
{
|
||||
// These properties not inherited
|
||||
mTextDecoration = NS_STYLE_TEXT_DECORATION_NONE;
|
||||
mVerticalAlign.SetIntValue(NS_STYLE_VERTICAL_ALIGN_BASELINE, eStyleUnit_Enumerated);
|
||||
mVerticalAlign.Reset();
|
||||
|
||||
if (nsnull != aParent) {
|
||||
mTextAlign = aParent->mTextAlign;
|
||||
|
|
Загрузка…
Ссылка в новой задаче