mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-02 13:58:40 +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
|
|
@ -249,8 +249,8 @@ EnsurePhysicalProperty(nsCSSPropertyID& aProperty, nsRuleData* aRuleData)
|
|||
|
||||
// We rely on the physical side constant values matching the order of
|
||||
// the physical properties in the logical group array.
|
||||
static_assert(NS_SIDE_TOP == 0 && NS_SIDE_RIGHT == 1 &&
|
||||
NS_SIDE_BOTTOM == 2 && NS_SIDE_LEFT == 3,
|
||||
static_assert(eSideTop == 0 && eSideRight == 1 &&
|
||||
eSideBottom == 2 && eSideLeft == 3,
|
||||
"unexpected side constant values");
|
||||
index = side;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue