mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-23 04:43:07 +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
|
|
@ -200,13 +200,13 @@ ApplyBorderToStyle(const nsMathMLmtdFrame* aFrame,
|
|||
// values, we simply repeat the last value.
|
||||
uint32_t listLength = rowLinesList->Length();
|
||||
if (rowIndex < listLength) {
|
||||
aStyleBorder.SetBorderStyle(NS_SIDE_TOP,
|
||||
aStyleBorder.SetBorderStyle(eSideTop,
|
||||
rowLinesList->ElementAt(rowIndex - 1));
|
||||
} else {
|
||||
aStyleBorder.SetBorderStyle(NS_SIDE_TOP,
|
||||
aStyleBorder.SetBorderStyle(eSideTop,
|
||||
rowLinesList->ElementAt(listLength - 1));
|
||||
}
|
||||
aStyleBorder.SetBorderWidth(NS_SIDE_TOP, borderWidth);
|
||||
aStyleBorder.SetBorderWidth(eSideTop, borderWidth);
|
||||
}
|
||||
|
||||
// We don't place a column line on the left of the first column.
|
||||
|
|
@ -215,13 +215,13 @@ ApplyBorderToStyle(const nsMathMLmtdFrame* aFrame,
|
|||
// values, we simply repeat the last value.
|
||||
uint32_t listLength = columnLinesList->Length();
|
||||
if (columnIndex < listLength) {
|
||||
aStyleBorder.SetBorderStyle(NS_SIDE_LEFT,
|
||||
aStyleBorder.SetBorderStyle(eSideLeft,
|
||||
columnLinesList->ElementAt(columnIndex - 1));
|
||||
} else {
|
||||
aStyleBorder.SetBorderStyle(NS_SIDE_LEFT,
|
||||
aStyleBorder.SetBorderStyle(eSideLeft,
|
||||
columnLinesList->ElementAt(listLength - 1));
|
||||
}
|
||||
aStyleBorder.SetBorderWidth(NS_SIDE_LEFT, borderWidth);
|
||||
aStyleBorder.SetBorderWidth(eSideLeft, borderWidth);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue