mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +09:00
Issue #1925 - Remove use of NS_CORNER_{TOP|BOTTOM}_{LEFT|RIGHT} macros.
This commit is contained in:
parent
0a7f42b452
commit
d73f8c2e84
10 changed files with 96 additions and 93 deletions
|
|
@ -4389,14 +4389,14 @@ StyleAnimationValue::ExtractComputedValue(nsCSSPropertyID aProperty,
|
|||
case eStyleAnimType_Corner_BottomRight:
|
||||
case eStyleAnimType_Corner_BottomLeft: {
|
||||
static_assert(
|
||||
NS_CORNER_TOP_LEFT == eStyleAnimType_Corner_TopLeft -
|
||||
eStyleAnimType_Corner_TopLeft &&
|
||||
NS_CORNER_TOP_RIGHT == eStyleAnimType_Corner_TopRight -
|
||||
eStyleAnimType_Corner_TopLeft &&
|
||||
NS_CORNER_BOTTOM_RIGHT == eStyleAnimType_Corner_BottomRight -
|
||||
eStyleAnimType_Corner_TopLeft &&
|
||||
NS_CORNER_BOTTOM_LEFT == eStyleAnimType_Corner_BottomLeft -
|
||||
eStyleAnimType_Corner_TopLeft,
|
||||
eCornerTopLeft == eStyleAnimType_Corner_TopLeft -
|
||||
eStyleAnimType_Corner_TopLeft &&
|
||||
eCornerTopRight == eStyleAnimType_Corner_TopRight -
|
||||
eStyleAnimType_Corner_TopLeft &&
|
||||
eCornerBottomRight == eStyleAnimType_Corner_BottomRight -
|
||||
eStyleAnimType_Corner_TopLeft &&
|
||||
eCornerBottomLeft == eStyleAnimType_Corner_BottomLeft -
|
||||
eStyleAnimType_Corner_TopLeft,
|
||||
"box corner constants out of sync with animation corner constants");
|
||||
|
||||
const nsStyleCorners& corners =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue