mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28: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
|
|
@ -4579,11 +4579,11 @@ IntrinsicSizeOffsets(nsIFrame* aFrame, nscoord aPercentageBasis, bool aForISize)
|
|||
|
||||
const nsStyleBorder* styleBorder = aFrame->StyleBorder();
|
||||
if (verticalAxis) {
|
||||
result.hBorder += styleBorder->GetComputedBorderWidth(NS_SIDE_TOP);
|
||||
result.hBorder += styleBorder->GetComputedBorderWidth(NS_SIDE_BOTTOM);
|
||||
result.hBorder += styleBorder->GetComputedBorderWidth(eSideTop);
|
||||
result.hBorder += styleBorder->GetComputedBorderWidth(eSideBottom);
|
||||
} else {
|
||||
result.hBorder += styleBorder->GetComputedBorderWidth(NS_SIDE_LEFT);
|
||||
result.hBorder += styleBorder->GetComputedBorderWidth(NS_SIDE_RIGHT);
|
||||
result.hBorder += styleBorder->GetComputedBorderWidth(eSideLeft);
|
||||
result.hBorder += styleBorder->GetComputedBorderWidth(eSideRight);
|
||||
}
|
||||
|
||||
const nsStyleDisplay* disp = aFrame->StyleDisplay();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue