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
|
|
@ -4373,10 +4373,10 @@ StyleAnimationValue::ExtractComputedValue(nsCSSPropertyID aProperty,
|
|||
case eStyleAnimType_Sides_Bottom:
|
||||
case eStyleAnimType_Sides_Left: {
|
||||
static_assert(
|
||||
NS_SIDE_TOP == eStyleAnimType_Sides_Top -eStyleAnimType_Sides_Top &&
|
||||
NS_SIDE_RIGHT == eStyleAnimType_Sides_Right -eStyleAnimType_Sides_Top &&
|
||||
NS_SIDE_BOTTOM == eStyleAnimType_Sides_Bottom-eStyleAnimType_Sides_Top &&
|
||||
NS_SIDE_LEFT == eStyleAnimType_Sides_Left -eStyleAnimType_Sides_Top,
|
||||
eSideTop == eStyleAnimType_Sides_Top -eStyleAnimType_Sides_Top &&
|
||||
eSideRight == eStyleAnimType_Sides_Right -eStyleAnimType_Sides_Top &&
|
||||
eSideBottom == eStyleAnimType_Sides_Bottom-eStyleAnimType_Sides_Top &&
|
||||
eSideLeft == eStyleAnimType_Sides_Left -eStyleAnimType_Sides_Top,
|
||||
"box side constants out of sync with animation side constants");
|
||||
|
||||
const nsStyleCoord &coord =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue