Issue #1925 - Rewrite NS_FOR_CSS_CORNERS to be similar to *_SIDES

- Renames it to NS_CSS_FULL_CORNERS and uses the one macro for all full
  corners. In preparation for giving half corners the same treatment.
- Swaps to prefix operator++
This commit is contained in:
Moonchild 2024-08-02 04:50:01 +02:00 committed by roytam1
commit 0a7f42b452
4 changed files with 18 additions and 21 deletions

View file

@ -16,8 +16,6 @@
namespace mozilla {
#define NS_FOR_CSS_FULL_CORNERS(var_) for (int32_t var_ = 0; var_ < 4; ++var_)
// Indices into "half corner" arrays (nsStyleCorners e.g.)
#define NS_CORNER_TOP_LEFT_X 0
#define NS_CORNER_TOP_LEFT_Y 1