mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
Issue #1925 - Rename Corner to LogicalCorner and move it to nsStyleCoord.h.
To avoid confusion with mozilla::css::corner, rename ::Corner to mozilla::LogicalCorner, and move it to nsStyleCoord.h from the illogical nsCellMap.h location. Also, append the LogicalCorner prefix to all the enum values, to match the surrounding coding style.
This commit is contained in:
parent
bdb12f10e3
commit
81f60b575a
4 changed files with 25 additions and 24 deletions
|
|
@ -1055,7 +1055,7 @@ nsTableCellMap::SetBCBorderEdge(LogicalSide aSide,
|
|||
// (aRowIndex, aColIndex). For eBStartIEnd, store it in the entry to the iEnd-wards where
|
||||
// it would be BStartIStart. For eBEndIEnd, store it in the entry to the bEnd-wards. etc.
|
||||
void
|
||||
nsTableCellMap::SetBCBorderCorner(Corner aCorner,
|
||||
nsTableCellMap::SetBCBorderCorner(LogicalCorner aCorner,
|
||||
nsCellMap& aCellMap,
|
||||
uint32_t aCellMapStart,
|
||||
uint32_t aRowIndex,
|
||||
|
|
@ -1076,15 +1076,15 @@ nsTableCellMap::SetBCBorderCorner(Corner aCorner,
|
|||
int32_t yPos = aRowIndex;
|
||||
int32_t rgYPos = aRowIndex - aCellMapStart;
|
||||
|
||||
if (eBStartIEnd == aCorner) {
|
||||
if (eLogicalCornerBStartIEnd == aCorner) {
|
||||
xPos++;
|
||||
}
|
||||
else if (eBEndIEnd == aCorner) {
|
||||
else if (eLogicalCornerBEndIEnd == aCorner) {
|
||||
xPos++;
|
||||
rgYPos++;
|
||||
yPos++;
|
||||
}
|
||||
else if (eBEndIStart == aCorner) {
|
||||
else if (eLogicalCornerBEndIStart == aCorner) {
|
||||
rgYPos++;
|
||||
yPos++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue