Back to index

lightning-sunbird  0.9+nobinonly
Static Public Member Functions | Static Public Attributes | Static Private Attributes
nsCSSProps Class Reference

#include <nsCSSProps.h>

List of all members.

Static Public Member Functions

static void AddRefTable (void)
static void ReleaseTable (void)
static nsCSSProperty LookupProperty (const nsAString &aProperty)
static nsCSSProperty LookupProperty (const nsACString &aProperty)
static PRBool IsShorthand (nsCSSProperty aProperty)
static const nsAFlatCStringGetStringValue (nsCSSProperty aProperty)
static const nsAFlatCStringLookupPropertyValue (nsCSSProperty aProperty, PRInt32 aValue)
static PRBool GetColorName (PRInt32 aPropID, nsCString &aStr)
static PRBool FindKeyword (nsCSSKeyword aKeyword, const PRInt32 aTable[], PRInt32 &aValue)
static nsCSSKeyword ValueToKeywordEnum (PRInt32 aValue, const PRInt32 aTable[])
static const nsAFlatCStringValueToKeyword (PRInt32 aValue, const PRInt32 aTable[])
static const nsCSSProperty *const SubpropertyEntryFor (nsCSSProperty aProperty)

Static Public Attributes

static const nsCSSType kTypeTable [eCSSProperty_COUNT_no_shorthands]
static const nsStyleStructID kSIDTable [eCSSProperty_COUNT_no_shorthands]
static const PRInt32 *const kKeywordTableTable [eCSSProperty_COUNT_no_shorthands]
static const PRInt32 kAppearanceKTable []
static const PRInt32 kAzimuthKTable []
static const PRInt32 kBackgroundAttachmentKTable []
static const PRInt32 kBackgroundClipKTable []
static const PRInt32 kBackgroundColorKTable []
static const PRInt32 kBackgroundInlinePolicyKTable []
static const PRInt32 kBackgroundOriginKTable []
static const PRInt32 kBackgroundRepeatKTable []
static const PRInt32 kBackgroundXPositionKTable []
static const PRInt32 kBackgroundYPositionKTable []
static const PRInt32 kBorderCollapseKTable []
static const PRInt32 kBorderColorKTable []
static const PRInt32 kBorderStyleKTable []
static const PRInt32 kBorderWidthKTable []
static const PRInt32 kBoxAlignKTable []
static const PRInt32 kBoxDirectionKTable []
static const PRInt32 kBoxOrientKTable []
static const PRInt32 kBoxPackKTable []
static const PRInt32 kBoxPropSourceKTable []
static const PRInt32 kBoxSizingKTable []
static const PRInt32 kCaptionSideKTable []
static const PRInt32 kClearKTable []
static const PRInt32 kColorKTable []
static const PRInt32 kContentKTable []
static const PRInt32 kCursorKTable []
static const PRInt32 kDirectionKTable []
static const PRInt32 kDisplayKTable []
static const PRInt32 kElevationKTable []
static const PRInt32 kEmptyCellsKTable []
static const PRInt32 kFloatKTable []
static const PRInt32 kFloatEdgeKTable []
static const PRInt32 kFontKTable []
static const PRInt32 kFontSizeKTable []
static const PRInt32 kFontStretchKTable []
static const PRInt32 kFontStyleKTable []
static const PRInt32 kFontVariantKTable []
static const PRInt32 kFontWeightKTable []
static const PRInt32 kKeyEquivalentKTable []
static const PRInt32 kListStylePositionKTable []
static const PRInt32 kListStyleKTable []
static const PRInt32 kOutlineStyleKTable []
static const PRInt32 kOutlineColorKTable []
static const PRInt32 kOverflowKTable []
static const PRInt32 kOverflowSubKTable []
static const PRInt32 kPageBreakKTable []
static const PRInt32 kPageBreakInsideKTable []
static const PRInt32 kPageMarksKTable []
static const PRInt32 kPageSizeKTable []
static const PRInt32 kPitchKTable []
static const PRInt32 kPositionKTable []
static const PRInt32 kSpeakKTable []
static const PRInt32 kSpeakHeaderKTable []
static const PRInt32 kSpeakNumeralKTable []
static const PRInt32 kSpeakPunctuationKTable []
static const PRInt32 kSpeechRateKTable []
static const PRInt32 kTableLayoutKTable []
static const PRInt32 kTextAlignKTable []
static const PRInt32 kTextDecorationKTable []
static const PRInt32 kTextTransformKTable []
static const PRInt32 kUnicodeBidiKTable []
static const PRInt32 kUserFocusKTable []
static const PRInt32 kUserInputKTable []
static const PRInt32 kUserModifyKTable []
static const PRInt32 kUserSelectKTable []
static const PRInt32 kVerticalAlignKTable []
static const PRInt32 kVisibilityKTable []
static const PRInt32 kVolumeKTable []
static const PRInt32 kWhitespaceKTable []

Static Private Attributes

static const nsCSSProperty *const kSubpropertyTable [eCSSProperty_COUNT-eCSSProperty_COUNT_no_shorthands]

Detailed Description

Definition at line 47 of file nsCSSProps.h.


Member Function Documentation

Definition at line 68 of file nsCSSProps.cpp.

{
  if (0 == gTableRefCount++) {
    NS_ASSERTION(!gPropertyTable, "pre existing array!");
    gPropertyTable = new nsStaticCaseInsensitiveNameTable();
    if (gPropertyTable) {
#ifdef DEBUG
    {
      // let's verify the table...
      for (PRInt32 index = 0; index < eCSSProperty_COUNT; ++index) {
        nsCAutoString temp1(kCSSRawProperties[index]);
        nsCAutoString temp2(kCSSRawProperties[index]);
        ToLowerCase(temp1);
        NS_ASSERTION(temp1.Equals(temp2), "upper case char in table");
        NS_ASSERTION(-1 == temp1.FindChar('_'), "underscore char in table");
      }
    }
#endif      
      gPropertyTable->Init(kCSSRawProperties, eCSSProperty_COUNT); 
    }
  }
}

Here is the call graph for this function:

Here is the caller graph for this function:

PRBool nsCSSProps::FindKeyword ( nsCSSKeyword  aKeyword,
const PRInt32  aTable[],
PRInt32 aValue 
) [static]

Definition at line 1040 of file nsCSSProps.cpp.

{
  PRInt32 index = 0;
  while (eCSSKeyword_UNKNOWN != nsCSSKeyword(aTable[index])) {
    if (aKeyword == nsCSSKeyword(aTable[index])) {
      aResult = aTable[index+1];
      return PR_TRUE;
    }
    index += 2;
  }
  return PR_FALSE;
}

Here is the caller graph for this function:

PRBool nsCSSProps::GetColorName ( PRInt32  aPropID,
nsCString aStr 
) [static]

Definition at line 1104 of file nsCSSProps.cpp.

{
  PRBool rv = PR_FALSE;

  // first get the keyword corresponding to the property Value from the color table
  nsCSSKeyword keyword = ValueToKeywordEnum(aPropValue, kColorKTable);

  // next get the name as a string from the keywords table
  if (keyword != eCSSKeyword_UNKNOWN) {
    nsCSSKeywords::AddRefTable();
    aStr = nsCSSKeywords::GetStringValue(keyword);
    nsCSSKeywords::ReleaseTable();
    rv = PR_TRUE;
  }
  return rv;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 159 of file nsCSSProps.cpp.

{
  NS_ASSERTION(gPropertyTable, "no lookup table, needs addref");
  if (gPropertyTable) {
    return gPropertyTable->GetStringValue(PRInt32(aProperty));
  } else {
    static nsDependentCString sNullStr("");
    return sNullStr;
  }
}

Here is the caller graph for this function:

static PRBool nsCSSProps::IsShorthand ( nsCSSProperty  aProperty) [inline, static]

Definition at line 56 of file nsCSSProps.h.

                                                            {
    NS_ASSERTION(0 <= aProperty && aProperty < eCSSProperty_COUNT,
                 "out of range");
    return (aProperty >= eCSSProperty_COUNT_no_shorthands);
  }

Here is the caller graph for this function:

nsCSSProperty nsCSSProps::LookupProperty ( const nsAString &  aProperty) [static]

Definition at line 138 of file nsCSSProps.cpp.

{
  // This is faster than converting and calling
  // LookupProperty(nsACString&).  The table will do its own
  // converting and avoid a PromiseFlatCString() call.
  NS_ASSERTION(gPropertyTable, "no lookup table, needs addref");
  nsCSSProperty res = nsCSSProperty(gPropertyTable->Lookup(aProperty));
  if (res == eCSSProperty_UNKNOWN) {
    NS_ConvertUTF16toUTF8 prop(aProperty);
    for (const CSSPropertyAlias *alias = gAliases,
                            *alias_end = gAliases + NS_ARRAY_LENGTH(gAliases);
         alias < alias_end; ++alias)
      if (nsCRT::strcasecmp(prop.get(), alias->name) == 0) {
        res = alias->id;
        break;
      }
  }
  return res;
}

Here is the call graph for this function:

Here is the caller graph for this function:

nsCSSProperty nsCSSProps::LookupProperty ( const nsACString &  aProperty) [static]

Definition at line 119 of file nsCSSProps.cpp.

{
  NS_ASSERTION(gPropertyTable, "no lookup table, needs addref");

  nsCSSProperty res = nsCSSProperty(gPropertyTable->Lookup(aProperty));
  if (res == eCSSProperty_UNKNOWN) {
    const nsCString& prop = PromiseFlatCString(aProperty);
    for (const CSSPropertyAlias *alias = gAliases,
                            *alias_end = gAliases + NS_ARRAY_LENGTH(gAliases);
         alias < alias_end; ++alias)
      if (nsCRT::strcasecmp(prop.get(), alias->name) == 0) {
        res = alias->id;
        break;
      }
  }
  return res;
}

Here is the call graph for this function:

Definition at line 1089 of file nsCSSProps.cpp.

{
  NS_ASSERTION(aProp >= 0 && aProp < eCSSProperty_COUNT, "property out of range");

  const PRInt32* kwtable = nsnull;
  if (aProp < eCSSProperty_COUNT_no_shorthands)
    kwtable = kKeywordTableTable[aProp];

  if (kwtable)
    return ValueToKeyword(aValue, kwtable);

  static nsDependentCString sNullStr("");
  return sNullStr;
}

Here is the call graph for this function:

Here is the caller graph for this function:

Definition at line 92 of file nsCSSProps.cpp.

{
  if (0 == --gTableRefCount) {
    if (gPropertyTable) {
      delete gPropertyTable;
      gPropertyTable = nsnull;
    }
  }
}

Here is the caller graph for this function:

static const nsCSSProperty* const nsCSSProps::SubpropertyEntryFor ( nsCSSProperty  aProperty) [inline, static]

Definition at line 95 of file nsCSSProps.h.

                                                                          {
    NS_ASSERTION(eCSSProperty_COUNT_no_shorthands <= aProperty &&
                 aProperty < eCSSProperty_COUNT,
                 "out of range");
    return nsCSSProps::kSubpropertyTable[aProperty -
                                         eCSSProperty_COUNT_no_shorthands];
  }

Here is the caller graph for this function:

const nsAFlatCString & nsCSSProps::ValueToKeyword ( PRInt32  aValue,
const PRInt32  aTable[] 
) [static]

Definition at line 1070 of file nsCSSProps.cpp.

{
  nsCSSKeyword keyword = ValueToKeywordEnum(aValue, aTable);
  if (keyword == eCSSKeyword_UNKNOWN) {
    static nsDependentCString sNullStr("");
    return sNullStr;
  } else {
    return nsCSSKeywords::GetStringValue(keyword);
  }
}

Here is the call graph for this function:

nsCSSKeyword nsCSSProps::ValueToKeywordEnum ( PRInt32  aValue,
const PRInt32  aTable[] 
) [static]

Definition at line 1054 of file nsCSSProps.cpp.

{
  PRInt32 i = 1;
  for (;;) {
    if (aTable[i] == -1 && aTable[i-1] == eCSSKeyword_UNKNOWN) {
      break;
    }
    if (aValue == aTable[i]) {
      return nsCSSKeyword(aTable[i-1]);
    }
    i += 2;
  }
  return eCSSKeyword_UNKNOWN;
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 108 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_left_side,    NS_STYLE_AZIMUTH_LEFT_SIDE,
  eCSSKeyword_far_left,     NS_STYLE_AZIMUTH_FAR_LEFT,
  eCSSKeyword_left,         NS_STYLE_AZIMUTH_LEFT,
  eCSSKeyword_center_left,  NS_STYLE_AZIMUTH_CENTER_LEFT,
  eCSSKeyword_center,       NS_STYLE_AZIMUTH_CENTER,
  eCSSKeyword_center_right, NS_STYLE_AZIMUTH_CENTER_RIGHT,
  eCSSKeyword_right,        NS_STYLE_AZIMUTH_RIGHT,
  eCSSKeyword_far_right,    NS_STYLE_AZIMUTH_FAR_RIGHT,
  eCSSKeyword_right_side,   NS_STYLE_AZIMUTH_RIGHT_SIDE,
  eCSSKeyword_behind,       NS_STYLE_AZIMUTH_BEHIND,
  eCSSKeyword_leftwards,    NS_STYLE_AZIMUTH_LEFTWARDS,
  eCSSKeyword_rightwards,   NS_STYLE_AZIMUTH_RIGHTWARDS,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 109 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_fixed, NS_STYLE_BG_ATTACHMENT_FIXED,
  eCSSKeyword_scroll, NS_STYLE_BG_ATTACHMENT_SCROLL,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 110 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_border,     NS_STYLE_BG_CLIP_BORDER,
  eCSSKeyword_padding,    NS_STYLE_BG_CLIP_PADDING,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 111 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_transparent, NS_STYLE_BG_COLOR_TRANSPARENT,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 112 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_each_box,     NS_STYLE_BG_INLINE_POLICY_EACH_BOX,
  eCSSKeyword_continuous,   NS_STYLE_BG_INLINE_POLICY_CONTINUOUS,
  eCSSKeyword_bounding_box, NS_STYLE_BG_INLINE_POLICY_BOUNDING_BOX,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 113 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_border,     NS_STYLE_BG_ORIGIN_BORDER,
  eCSSKeyword_padding,    NS_STYLE_BG_ORIGIN_PADDING,
  eCSSKeyword_content,    NS_STYLE_BG_ORIGIN_CONTENT,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 114 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_no_repeat,  NS_STYLE_BG_REPEAT_OFF,
  eCSSKeyword_repeat,     NS_STYLE_BG_REPEAT_XY,
  eCSSKeyword_repeat_x,   NS_STYLE_BG_REPEAT_X,
  eCSSKeyword_repeat_y,   NS_STYLE_BG_REPEAT_Y,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 115 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_left,   0,
  eCSSKeyword_center, 50,
  eCSSKeyword_right,  100,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 116 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_top,    0,
  eCSSKeyword_center, 50,
  eCSSKeyword_bottom, 100,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 117 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_collapse,  NS_STYLE_BORDER_COLLAPSE,
  eCSSKeyword_separate,  NS_STYLE_BORDER_SEPARATE,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 118 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_transparent, NS_STYLE_COLOR_TRANSPARENT,
  eCSSKeyword__moz_use_text_color, NS_STYLE_COLOR_MOZ_USE_TEXT_COLOR,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 119 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_hidden, NS_STYLE_BORDER_STYLE_HIDDEN,
  eCSSKeyword_dotted, NS_STYLE_BORDER_STYLE_DOTTED,
  eCSSKeyword_dashed, NS_STYLE_BORDER_STYLE_DASHED,
  eCSSKeyword_solid,  NS_STYLE_BORDER_STYLE_SOLID,
  eCSSKeyword_double, NS_STYLE_BORDER_STYLE_DOUBLE,
  eCSSKeyword_groove, NS_STYLE_BORDER_STYLE_GROOVE,
  eCSSKeyword_ridge,  NS_STYLE_BORDER_STYLE_RIDGE,
  eCSSKeyword_inset,  NS_STYLE_BORDER_STYLE_INSET,
  eCSSKeyword_outset, NS_STYLE_BORDER_STYLE_OUTSET,
  eCSSKeyword__moz_bg_inset,  NS_STYLE_BORDER_STYLE_BG_INSET,
  eCSSKeyword__moz_bg_outset, NS_STYLE_BORDER_STYLE_BG_OUTSET,
  eCSSKeyword__moz_bg_solid,  NS_STYLE_BORDER_STYLE_BG_SOLID,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 120 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_thin, NS_STYLE_BORDER_WIDTH_THIN,
  eCSSKeyword_medium, NS_STYLE_BORDER_WIDTH_MEDIUM,
  eCSSKeyword_thick, NS_STYLE_BORDER_WIDTH_THICK,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 121 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_stretch,  NS_STYLE_BOX_ALIGN_STRETCH,
  eCSSKeyword_start,   NS_STYLE_BOX_ALIGN_START,
  eCSSKeyword_center, NS_STYLE_BOX_ALIGN_CENTER,
  eCSSKeyword_baseline, NS_STYLE_BOX_ALIGN_BASELINE, 
  eCSSKeyword_end, NS_STYLE_BOX_ALIGN_END, 
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 122 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_normal,  NS_STYLE_BOX_DIRECTION_NORMAL,
  eCSSKeyword_reverse,   NS_STYLE_BOX_DIRECTION_REVERSE,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 123 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_horizontal,  NS_STYLE_BOX_ORIENT_HORIZONTAL,
  eCSSKeyword_vertical,   NS_STYLE_BOX_ORIENT_VERTICAL,
  eCSSKeyword_inline_axis, NS_STYLE_BOX_ORIENT_HORIZONTAL,
  eCSSKeyword_block_axis, NS_STYLE_BOX_ORIENT_VERTICAL, 
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 124 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_start,  NS_STYLE_BOX_PACK_START,
  eCSSKeyword_center,   NS_STYLE_BOX_PACK_CENTER,
  eCSSKeyword_end, NS_STYLE_BOX_PACK_END,
  eCSSKeyword_justify, NS_STYLE_BOX_PACK_JUSTIFY, 
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 125 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_physical,     NS_BOXPROP_SOURCE_PHYSICAL,
  eCSSKeyword_logical,      NS_BOXPROP_SOURCE_LOGICAL,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 136 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_content_box,  NS_STYLE_BOX_SIZING_CONTENT,
  eCSSKeyword_border_box,   NS_STYLE_BOX_SIZING_BORDER,
  eCSSKeyword_padding_box,  NS_STYLE_BOX_SIZING_PADDING,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 137 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_top,    NS_SIDE_TOP,
  eCSSKeyword_right,  NS_SIDE_RIGHT,
  eCSSKeyword_bottom, NS_SIDE_BOTTOM,
  eCSSKeyword_left,   NS_SIDE_LEFT,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 138 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_left, NS_STYLE_CLEAR_LEFT,
  eCSSKeyword_right, NS_STYLE_CLEAR_RIGHT,
  eCSSKeyword_both, NS_STYLE_CLEAR_LEFT_AND_RIGHT,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 139 of file nsCSSProps.h.

Definition at line 140 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_open_quote, NS_STYLE_CONTENT_OPEN_QUOTE,
  eCSSKeyword_close_quote, NS_STYLE_CONTENT_CLOSE_QUOTE,
  eCSSKeyword_no_open_quote, NS_STYLE_CONTENT_NO_OPEN_QUOTE,
  eCSSKeyword_no_close_quote, NS_STYLE_CONTENT_NO_CLOSE_QUOTE,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 141 of file nsCSSProps.h.

Definition at line 142 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_ltr,      NS_STYLE_DIRECTION_LTR,
  eCSSKeyword_rtl,      NS_STYLE_DIRECTION_RTL,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 143 of file nsCSSProps.h.

Definition at line 144 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_below,  NS_STYLE_ELEVATION_BELOW,
  eCSSKeyword_level,  NS_STYLE_ELEVATION_LEVEL,
  eCSSKeyword_above,  NS_STYLE_ELEVATION_ABOVE,
  eCSSKeyword_higher, NS_STYLE_ELEVATION_HIGHER,
  eCSSKeyword_lower,  NS_STYLE_ELEVATION_LOWER,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 145 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_show,                 NS_STYLE_TABLE_EMPTY_CELLS_SHOW,
  eCSSKeyword_hide,                 NS_STYLE_TABLE_EMPTY_CELLS_HIDE,
  eCSSKeyword__moz_show_background, NS_STYLE_TABLE_EMPTY_CELLS_SHOW_BACKGROUND,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 146 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_content_box,  NS_STYLE_FLOAT_EDGE_CONTENT,
  eCSSKeyword_border_box,  NS_STYLE_FLOAT_EDGE_BORDER,
  eCSSKeyword_padding_box,  NS_STYLE_FLOAT_EDGE_PADDING,
  eCSSKeyword_margin_box,  NS_STYLE_FLOAT_EDGE_MARGIN,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 148 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_left,  NS_STYLE_FLOAT_LEFT,
  eCSSKeyword_right, NS_STYLE_FLOAT_RIGHT,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 147 of file nsCSSProps.h.

Initial value:
 {
  
  eCSSKeyword_caption, NS_STYLE_FONT_CAPTION,
  eCSSKeyword_icon, NS_STYLE_FONT_ICON,
  eCSSKeyword_menu, NS_STYLE_FONT_MENU,
  eCSSKeyword_message_box, NS_STYLE_FONT_MESSAGE_BOX,
  eCSSKeyword_small_caption, NS_STYLE_FONT_SMALL_CAPTION,
  eCSSKeyword_status_bar, NS_STYLE_FONT_STATUS_BAR,

  
  eCSSKeyword__moz_window, NS_STYLE_FONT_WINDOW,
  eCSSKeyword__moz_document, NS_STYLE_FONT_DOCUMENT,
  eCSSKeyword__moz_workspace, NS_STYLE_FONT_WORKSPACE,
  eCSSKeyword__moz_desktop, NS_STYLE_FONT_DESKTOP,
  eCSSKeyword__moz_info, NS_STYLE_FONT_INFO,
  eCSSKeyword__moz_dialog, NS_STYLE_FONT_DIALOG,
  eCSSKeyword__moz_button, NS_STYLE_FONT_BUTTON,
  eCSSKeyword__moz_pull_down_menu, NS_STYLE_FONT_PULL_DOWN_MENU,
  eCSSKeyword__moz_list, NS_STYLE_FONT_LIST,
  eCSSKeyword__moz_field, NS_STYLE_FONT_FIELD,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 149 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_xx_small, NS_STYLE_FONT_SIZE_XXSMALL,
  eCSSKeyword_x_small, NS_STYLE_FONT_SIZE_XSMALL,
  eCSSKeyword_small, NS_STYLE_FONT_SIZE_SMALL,
  eCSSKeyword_medium, NS_STYLE_FONT_SIZE_MEDIUM,
  eCSSKeyword_large, NS_STYLE_FONT_SIZE_LARGE,
  eCSSKeyword_x_large, NS_STYLE_FONT_SIZE_XLARGE,
  eCSSKeyword_xx_large, NS_STYLE_FONT_SIZE_XXLARGE,
  eCSSKeyword_larger, NS_STYLE_FONT_SIZE_LARGER,
  eCSSKeyword_smaller, NS_STYLE_FONT_SIZE_SMALLER,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 150 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_wider, NS_STYLE_FONT_STRETCH_WIDER,
  eCSSKeyword_narrower, NS_STYLE_FONT_STRETCH_NARROWER,
  eCSSKeyword_ultra_condensed, NS_STYLE_FONT_STRETCH_ULTRA_CONDENSED,
  eCSSKeyword_extra_condensed, NS_STYLE_FONT_STRETCH_EXTRA_CONDENSED,
  eCSSKeyword_condensed, NS_STYLE_FONT_STRETCH_CONDENSED,
  eCSSKeyword_semi_condensed, NS_STYLE_FONT_STRETCH_SEMI_CONDENSED,
  eCSSKeyword_semi_expanded, NS_STYLE_FONT_STRETCH_SEMI_EXPANDED,
  eCSSKeyword_expanded, NS_STYLE_FONT_STRETCH_EXPANDED,
  eCSSKeyword_extra_expanded, NS_STYLE_FONT_STRETCH_EXTRA_EXPANDED,
  eCSSKeyword_ultra_expanded, NS_STYLE_FONT_STRETCH_ULTRA_EXPANDED,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 151 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_italic, NS_STYLE_FONT_STYLE_ITALIC,
  eCSSKeyword_oblique, NS_STYLE_FONT_STYLE_OBLIQUE,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 152 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_small_caps, NS_STYLE_FONT_VARIANT_SMALL_CAPS,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 153 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_bold, NS_STYLE_FONT_WEIGHT_BOLD,
  eCSSKeyword_bolder, NS_STYLE_FONT_WEIGHT_BOLDER,
  eCSSKeyword_lighter, NS_STYLE_FONT_WEIGHT_LIGHTER,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 154 of file nsCSSProps.h.

Initial value:

Definition at line 155 of file nsCSSProps.h.

Definition at line 85 of file nsCSSProps.h.

Definition at line 157 of file nsCSSProps.h.

Initial value:

Definition at line 156 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_invert, NS_STYLE_COLOR_INVERT,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 159 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_dotted, NS_STYLE_BORDER_STYLE_DOTTED,
  eCSSKeyword_dashed, NS_STYLE_BORDER_STYLE_DASHED,
  eCSSKeyword_solid,  NS_STYLE_BORDER_STYLE_SOLID,
  eCSSKeyword_double, NS_STYLE_BORDER_STYLE_DOUBLE,
  eCSSKeyword_groove, NS_STYLE_BORDER_STYLE_GROOVE,
  eCSSKeyword_ridge,  NS_STYLE_BORDER_STYLE_RIDGE,
  eCSSKeyword_inset,  NS_STYLE_BORDER_STYLE_INSET,
  eCSSKeyword_outset, NS_STYLE_BORDER_STYLE_OUTSET,
  eCSSKeyword__moz_bg_inset,  NS_STYLE_BORDER_STYLE_BG_INSET,
  eCSSKeyword__moz_bg_outset, NS_STYLE_BORDER_STYLE_BG_OUTSET,
  eCSSKeyword__moz_bg_solid,  NS_STYLE_BORDER_STYLE_BG_SOLID,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 158 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_visible, NS_STYLE_OVERFLOW_VISIBLE,
  eCSSKeyword_hidden, NS_STYLE_OVERFLOW_HIDDEN,
  eCSSKeyword_scroll, NS_STYLE_OVERFLOW_SCROLL,
  
  eCSSKeyword__moz_scrollbars_none, NS_STYLE_OVERFLOW_HIDDEN,
  eCSSKeyword__moz_scrollbars_horizontal, NS_STYLE_OVERFLOW_SCROLLBARS_HORIZONTAL,
  eCSSKeyword__moz_scrollbars_vertical, NS_STYLE_OVERFLOW_SCROLLBARS_VERTICAL,
  eCSSKeyword__moz_hidden_unscrollable, NS_STYLE_OVERFLOW_CLIP,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 160 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_visible, NS_STYLE_OVERFLOW_VISIBLE,
  eCSSKeyword_hidden, NS_STYLE_OVERFLOW_HIDDEN,
  eCSSKeyword_scroll, NS_STYLE_OVERFLOW_SCROLL,
  
  eCSSKeyword__moz_hidden_unscrollable, NS_STYLE_OVERFLOW_CLIP,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 161 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_avoid, NS_STYLE_PAGE_BREAK_AVOID,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 163 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_always, NS_STYLE_PAGE_BREAK_ALWAYS,
  eCSSKeyword_avoid, NS_STYLE_PAGE_BREAK_AVOID,
  eCSSKeyword_left, NS_STYLE_PAGE_BREAK_LEFT,
  eCSSKeyword_right, NS_STYLE_PAGE_BREAK_RIGHT,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 162 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_crop, NS_STYLE_PAGE_MARKS_CROP,
  eCSSKeyword_cross, NS_STYLE_PAGE_MARKS_REGISTER,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 164 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_landscape, NS_STYLE_PAGE_SIZE_LANDSCAPE,
  eCSSKeyword_portrait, NS_STYLE_PAGE_SIZE_PORTRAIT,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 165 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_x_low, NS_STYLE_PITCH_X_LOW,
  eCSSKeyword_low, NS_STYLE_PITCH_LOW,
  eCSSKeyword_medium, NS_STYLE_PITCH_MEDIUM,
  eCSSKeyword_high, NS_STYLE_PITCH_HIGH,
  eCSSKeyword_x_high, NS_STYLE_PITCH_X_HIGH,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 166 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_static, NS_STYLE_POSITION_STATIC,
  eCSSKeyword_relative, NS_STYLE_POSITION_RELATIVE,
  eCSSKeyword_absolute, NS_STYLE_POSITION_ABSOLUTE,
  eCSSKeyword_fixed, NS_STYLE_POSITION_FIXED,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 167 of file nsCSSProps.h.

Definition at line 84 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_once, NS_STYLE_SPEAK_HEADER_ONCE,
  eCSSKeyword_always, NS_STYLE_SPEAK_HEADER_ALWAYS,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 169 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_spell_out, NS_STYLE_SPEAK_SPELL_OUT,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 168 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_digits, NS_STYLE_SPEAK_NUMERAL_DIGITS,
  eCSSKeyword_continuous, NS_STYLE_SPEAK_NUMERAL_CONTINUOUS,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 170 of file nsCSSProps.h.

Initial value:

Definition at line 171 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_x_slow, NS_STYLE_SPEECH_RATE_X_SLOW,
  eCSSKeyword_slow, NS_STYLE_SPEECH_RATE_SLOW,
  eCSSKeyword_medium, NS_STYLE_SPEECH_RATE_MEDIUM,
  eCSSKeyword_fast, NS_STYLE_SPEECH_RATE_FAST,
  eCSSKeyword_x_fast, NS_STYLE_SPEECH_RATE_X_FAST,
  eCSSKeyword_faster, NS_STYLE_SPEECH_RATE_FASTER,
  eCSSKeyword_slower, NS_STYLE_SPEECH_RATE_SLOWER,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 172 of file nsCSSProps.h.

Definition at line 91 of file nsCSSProps.h.

Initial value:

Definition at line 173 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_left, NS_STYLE_TEXT_ALIGN_LEFT,
  eCSSKeyword_right, NS_STYLE_TEXT_ALIGN_RIGHT,
  eCSSKeyword_center, NS_STYLE_TEXT_ALIGN_CENTER,
  eCSSKeyword_justify, NS_STYLE_TEXT_ALIGN_JUSTIFY,
  eCSSKeyword__moz_center, NS_STYLE_TEXT_ALIGN_MOZ_CENTER,
  eCSSKeyword__moz_right, NS_STYLE_TEXT_ALIGN_MOZ_RIGHT,
  eCSSKeyword__moz_left, NS_STYLE_TEXT_ALIGN_MOZ_LEFT,
  eCSSKeyword_start, NS_STYLE_TEXT_ALIGN_DEFAULT,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 174 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_underline, NS_STYLE_TEXT_DECORATION_UNDERLINE,
  eCSSKeyword_overline, NS_STYLE_TEXT_DECORATION_OVERLINE,
  eCSSKeyword_line_through, NS_STYLE_TEXT_DECORATION_LINE_THROUGH,
  eCSSKeyword_blink, NS_STYLE_TEXT_DECORATION_BLINK,
  eCSSKeyword__moz_anchor_decoration, NS_STYLE_TEXT_DECORATION_PREF_ANCHORS,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 175 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_capitalize, NS_STYLE_TEXT_TRANSFORM_CAPITALIZE,
  eCSSKeyword_lowercase, NS_STYLE_TEXT_TRANSFORM_LOWERCASE,
  eCSSKeyword_uppercase, NS_STYLE_TEXT_TRANSFORM_UPPERCASE,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 176 of file nsCSSProps.h.

Definition at line 83 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_embed, NS_STYLE_UNICODE_BIDI_EMBED,
  eCSSKeyword_bidi_override, NS_STYLE_UNICODE_BIDI_OVERRIDE,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 177 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_ignore,         NS_STYLE_USER_FOCUS_IGNORE,
  eCSSKeyword_select_all,     NS_STYLE_USER_FOCUS_SELECT_ALL,
  eCSSKeyword_select_before,  NS_STYLE_USER_FOCUS_SELECT_BEFORE,
  eCSSKeyword_select_after,   NS_STYLE_USER_FOCUS_SELECT_AFTER,
  eCSSKeyword_select_same,    NS_STYLE_USER_FOCUS_SELECT_SAME,
  eCSSKeyword_select_menu,    NS_STYLE_USER_FOCUS_SELECT_MENU,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 178 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_enabled,  NS_STYLE_USER_INPUT_ENABLED,
  eCSSKeyword_disabled, NS_STYLE_USER_INPUT_DISABLED,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 179 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_read_only,  NS_STYLE_USER_MODIFY_READ_ONLY,
  eCSSKeyword_read_write, NS_STYLE_USER_MODIFY_READ_WRITE,
  eCSSKeyword_write_only, NS_STYLE_USER_MODIFY_WRITE_ONLY,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 180 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_text,       NS_STYLE_USER_SELECT_TEXT,
  eCSSKeyword_element,    NS_STYLE_USER_SELECT_ELEMENT,
  eCSSKeyword_elements,   NS_STYLE_USER_SELECT_ELEMENTS,
  eCSSKeyword_all,        NS_STYLE_USER_SELECT_ALL,
  eCSSKeyword_toggle,     NS_STYLE_USER_SELECT_TOGGLE,
  eCSSKeyword_tri_state,  NS_STYLE_USER_SELECT_TRI_STATE,
  eCSSKeyword__moz_all,   NS_STYLE_USER_SELECT_MOZ_ALL,
  eCSSKeyword__moz_none,  NS_STYLE_USER_SELECT_MOZ_NONE,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 181 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_baseline, NS_STYLE_VERTICAL_ALIGN_BASELINE,
  eCSSKeyword_sub, NS_STYLE_VERTICAL_ALIGN_SUB,
  eCSSKeyword_super, NS_STYLE_VERTICAL_ALIGN_SUPER,
  eCSSKeyword_top, NS_STYLE_VERTICAL_ALIGN_TOP,
  eCSSKeyword_text_top, NS_STYLE_VERTICAL_ALIGN_TEXT_TOP,
  eCSSKeyword_middle, NS_STYLE_VERTICAL_ALIGN_MIDDLE,
  eCSSKeyword__moz_middle_with_baseline, NS_STYLE_VERTICAL_ALIGN_MIDDLE_WITH_BASELINE,
  eCSSKeyword_bottom, NS_STYLE_VERTICAL_ALIGN_BOTTOM,
  eCSSKeyword_text_bottom, NS_STYLE_VERTICAL_ALIGN_TEXT_BOTTOM,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 182 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_visible, NS_STYLE_VISIBILITY_VISIBLE,
  eCSSKeyword_hidden, NS_STYLE_VISIBILITY_HIDDEN,
  eCSSKeyword_collapse, NS_STYLE_VISIBILITY_COLLAPSE,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 183 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_silent, NS_STYLE_VOLUME_SILENT,
  eCSSKeyword_x_soft, NS_STYLE_VOLUME_X_SOFT,
  eCSSKeyword_soft, NS_STYLE_VOLUME_SOFT,
  eCSSKeyword_medium, NS_STYLE_VOLUME_MEDIUM,
  eCSSKeyword_loud, NS_STYLE_VOLUME_LOUD,
  eCSSKeyword_x_loud, NS_STYLE_VOLUME_X_LOUD,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 184 of file nsCSSProps.h.

Initial value:
 {
  eCSSKeyword_pre, NS_STYLE_WHITESPACE_PRE,
  eCSSKeyword_nowrap, NS_STYLE_WHITESPACE_NOWRAP,
  eCSSKeyword__moz_pre_wrap, NS_STYLE_WHITESPACE_MOZ_PRE_WRAP,
  eCSSKeyword_UNKNOWN,-1
}

Definition at line 185 of file nsCSSProps.h.


The documentation for this class was generated from the following files: