Back to index

lightning-sunbird  0.9+nobinonly
Defines
nsStyleCoord.cpp File Reference
#include "nsStyleCoord.h"
#include "nsString.h"
#include "nsCRT.h"

Go to the source code of this file.

Defines

#define COMPARE_SIDE(side)

Define Documentation

#define COMPARE_SIDE (   side)
Value:
if ((eStyleUnit_Percent <= mUnits[side]) &&                                 \
      (mUnits[side] < eStyleUnit_Coord)) {                                    \
    if (mValues[side].mFloat != aOther.mValues[side].mFloat)                  \
      return PR_FALSE;                                                        \
  }                                                                           \
  else {                                                                      \
    if (mValues[side].mInt != aOther.mValues[side].mInt)                      \
      return PR_FALSE;                                                        \
  }

Definition at line 236 of file nsStyleCoord.cpp.