cssproperties.c   [plain text]


/* ANSI-C code produced by gperf version 3.0.1 */
/* Command-line: gperf -a -L ANSI-C -E -C -c -o -t -k '*' -NfindProp -Hhash_prop -Wwordlist_prop -D -s 2 cssproperties.gperf  */

#if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \
      && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \
      && (')' == 41) && ('*' == 42) && ('+' == 43) && (',' == 44) \
      && ('-' == 45) && ('.' == 46) && ('/' == 47) && ('0' == 48) \
      && ('1' == 49) && ('2' == 50) && ('3' == 51) && ('4' == 52) \
      && ('5' == 53) && ('6' == 54) && ('7' == 55) && ('8' == 56) \
      && ('9' == 57) && (':' == 58) && (';' == 59) && ('<' == 60) \
      && ('=' == 61) && ('>' == 62) && ('?' == 63) && ('A' == 65) \
      && ('B' == 66) && ('C' == 67) && ('D' == 68) && ('E' == 69) \
      && ('F' == 70) && ('G' == 71) && ('H' == 72) && ('I' == 73) \
      && ('J' == 74) && ('K' == 75) && ('L' == 76) && ('M' == 77) \
      && ('N' == 78) && ('O' == 79) && ('P' == 80) && ('Q' == 81) \
      && ('R' == 82) && ('S' == 83) && ('T' == 84) && ('U' == 85) \
      && ('V' == 86) && ('W' == 87) && ('X' == 88) && ('Y' == 89) \
      && ('Z' == 90) && ('[' == 91) && ('\\' == 92) && (']' == 93) \
      && ('^' == 94) && ('_' == 95) && ('a' == 97) && ('b' == 98) \
      && ('c' == 99) && ('d' == 100) && ('e' == 101) && ('f' == 102) \
      && ('g' == 103) && ('h' == 104) && ('i' == 105) && ('j' == 106) \
      && ('k' == 107) && ('l' == 108) && ('m' == 109) && ('n' == 110) \
      && ('o' == 111) && ('p' == 112) && ('q' == 113) && ('r' == 114) \
      && ('s' == 115) && ('t' == 116) && ('u' == 117) && ('v' == 118) \
      && ('w' == 119) && ('x' == 120) && ('y' == 121) && ('z' == 122) \
      && ('{' == 123) && ('|' == 124) && ('}' == 125) && ('~' == 126))
/* The character set is not based on ISO-646.  */
#error "gperf generated tables don't work with this execution character set. Please report a bug to <bug-gnu-gperf@gnu.org>."
#endif

#line 1 "cssproperties.gperf"

/* This file is automatically generated from cssproperties.in by makeprop, do not edit */
/* Copyright 1999 W. Bastian */
#include "cssproperties.h"
#line 6 "cssproperties.gperf"
struct props {
    const char *name;
    int id;
};
/* maximum key range = 514, duplicates = 0 */

#ifdef __GNUC__
__inline
#else
#ifdef __cplusplus
inline
#endif
#endif
static unsigned int
hash_prop (register const char *str, register unsigned int len)
{
  static const unsigned short asso_values[] =
    {
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517,   0, 517, 517, 517, 517,
      517,   5, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517,   0,   0,   0,
        0,   5, 135,  25,  15,   0,   5,  25,   0,   0,
        0,   0,   0,  45,   0,  25,   0,  70,  40, 205,
      110, 210,  15, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517, 517, 517, 517, 517,
      517, 517, 517, 517, 517, 517
    };
  register int hval = len;

  switch (hval)
    {
      default:
        hval += asso_values[(unsigned char)str[41]];
      /*FALLTHROUGH*/
      case 41:
        hval += asso_values[(unsigned char)str[40]];
      /*FALLTHROUGH*/
      case 40:
        hval += asso_values[(unsigned char)str[39]];
      /*FALLTHROUGH*/
      case 39:
        hval += asso_values[(unsigned char)str[38]];
      /*FALLTHROUGH*/
      case 38:
        hval += asso_values[(unsigned char)str[37]];
      /*FALLTHROUGH*/
      case 37:
        hval += asso_values[(unsigned char)str[36]];
      /*FALLTHROUGH*/
      case 36:
        hval += asso_values[(unsigned char)str[35]];
      /*FALLTHROUGH*/
      case 35:
        hval += asso_values[(unsigned char)str[34]];
      /*FALLTHROUGH*/
      case 34:
        hval += asso_values[(unsigned char)str[33]];
      /*FALLTHROUGH*/
      case 33:
        hval += asso_values[(unsigned char)str[32]];
      /*FALLTHROUGH*/
      case 32:
        hval += asso_values[(unsigned char)str[31]];
      /*FALLTHROUGH*/
      case 31:
        hval += asso_values[(unsigned char)str[30]];
      /*FALLTHROUGH*/
      case 30:
        hval += asso_values[(unsigned char)str[29]];
      /*FALLTHROUGH*/
      case 29:
        hval += asso_values[(unsigned char)str[28]];
      /*FALLTHROUGH*/
      case 28:
        hval += asso_values[(unsigned char)str[27]];
      /*FALLTHROUGH*/
      case 27:
        hval += asso_values[(unsigned char)str[26]];
      /*FALLTHROUGH*/
      case 26:
        hval += asso_values[(unsigned char)str[25]];
      /*FALLTHROUGH*/
      case 25:
        hval += asso_values[(unsigned char)str[24]];
      /*FALLTHROUGH*/
      case 24:
        hval += asso_values[(unsigned char)str[23]];
      /*FALLTHROUGH*/
      case 23:
        hval += asso_values[(unsigned char)str[22]];
      /*FALLTHROUGH*/
      case 22:
        hval += asso_values[(unsigned char)str[21]];
      /*FALLTHROUGH*/
      case 21:
        hval += asso_values[(unsigned char)str[20]];
      /*FALLTHROUGH*/
      case 20:
        hval += asso_values[(unsigned char)str[19]];
      /*FALLTHROUGH*/
      case 19:
        hval += asso_values[(unsigned char)str[18]];
      /*FALLTHROUGH*/
      case 18:
        hval += asso_values[(unsigned char)str[17]];
      /*FALLTHROUGH*/
      case 17:
        hval += asso_values[(unsigned char)str[16]];
      /*FALLTHROUGH*/
      case 16:
        hval += asso_values[(unsigned char)str[15]];
      /*FALLTHROUGH*/
      case 15:
        hval += asso_values[(unsigned char)str[14]];
      /*FALLTHROUGH*/
      case 14:
        hval += asso_values[(unsigned char)str[13]];
      /*FALLTHROUGH*/
      case 13:
        hval += asso_values[(unsigned char)str[12]];
      /*FALLTHROUGH*/
      case 12:
        hval += asso_values[(unsigned char)str[11]];
      /*FALLTHROUGH*/
      case 11:
        hval += asso_values[(unsigned char)str[10]];
      /*FALLTHROUGH*/
      case 10:
        hval += asso_values[(unsigned char)str[9]];
      /*FALLTHROUGH*/
      case 9:
        hval += asso_values[(unsigned char)str[8]];
      /*FALLTHROUGH*/
      case 8:
        hval += asso_values[(unsigned char)str[7]];
      /*FALLTHROUGH*/
      case 7:
        hval += asso_values[(unsigned char)str[6]];
      /*FALLTHROUGH*/
      case 6:
        hval += asso_values[(unsigned char)str[5]];
      /*FALLTHROUGH*/
      case 5:
        hval += asso_values[(unsigned char)str[4]];
      /*FALLTHROUGH*/
      case 4:
        hval += asso_values[(unsigned char)str[3]];
      /*FALLTHROUGH*/
      case 3:
        hval += asso_values[(unsigned char)str[2]];
      /*FALLTHROUGH*/
      case 2:
        hval += asso_values[(unsigned char)str[1]];
      /*FALLTHROUGH*/
      case 1:
        hval += asso_values[(unsigned char)str[0]];
        break;
    }
  return hval;
}

#ifdef __GNUC__
__inline
#endif
const struct props *
findProp (register const char *str, register unsigned int len)
{
  enum
    {
      TOTAL_KEYWORDS = 160,
      MIN_WORD_LENGTH = 3,
      MAX_WORD_LENGTH = 42,
      MIN_HASH_VALUE = 3,
      MAX_HASH_VALUE = 516
    };

  static const struct props wordlist_prop[] =
    {
#line 136 "cssproperties.gperf"
      {"top", CSS_PROP_TOP},
#line 46 "cssproperties.gperf"
      {"clip", CSS_PROP_CLIP},
#line 47 "cssproperties.gperf"
      {"color", CSS_PROP_COLOR},
#line 35 "cssproperties.gperf"
      {"bottom", CSS_PROP_BOTTOM},
#line 45 "cssproperties.gperf"
      {"clear", CSS_PROP_CLEAR},
#line 150 "cssproperties.gperf"
      {"border", CSS_PROP_BORDER},
#line 48 "cssproperties.gperf"
      {"content", CSS_PROP_CONTENT},
#line 52 "cssproperties.gperf"
      {"direction", CSS_PROP_DIRECTION},
#line 153 "cssproperties.gperf"
      {"border-top", CSS_PROP_BORDER_TOP},
#line 151 "cssproperties.gperf"
      {"border-color", CSS_PROP_BORDER_COLOR},
#line 155 "cssproperties.gperf"
      {"border-bottom", CSS_PROP_BORDER_BOTTOM},
#line 23 "cssproperties.gperf"
      {"border-top-color", CSS_PROP_BORDER_TOP_COLOR},
#line 25 "cssproperties.gperf"
      {"border-bottom-color", CSS_PROP_BORDER_BOTTOM_COLOR},
#line 66 "cssproperties.gperf"
      {"-apple-line-clamp", CSS_PROP__APPLE_LINE_CLAMP},
#line 160 "cssproperties.gperf"
      {"margin", CSS_PROP_MARGIN},
#line 162 "cssproperties.gperf"
      {"padding", CSS_PROP_PADDING},
#line 108 "cssproperties.gperf"
      {"position", CSS_PROP_POSITION},
#line 104 "cssproperties.gperf"
      {"page", CSS_PROP_PAGE},
#line 71 "cssproperties.gperf"
      {"margin-top", CSS_PROP_MARGIN_TOP},
#line 99 "cssproperties.gperf"
      {"padding-top", CSS_PROP_PADDING_TOP},
#line 73 "cssproperties.gperf"
      {"margin-bottom", CSS_PROP_MARGIN_BOTTOM},
#line 101 "cssproperties.gperf"
      {"padding-bottom", CSS_PROP_PADDING_BOTTOM},
#line 44 "cssproperties.gperf"
      {"caption-side", CSS_PROP_CAPTION_SIDE},
#line 110 "cssproperties.gperf"
      {"right", CSS_PROP_RIGHT},
#line 93 "cssproperties.gperf"
      {"orphans", CSS_PROP_ORPHANS},
#line 111 "cssproperties.gperf"
      {"size", CSS_PROP_SIZE},
#line 19 "cssproperties.gperf"
      {"border-collapse", CSS_PROP_BORDER_COLLAPSE},
#line 154 "cssproperties.gperf"
      {"border-right", CSS_PROP_BORDER_RIGHT},
#line 24 "cssproperties.gperf"
      {"border-right-color", CSS_PROP_BORDER_RIGHT_COLOR},
#line 63 "cssproperties.gperf"
      {"height", CSS_PROP_HEIGHT},
#line 20 "cssproperties.gperf"
      {"border-spacing", CSS_PROP_BORDER_SPACING},
#line 89 "cssproperties.gperf"
      {"min-height", CSS_PROP_MIN_HEIGHT},
#line 168 "cssproperties.gperf"
      {"scrollbar-track-color", CSS_PROP_SCROLLBAR_TRACK_COLOR},
#line 65 "cssproperties.gperf"
      {"letter-spacing", CSS_PROP_LETTER_SPACING},
#line 67 "cssproperties.gperf"
      {"line-height", CSS_PROP_LINE_HEIGHT},
#line 72 "cssproperties.gperf"
      {"margin-right", CSS_PROP_MARGIN_RIGHT},
#line 100 "cssproperties.gperf"
      {"padding-right", CSS_PROP_PADDING_RIGHT},
#line 18 "cssproperties.gperf"
      {"-khtml-binding", CSS_PROP__KHTML_BINDING},
#line 161 "cssproperties.gperf"
      {"outline", CSS_PROP_OUTLINE},
#line 141 "cssproperties.gperf"
      {"vertical-align", CSS_PROP_VERTICAL_ALIGN},
#line 91 "cssproperties.gperf"
      {"-khtml-nbsp-mode", CSS_PROP__KHTML_NBSP_MODE},
#line 137 "cssproperties.gperf"
      {"unicode-bidi", CSS_PROP_UNICODE_BIDI},
#line 94 "cssproperties.gperf"
      {"outline-color", CSS_PROP_OUTLINE_COLOR},
#line 75 "cssproperties.gperf"
      {"-khtml-line-break", CSS_PROP__KHTML_LINE_BREAK},
#line 166 "cssproperties.gperf"
      {"scrollbar-3dlight-color", CSS_PROP_SCROLLBAR_3DLIGHT_COLOR},
#line 135 "cssproperties.gperf"
      {"-apple-dashboard-region", CSS_PROP__APPLE_DASHBOARD_REGION},
#line 51 "cssproperties.gperf"
      {"cursor", CSS_PROP_CURSOR},
#line 49 "cssproperties.gperf"
      {"counter-increment", CSS_PROP_COUNTER_INCREMENT},
#line 107 "cssproperties.gperf"
      {"page-break-inside", CSS_PROP_PAGE_BREAK_INSIDE},
#line 79 "cssproperties.gperf"
      {"-khtml-margin-start", CSS_PROP__KHTML_MARGIN_START},
#line 103 "cssproperties.gperf"
      {"-khtml-padding-start", CSS_PROP__KHTML_PADDING_START},
#line 76 "cssproperties.gperf"
      {"-khtml-margin-collapse", CSS_PROP__KHTML_MARGIN_COLLAPSE},
#line 77 "cssproperties.gperf"
      {"-khtml-margin-top-collapse", CSS_PROP__KHTML_MARGIN_TOP_COLLAPSE},
#line 50 "cssproperties.gperf"
      {"counter-reset", CSS_PROP_COUNTER_RESET},
#line 78 "cssproperties.gperf"
      {"-khtml-margin-bottom-collapse", CSS_PROP__KHTML_MARGIN_BOTTOM_COLLAPSE},
#line 149 "cssproperties.gperf"
      {"background", CSS_PROP_BACKGROUND},
#line 115 "cssproperties.gperf"
      {"text-indent", CSS_PROP_TEXT_INDENT},
#line 114 "cssproperties.gperf"
      {"text-decoration", CSS_PROP_TEXT_DECORATION},
#line 11 "cssproperties.gperf"
      {"background-color", CSS_PROP_BACKGROUND_COLOR},
#line 148 "cssproperties.gperf"
      {"z-index", CSS_PROP_Z_INDEX},
#line 158 "cssproperties.gperf"
      {"font", CSS_PROP_FONT},
#line 55 "cssproperties.gperf"
      {"float", CSS_PROP_FLOAT},
#line 64 "cssproperties.gperf"
      {"left", CSS_PROP_LEFT},
#line 165 "cssproperties.gperf"
      {"scrollbar-highlight-color", CSS_PROP_SCROLLBAR_HIGHLIGHT_COLOR},
#line 13 "cssproperties.gperf"
      {"background-repeat", CSS_PROP_BACKGROUND_REPEAT},
#line 113 "cssproperties.gperf"
      {"text-align", CSS_PROP_TEXT_ALIGN},
#line 109 "cssproperties.gperf"
      {"quotes", CSS_PROP_QUOTES},
#line 156 "cssproperties.gperf"
      {"border-left", CSS_PROP_BORDER_LEFT},
#line 21 "cssproperties.gperf"
      {"-khtml-border-horizontal-spacing", CSS_PROP__KHTML_BORDER_HORIZONTAL_SPACING},
#line 14 "cssproperties.gperf"
      {"background-attachment", CSS_PROP_BACKGROUND_ATTACHMENT},
#line 26 "cssproperties.gperf"
      {"border-left-color", CSS_PROP_BORDER_LEFT_COLOR},
#line 15 "cssproperties.gperf"
      {"background-position", CSS_PROP_BACKGROUND_POSITION},
#line 12 "cssproperties.gperf"
      {"background-image", CSS_PROP_BACKGROUND_IMAGE},
#line 22 "cssproperties.gperf"
      {"-khtml-border-vertical-spacing", CSS_PROP__KHTML_BORDER_VERTICAL_SPACING},
#line 42 "cssproperties.gperf"
      {"-khtml-box-orient", CSS_PROP__KHTML_BOX_ORIENT},
#line 37 "cssproperties.gperf"
      {"-khtml-box-direction", CSS_PROP__KHTML_BOX_DIRECTION},
#line 74 "cssproperties.gperf"
      {"margin-left", CSS_PROP_MARGIN_LEFT},
#line 102 "cssproperties.gperf"
      {"padding-left", CSS_PROP_PADDING_LEFT},
#line 122 "cssproperties.gperf"
      {"text-overline", CSS_PROP_TEXT_OVERLINE},
#line 80 "cssproperties.gperf"
      {"-khtml-marquee", CSS_PROP__KHTML_MARQUEE},
#line 87 "cssproperties.gperf"
      {"max-height", CSS_PROP_MAX_HEIGHT},
#line 138 "cssproperties.gperf"
      {"-khtml-user-drag", CSS_PROP__KHTML_USER_DRAG},
#line 123 "cssproperties.gperf"
      {"text-overline-color", CSS_PROP_TEXT_OVERLINE_COLOR},
#line 163 "cssproperties.gperf"
      {"scrollbar-face-color", CSS_PROP_SCROLLBAR_FACE_COLOR},
#line 61 "cssproperties.gperf"
      {"font-variant", CSS_PROP_FONT_VARIANT},
#line 124 "cssproperties.gperf"
      {"text-overline-mode", CSS_PROP_TEXT_OVERLINE_MODE},
#line 57 "cssproperties.gperf"
      {"font-size", CSS_PROP_FONT_SIZE},
#line 43 "cssproperties.gperf"
      {"-khtml-box-pack", CSS_PROP__KHTML_BOX_PACK},
#line 36 "cssproperties.gperf"
      {"-khtml-box-align", CSS_PROP__KHTML_BOX_ALIGN},
#line 59 "cssproperties.gperf"
      {"font-stretch", CSS_PROP_FONT_STRETCH},
#line 140 "cssproperties.gperf"
      {"-khtml-user-select", CSS_PROP__KHTML_USER_SELECT},
#line 81 "cssproperties.gperf"
      {"-khtml-marquee-direction", CSS_PROP__KHTML_MARQUEE_DIRECTION},
#line 40 "cssproperties.gperf"
      {"-khtml-box-lines", CSS_PROP__KHTML_BOX_LINES},
#line 82 "cssproperties.gperf"
      {"-khtml-marquee-increment", CSS_PROP__KHTML_MARQUEE_INCREMENT},
#line 83 "cssproperties.gperf"
      {"-khtml-marquee-repetition", CSS_PROP__KHTML_MARQUEE_REPETITION},
#line 129 "cssproperties.gperf"
      {"text-underline", CSS_PROP_TEXT_UNDERLINE},
#line 130 "cssproperties.gperf"
      {"text-underline-color", CSS_PROP_TEXT_UNDERLINE_COLOR},
#line 105 "cssproperties.gperf"
      {"page-break-after", CSS_PROP_PAGE_BREAK_AFTER},
#line 92 "cssproperties.gperf"
      {"opacity", CSS_PROP_OPACITY},
#line 131 "cssproperties.gperf"
      {"text-underline-mode", CSS_PROP_TEXT_UNDERLINE_MODE},
#line 84 "cssproperties.gperf"
      {"-khtml-marquee-speed", CSS_PROP__KHTML_MARQUEE_SPEED},
#line 106 "cssproperties.gperf"
      {"page-break-before", CSS_PROP_PAGE_BREAK_BEFORE},
#line 145 "cssproperties.gperf"
      {"width", CSS_PROP_WIDTH},
#line 90 "cssproperties.gperf"
      {"min-width", CSS_PROP_MIN_WIDTH},
#line 157 "cssproperties.gperf"
      {"border-width", CSS_PROP_BORDER_WIDTH},
#line 31 "cssproperties.gperf"
      {"border-top-width", CSS_PROP_BORDER_TOP_WIDTH},
#line 53 "cssproperties.gperf"
      {"display", CSS_PROP_DISPLAY},
#line 33 "cssproperties.gperf"
      {"border-bottom-width", CSS_PROP_BORDER_BOTTOM_WIDTH},
#line 58 "cssproperties.gperf"
      {"-khtml-font-size-delta", CSS_PROP__KHTML_FONT_SIZE_DELTA},
#line 169 "cssproperties.gperf"
      {"scrollbar-arrow-color", CSS_PROP_SCROLLBAR_ARROW_COLOR},
#line 54 "cssproperties.gperf"
      {"empty-cells", CSS_PROP_EMPTY_CELLS},
#line 152 "cssproperties.gperf"
      {"border-style", CSS_PROP_BORDER_STYLE},
#line 27 "cssproperties.gperf"
      {"border-top-style", CSS_PROP_BORDER_TOP_STYLE},
#line 116 "cssproperties.gperf"
      {"text-line-through", CSS_PROP_TEXT_LINE_THROUGH},
#line 29 "cssproperties.gperf"
      {"border-bottom-style", CSS_PROP_BORDER_BOTTOM_STYLE},
#line 143 "cssproperties.gperf"
      {"white-space", CSS_PROP_WHITE_SPACE},
#line 147 "cssproperties.gperf"
      {"word-spacing", CSS_PROP_WORD_SPACING},
#line 117 "cssproperties.gperf"
      {"text-line-through-color", CSS_PROP_TEXT_LINE_THROUGH_COLOR},
#line 41 "cssproperties.gperf"
      {"-khtml-box-ordinal-group", CSS_PROP__KHTML_BOX_ORDINAL_GROUP},
#line 118 "cssproperties.gperf"
      {"text-line-through-mode", CSS_PROP_TEXT_LINE_THROUGH_MODE},
#line 159 "cssproperties.gperf"
      {"list-style", CSS_PROP_LIST_STYLE},
#line 16 "cssproperties.gperf"
      {"background-position-x", CSS_PROP_BACKGROUND_POSITION_X},
#line 86 "cssproperties.gperf"
      {"-khtml-match-nearest-mail-blockquote-color", CSS_PROP__KHTML_MATCH_NEAREST_MAIL_BLOCKQUOTE_COLOR},
#line 32 "cssproperties.gperf"
      {"border-right-width", CSS_PROP_BORDER_RIGHT_WIDTH},
#line 142 "cssproperties.gperf"
      {"visibility", CSS_PROP_VISIBILITY},
#line 134 "cssproperties.gperf"
      {"-apple-text-size-adjust", CSS_PROP__APPLE_TEXT_SIZE_ADJUST},
#line 128 "cssproperties.gperf"
      {"text-transform", CSS_PROP_TEXT_TRANSFORM},
#line 164 "cssproperties.gperf"
      {"scrollbar-shadow-color", CSS_PROP_SCROLLBAR_SHADOW_COLOR},
#line 112 "cssproperties.gperf"
      {"table-layout", CSS_PROP_TABLE_LAYOUT},
#line 28 "cssproperties.gperf"
      {"border-right-style", CSS_PROP_BORDER_RIGHT_STYLE},
#line 97 "cssproperties.gperf"
      {"outline-width", CSS_PROP_OUTLINE_WIDTH},
#line 69 "cssproperties.gperf"
      {"list-style-position", CSS_PROP_LIST_STYLE_POSITION},
#line 68 "cssproperties.gperf"
      {"list-style-image", CSS_PROP_LIST_STYLE_IMAGE},
#line 167 "cssproperties.gperf"
      {"scrollbar-darkshadow-color", CSS_PROP_SCROLLBAR_DARKSHADOW_COLOR},
#line 96 "cssproperties.gperf"
      {"outline-style", CSS_PROP_OUTLINE_STYLE},
#line 88 "cssproperties.gperf"
      {"max-width", CSS_PROP_MAX_WIDTH},
#line 127 "cssproperties.gperf"
      {"text-shadow", CSS_PROP_TEXT_SHADOW},
#line 17 "cssproperties.gperf"
      {"background-position-y", CSS_PROP_BACKGROUND_POSITION_Y},
#line 34 "cssproperties.gperf"
      {"border-left-width", CSS_PROP_BORDER_LEFT_WIDTH},
#line 60 "cssproperties.gperf"
      {"font-style", CSS_PROP_FONT_STYLE},
#line 95 "cssproperties.gperf"
      {"outline-offset", CSS_PROP_OUTLINE_OFFSET},
#line 98 "cssproperties.gperf"
      {"overflow", CSS_PROP_OVERFLOW},
#line 62 "cssproperties.gperf"
      {"font-weight", CSS_PROP_FONT_WEIGHT},
#line 30 "cssproperties.gperf"
      {"border-left-style", CSS_PROP_BORDER_LEFT_STYLE},
#line 126 "cssproperties.gperf"
      {"text-overline-width", CSS_PROP_TEXT_OVERLINE_WIDTH},
#line 38 "cssproperties.gperf"
      {"-khtml-box-flex", CSS_PROP__KHTML_BOX_FLEX},
#line 146 "cssproperties.gperf"
      {"word-wrap", CSS_PROP_WORD_WRAP},
#line 125 "cssproperties.gperf"
      {"text-overline-style", CSS_PROP_TEXT_OVERLINE_STYLE},
#line 85 "cssproperties.gperf"
      {"-khtml-marquee-style", CSS_PROP__KHTML_MARQUEE_STYLE},
#line 133 "cssproperties.gperf"
      {"text-underline-width", CSS_PROP_TEXT_UNDERLINE_WIDTH},
#line 144 "cssproperties.gperf"
      {"widows", CSS_PROP_WIDOWS},
#line 132 "cssproperties.gperf"
      {"text-underline-style", CSS_PROP_TEXT_UNDERLINE_STYLE},
#line 120 "cssproperties.gperf"
      {"text-line-through-width", CSS_PROP_TEXT_LINE_THROUGH_WIDTH},
#line 56 "cssproperties.gperf"
      {"font-family", CSS_PROP_FONT_FAMILY},
#line 70 "cssproperties.gperf"
      {"list-style-type", CSS_PROP_LIST_STYLE_TYPE},
#line 170 "cssproperties.gperf"
      {"-khtml-text-decorations-in-effect", CSS_PROP__KHTML_TEXT_DECORATIONS_IN_EFFECT},
#line 139 "cssproperties.gperf"
      {"-khtml-user-modify", CSS_PROP__KHTML_USER_MODIFY},
#line 119 "cssproperties.gperf"
      {"text-line-through-style", CSS_PROP_TEXT_LINE_THROUGH_STYLE},
#line 121 "cssproperties.gperf"
      {"text-overflow", CSS_PROP_TEXT_OVERFLOW},
#line 39 "cssproperties.gperf"
      {"-khtml-box-flex-group", CSS_PROP__KHTML_BOX_FLEX_GROUP}
    };

  static const short lookup[] =
    {
       -1,  -1,  -1,   0,   1,   2,   3,  -1,  -1,  -1,
        4,   5,   6,  -1,   7,   8,  -1,   9,  10,  -1,
       -1,  11,  -1,  -1,  12,  -1,  -1,  13,  -1,  -1,
       -1,  14,  15,  16,  17,  18,  19,  -1,  20,  21,
       -1,  -1,  22,  -1,  -1,  23,  -1,  24,  -1,  25,
       26,  -1,  -1,  -1,  -1,  -1,  -1,  27,  -1,  -1,
       -1,  -1,  -1,  28,  -1,  -1,  29,  -1,  -1,  30,
       31,  32,  -1,  -1,  33,  -1,  34,  35,  36,  37,
       -1,  -1,  38,  -1,  39,  -1,  40,  41,  42,  -1,
       -1,  -1,  43,  44,  -1,  -1,  -1,  -1,  45,  -1,
       -1,  46,  47,  -1,  -1,  -1,  -1,  48,  -1,  49,
       50,  -1,  -1,  -1,  -1,  -1,  -1,  51,  -1,  -1,
       -1,  52,  -1,  53,  54,  -1,  -1,  -1,  -1,  -1,
       55,  56,  -1,  -1,  -1,  57,  58,  59,  -1,  60,
       61,  -1,  -1,  -1,  62,  63,  -1,  64,  -1,  -1,
       65,  66,  -1,  -1,  -1,  -1,  67,  68,  -1,  -1,
       -1,  69,  70,  -1,  71,  -1,  72,  -1,  -1,  -1,
       73,  -1,  74,  -1,  -1,  75,  76,  77,  78,  79,
       80,  81,  -1,  -1,  82,  83,  -1,  84,  85,  86,
       87,  88,  89,  90,  91,  -1,  92,  -1,  -1,  93,
       94,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  95,
       -1,  -1,  -1,  -1,  -1,  96,  97,  98,  -1,  99,
      100,  -1, 101,  -1,  -1, 102,  -1,  -1,  -1, 103,
       -1,  -1,  -1,  -1,  -1,  -1,  -1, 104,  -1,  -1,
       -1, 105, 106,  -1, 107,  -1,  -1, 108,  -1,  -1,
       -1, 109,  -1,  -1,  -1,  -1, 110, 111,  -1,  -1,
       -1, 112, 113,  -1, 114,  -1, 115, 116, 117, 118,
       -1,  -1, 119,  -1,  -1, 120, 121, 122,  -1,  -1,
       -1,  -1,  -1, 123,  -1, 124,  -1,  -1, 125, 126,
       -1,  -1, 127,  -1,  -1,  -1,  -1, 128,  -1,  -1,
       -1,  -1,  -1, 129,  -1,  -1,  -1,  -1, 130, 131,
       -1, 132,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1, 133,  -1,  -1,  -1,  -1,  -1,  -1, 134,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1, 135,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1, 136,  -1,  -1,  -1,  -1, 137,  -1,  -1,  -1,
       -1,  -1, 138,  -1,  -1, 139,  -1,  -1,  -1, 140,
       -1,  -1,  -1, 141,  -1,  -1, 142,  -1,  -1,  -1,
       -1,  -1, 143,  -1, 144,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1, 145,  -1,  -1,  -1, 146,
       -1,  -1,  -1,  -1, 147, 148,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1, 149,  -1,  -1,  -1,  -1,
       -1, 150,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1, 151,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1,
       -1,  -1,  -1,  -1,  -1,  -1,  -1,  -1, 152,  -1,
       -1, 153,  -1,  -1,  -1, 154,  -1,  -1, 155,  -1,
       -1,  -1,  -1, 156,  -1,  -1,  -1,  -1, 157,  -1,
       -1,  -1,  -1, 158,  -1,  -1, 159
    };

  if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
    {
      register int key = hash_prop (str, len);

      if (key <= MAX_HASH_VALUE && key >= 0)
        {
          register int index = lookup[key];

          if (index >= 0)
            {
              register const char *s = wordlist_prop[index].name;

              if (*str == *s && !strncmp (str + 1, s + 1, len - 1) && s[len] == '\0')
                return &wordlist_prop[index];
            }
        }
    }
  return 0;
}
#line 171 "cssproperties.gperf"

static const char * const propertyList[] = {
"",
"background-color", 
"background-image", 
"background-repeat", 
"background-attachment", 
"background-position", 
"background-position-x", 
"background-position-y", 
"-khtml-binding", 
"border-collapse", 
"border-spacing", 
"-khtml-border-horizontal-spacing", 
"-khtml-border-vertical-spacing", 
"border-top-color", 
"border-right-color", 
"border-bottom-color", 
"border-left-color", 
"border-top-style", 
"border-right-style", 
"border-bottom-style", 
"border-left-style", 
"border-top-width", 
"border-right-width", 
"border-bottom-width", 
"border-left-width", 
"bottom", 
"-khtml-box-align", 
"-khtml-box-direction", 
"-khtml-box-flex", 
"-khtml-box-flex-group", 
"-khtml-box-lines", 
"-khtml-box-ordinal-group", 
"-khtml-box-orient", 
"-khtml-box-pack", 
"caption-side", 
"clear", 
"clip", 
"color", 
"content", 
"counter-increment", 
"counter-reset", 
"cursor", 
"direction", 
"display", 
"empty-cells", 
"float", 
"font-family", 
"font-size", 
"-khtml-font-size-delta", 
"font-stretch", 
"font-style", 
"font-variant", 
"font-weight", 
"height", 
"left", 
"letter-spacing", 
"-apple-line-clamp", 
"line-height", 
"list-style-image", 
"list-style-position", 
"list-style-type", 
"margin-top", 
"margin-right", 
"margin-bottom", 
"margin-left", 
"-khtml-line-break", 
"-khtml-margin-collapse", 
"-khtml-margin-top-collapse", 
"-khtml-margin-bottom-collapse", 
"-khtml-margin-start", 
"-khtml-marquee", 
"-khtml-marquee-direction", 
"-khtml-marquee-increment", 
"-khtml-marquee-repetition", 
"-khtml-marquee-speed", 
"-khtml-marquee-style", 
"-khtml-match-nearest-mail-blockquote-color", 
"max-height", 
"max-width", 
"min-height", 
"min-width", 
"-khtml-nbsp-mode", 
"opacity", 
"orphans", 
"outline-color", 
"outline-offset", 
"outline-style", 
"outline-width", 
"overflow", 
"padding-top", 
"padding-right", 
"padding-bottom", 
"padding-left", 
"-khtml-padding-start", 
"page", 
"page-break-after", 
"page-break-before", 
"page-break-inside", 
"position", 
"quotes", 
"right", 
"size", 
"table-layout", 
"text-align", 
"text-decoration", 
"text-indent", 
"text-line-through", 
"text-line-through-color", 
"text-line-through-mode", 
"text-line-through-style", 
"text-line-through-width", 
"text-overflow", 
"text-overline", 
"text-overline-color", 
"text-overline-mode", 
"text-overline-style", 
"text-overline-width", 
"text-shadow", 
"text-transform", 
"text-underline", 
"text-underline-color", 
"text-underline-mode", 
"text-underline-style", 
"text-underline-width", 
"-apple-text-size-adjust", 
"-apple-dashboard-region", 
"top", 
"unicode-bidi", 
"-khtml-user-drag", 
"-khtml-user-modify", 
"-khtml-user-select", 
"vertical-align", 
"visibility", 
"white-space", 
"widows", 
"width", 
"word-wrap", 
"word-spacing", 
"z-index", 
"background", 
"border", 
"border-color", 
"border-style", 
"border-top", 
"border-right", 
"border-bottom", 
"border-left", 
"border-width", 
"font", 
"list-style", 
"margin", 
"outline", 
"padding", 
"scrollbar-face-color", 
"scrollbar-shadow-color", 
"scrollbar-highlight-color", 
"scrollbar-3dlight-color", 
"scrollbar-darkshadow-color", 
"scrollbar-track-color", 
"scrollbar-arrow-color", 
"-khtml-text-decorations-in-effect", 
    0
};
DOMString getPropertyName(unsigned short id)
{
    if(id >= CSS_PROP_TOTAL || id == 0)
      return DOMString();
    else
      return DOMString(propertyList[id]);
};