mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #1925 - Remove use of NS_SIDE_* macros.
This commit is contained in:
parent
e6e2796541
commit
ec7351a5d4
30 changed files with 322 additions and 328 deletions
|
|
@ -114,20 +114,20 @@ nsInlineFrame::IsSelfEmpty()
|
|||
// get logical start and end flags.
|
||||
if (wm.IsVertical()) {
|
||||
haveStart =
|
||||
border->GetComputedBorderWidth(NS_SIDE_TOP) != 0 ||
|
||||
border->GetComputedBorderWidth(eSideTop) != 0 ||
|
||||
!nsLayoutUtils::IsPaddingZero(padding->mPadding.GetTop()) ||
|
||||
!IsMarginZero(margin->mMargin.GetTop());
|
||||
haveEnd =
|
||||
border->GetComputedBorderWidth(NS_SIDE_BOTTOM) != 0 ||
|
||||
border->GetComputedBorderWidth(eSideBottom) != 0 ||
|
||||
!nsLayoutUtils::IsPaddingZero(padding->mPadding.GetBottom()) ||
|
||||
!IsMarginZero(margin->mMargin.GetBottom());
|
||||
} else {
|
||||
haveStart =
|
||||
border->GetComputedBorderWidth(NS_SIDE_LEFT) != 0 ||
|
||||
border->GetComputedBorderWidth(eSideLeft) != 0 ||
|
||||
!nsLayoutUtils::IsPaddingZero(padding->mPadding.GetLeft()) ||
|
||||
!IsMarginZero(margin->mMargin.GetLeft());
|
||||
haveEnd =
|
||||
border->GetComputedBorderWidth(NS_SIDE_RIGHT) != 0 ||
|
||||
border->GetComputedBorderWidth(eSideRight) != 0 ||
|
||||
!nsLayoutUtils::IsPaddingZero(padding->mPadding.GetRight()) ||
|
||||
!IsMarginZero(margin->mMargin.GetRight());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue