Back to index

lightning-sunbird  0.9+nobinonly
Defines
nsCSSDeclaration.cpp File Reference
#include "nscore.h"
#include "nsCSSDeclaration.h"
#include "nsString.h"
#include "nsIAtom.h"
#include "nsUnicharUtils.h"
#include "nsReadableUtils.h"
#include "nsCRT.h"
#include "nsCSSProps.h"
#include "nsUnitConversion.h"
#include "nsVoidArray.h"
#include "nsFont.h"
#include "nsStyleConsts.h"
#include "nsCOMPtr.h"

Go to the source code of this file.

Defines

#define B_BORDER_TOP_STYLE   0x001
#define B_BORDER_LEFT_STYLE   0x002
#define B_BORDER_RIGHT_STYLE   0x004
#define B_BORDER_BOTTOM_STYLE   0x008
#define B_BORDER_TOP_COLOR   0x010
#define B_BORDER_LEFT_COLOR   0x020
#define B_BORDER_RIGHT_COLOR   0x040
#define B_BORDER_BOTTOM_COLOR   0x080
#define B_BORDER_TOP_WIDTH   0x100
#define B_BORDER_LEFT_WIDTH   0x200
#define B_BORDER_RIGHT_WIDTH   0x400
#define B_BORDER_BOTTOM_WIDTH   0x800
#define B_BORDER_STYLE   0x00f
#define B_BORDER_COLOR   0x0f0
#define B_BORDER_WIDTH   0xf00
#define B_BORDER_TOP   0x111
#define B_BORDER_LEFT   0x222
#define B_BORDER_RIGHT   0x444
#define B_BORDER_BOTTOM   0x888
#define B_BORDER   0xfff
#define NS_CASE_OUTPUT_PROPERTY_VALUE(_prop, _index)
#define NS_CASE_OUTPUT_PROPERTY_VALUE_AS(_prop, _propas, _index)
#define NS_CASE_CONDITIONAL_OUTPUT_PROPERTY_VALUE(_condition, _prop, _index)

Define Documentation

#define B_BORDER   0xfff

Definition at line 78 of file nsCSSDeclaration.cpp.

#define B_BORDER_BOTTOM   0x888

Definition at line 76 of file nsCSSDeclaration.cpp.

Definition at line 63 of file nsCSSDeclaration.cpp.

Definition at line 59 of file nsCSSDeclaration.cpp.

Definition at line 67 of file nsCSSDeclaration.cpp.

#define B_BORDER_COLOR   0x0f0

Definition at line 70 of file nsCSSDeclaration.cpp.

#define B_BORDER_LEFT   0x222

Definition at line 74 of file nsCSSDeclaration.cpp.

Definition at line 61 of file nsCSSDeclaration.cpp.

Definition at line 57 of file nsCSSDeclaration.cpp.

Definition at line 65 of file nsCSSDeclaration.cpp.

#define B_BORDER_RIGHT   0x444

Definition at line 75 of file nsCSSDeclaration.cpp.

Definition at line 62 of file nsCSSDeclaration.cpp.

Definition at line 58 of file nsCSSDeclaration.cpp.

Definition at line 66 of file nsCSSDeclaration.cpp.

#define B_BORDER_STYLE   0x00f

Definition at line 69 of file nsCSSDeclaration.cpp.

#define B_BORDER_TOP   0x111

Definition at line 73 of file nsCSSDeclaration.cpp.

Definition at line 60 of file nsCSSDeclaration.cpp.

Definition at line 56 of file nsCSSDeclaration.cpp.

Definition at line 64 of file nsCSSDeclaration.cpp.

#define B_BORDER_WIDTH   0xf00

Definition at line 71 of file nsCSSDeclaration.cpp.

#define NS_CASE_CONDITIONAL_OUTPUT_PROPERTY_VALUE (   _condition,
  _prop,
  _index 
)
Value:
case _prop: \
          if ((_condition) && _index) { \
            AppendPropertyAndValueToString(property, aString); \
            _index = 0; \
          } \
          break;

Definition at line 1058 of file nsCSSDeclaration.cpp.

#define NS_CASE_OUTPUT_PROPERTY_VALUE (   _prop,
  _index 
)
Value:
case _prop: \
          if (_index) { \
            AppendPropertyAndValueToString(property, aString); \
            _index = 0; \
          } \
          break;

Definition at line 1042 of file nsCSSDeclaration.cpp.

#define NS_CASE_OUTPUT_PROPERTY_VALUE_AS (   _prop,
  _propas,
  _index 
)
Value:
case _prop: \
          if (_index) { \
            AppendPropertyAndValueToString(property, _propas, aString); \
            _index = 0; \
          } \
          break;

Definition at line 1050 of file nsCSSDeclaration.cpp.