зеркало из https://github.com/mozilla/pjs.git
No change
This commit is contained in:
Родитель
058bfc3274
Коммит
d6f7cc1d25
|
@ -402,7 +402,8 @@ nsHTMLButtonControlFrame::ShiftContents(nsIPresContext& aPresContext, PRBool aDo
|
|||
|
||||
// XXX change the border, border-left, border-right, etc are not working. Instead change inset to outset, vice versa
|
||||
for (PRInt32 i = 0; i < 4; i++) {
|
||||
spacing->mBorderStyle[i] = (spacing->mBorderStyle[i] == NS_STYLE_BORDER_STYLE_INSET) ? NS_STYLE_BORDER_STYLE_OUTSET : NS_STYLE_BORDER_STYLE_INSET;
|
||||
spacing->SetBorderStyle(i,(spacing->GetBorderStyle(i) == NS_STYLE_BORDER_STYLE_INSET) ?
|
||||
NS_STYLE_BORDER_STYLE_OUTSET : NS_STYLE_BORDER_STYLE_INSET);
|
||||
}
|
||||
|
||||
mStyleContext->RecalcAutomaticData(&aPresContext);
|
||||
|
|
|
@ -402,7 +402,8 @@ nsHTMLButtonControlFrame::ShiftContents(nsIPresContext& aPresContext, PRBool aDo
|
|||
|
||||
// XXX change the border, border-left, border-right, etc are not working. Instead change inset to outset, vice versa
|
||||
for (PRInt32 i = 0; i < 4; i++) {
|
||||
spacing->mBorderStyle[i] = (spacing->mBorderStyle[i] == NS_STYLE_BORDER_STYLE_INSET) ? NS_STYLE_BORDER_STYLE_OUTSET : NS_STYLE_BORDER_STYLE_INSET;
|
||||
spacing->SetBorderStyle(i,(spacing->GetBorderStyle(i) == NS_STYLE_BORDER_STYLE_INSET) ?
|
||||
NS_STYLE_BORDER_STYLE_OUTSET : NS_STYLE_BORDER_STYLE_INSET);
|
||||
}
|
||||
|
||||
mStyleContext->RecalcAutomaticData(&aPresContext);
|
||||
|
|
Загрузка…
Ссылка в новой задаче