Back to index

lightning-sunbird  0.9+nobinonly
Defines
nsStyleUtil.cpp File Reference
#include <math.h>
#include "nsStyleUtil.h"
#include "nsCRT.h"
#include "nsStyleConsts.h"
#include "nsUnitConversion.h"
#include "nsHTMLAtoms.h"
#include "nsILinkHandler.h"
#include "nsILink.h"
#include "nsIXMLContent.h"
#include "nsIDocument.h"
#include "nsINameSpaceManager.h"
#include "nsIURI.h"
#include "nsNetUtil.h"
#include "nsReadableUtils.h"
#include "nsContentUtils.h"
#include "nsTextFormatter.h"
#include "nsRuleNode.h"
#include "nsStyleStructList.h"

Go to the source code of this file.

Defines

#define STYLE_STRUCT_INHERITED(name, checkdata_cb, ctor_args)
#define STYLE_STRUCT_RESET(name, checkdata_cb, ctor_args)
#define POSITIVE_SCALE_FACTOR   1.10 /* 10% */
#define NEGATIVE_SCALE_FACTOR   .90 /* 10% */
#define sFontSizeTableMin   9
#define sFontSizeTableMax   16

Define Documentation

#define NEGATIVE_SCALE_FACTOR   .90 /* 10% */

Definition at line 81 of file nsStyleUtil.cpp.

#define POSITIVE_SCALE_FACTOR   1.10 /* 10% */

Definition at line 80 of file nsStyleUtil.cpp.

#define STYLE_STRUCT_INHERITED (   name,
  checkdata_cb,
  ctor_args 
)
Value:
{ offsetof(nsCachedStyleData, mInheritedData), \
    offsetof(nsInheritedStyleData, m##name##Data), \
    PR_FALSE },
#define STYLE_STRUCT_RESET (   name,
  checkdata_cb,
  ctor_args 
)
Value:
{ offsetof(nsCachedStyleData, mResetData), \
    offsetof(nsResetStyleData, m##name##Data), \
    PR_TRUE },