summaryrefslogtreecommitdiffstats
path: root/khtml/css/cssproperties.c
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/css/cssproperties.c')
-rw-r--r--khtml/css/cssproperties.c678
1 files changed, 0 insertions, 678 deletions
diff --git a/khtml/css/cssproperties.c b/khtml/css/cssproperties.c
deleted file mode 100644
index c86f2d326..000000000
--- a/khtml/css/cssproperties.c
+++ /dev/null
@@ -1,678 +0,0 @@
-/* ANSI-C code produced by gperf version 3.0.2 */
-/* 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;
-};
-
-static const struct props * findProp (register const char *str, register unsigned int len);
-/* maximum key range = 469, 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[] =
- {
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 0, 472, 472, 472, 472,
- 472, 0, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 10, 0, 0,
- 5, 5, 120, 0, 0, 0, 472, 15, 5, 0,
- 25, 0, 0, 50, 0, 30, 0, 40, 0, 140,
- 35, 180, 80, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472, 472, 472, 472, 472,
- 472, 472, 472, 472, 472, 472
- };
- register int hval = len;
-
- switch (hval)
- {
- default:
- 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 = 129,
- MIN_WORD_LENGTH = 3,
- MAX_WORD_LENGTH = 32,
- MIN_HASH_VALUE = 3,
- MAX_HASH_VALUE = 471
- };
-
- static const struct props wordlist_prop[] =
- {
-#line 108 "cssproperties.gperf"
- {"top", CSS_PROP_TOP},
-#line 99 "cssproperties.gperf"
- {"right", CSS_PROP_RIGHT},
-#line 40 "cssproperties.gperf"
- {"bottom", CSS_PROP_BOTTOM},
-#line 43 "cssproperties.gperf"
- {"clip", CSS_PROP_CLIP},
-#line 44 "cssproperties.gperf"
- {"color", CSS_PROP_COLOR},
-#line 58 "cssproperties.gperf"
- {"height", CSS_PROP_HEIGHT},
-#line 119 "cssproperties.gperf"
- {"border", CSS_PROP_BORDER},
-#line 122 "cssproperties.gperf"
- {"border-top", CSS_PROP_BORDER_TOP},
-#line 123 "cssproperties.gperf"
- {"border-right", CSS_PROP_BORDER_RIGHT},
-#line 124 "cssproperties.gperf"
- {"border-bottom", CSS_PROP_BORDER_BOTTOM},
-#line 42 "cssproperties.gperf"
- {"clear", CSS_PROP_CLEAR},
-#line 120 "cssproperties.gperf"
- {"border-color", CSS_PROP_BORDER_COLOR},
-#line 28 "cssproperties.gperf"
- {"border-top-color", CSS_PROP_BORDER_TOP_COLOR},
-#line 29 "cssproperties.gperf"
- {"border-right-color", CSS_PROP_BORDER_RIGHT_COLOR},
-#line 30 "cssproperties.gperf"
- {"border-bottom-color", CSS_PROP_BORDER_BOTTOM_COLOR},
-#line 78 "cssproperties.gperf"
- {"min-height", CSS_PROP_MIN_HEIGHT},
-#line 130 "cssproperties.gperf"
- {"margin", CSS_PROP_MARGIN},
-#line 49 "cssproperties.gperf"
- {"direction", CSS_PROP_DIRECTION},
-#line 65 "cssproperties.gperf"
- {"margin-top", CSS_PROP_MARGIN_TOP},
-#line 66 "cssproperties.gperf"
- {"margin-right", CSS_PROP_MARGIN_RIGHT},
-#line 67 "cssproperties.gperf"
- {"margin-bottom", CSS_PROP_MARGIN_BOTTOM},
-#line 61 "cssproperties.gperf"
- {"line-height", CSS_PROP_LINE_HEIGHT},
-#line 132 "cssproperties.gperf"
- {"padding", CSS_PROP_PADDING},
-#line 89 "cssproperties.gperf"
- {"padding-top", CSS_PROP_PADDING_TOP},
-#line 90 "cssproperties.gperf"
- {"padding-right", CSS_PROP_PADDING_RIGHT},
-#line 91 "cssproperties.gperf"
- {"padding-bottom", CSS_PROP_PADDING_BOTTOM},
-#line 76 "cssproperties.gperf"
- {"max-height", CSS_PROP_MAX_HEIGHT},
-#line 45 "cssproperties.gperf"
- {"content", CSS_PROP_CONTENT},
-#line 97 "cssproperties.gperf"
- {"position", CSS_PROP_POSITION},
-#line 80 "cssproperties.gperf"
- {"orphans", CSS_PROP_ORPHANS},
-#line 110 "cssproperties.gperf"
- {"vertical-align", CSS_PROP_VERTICAL_ALIGN},
-#line 48 "cssproperties.gperf"
- {"cursor", CSS_PROP_CURSOR},
-#line 24 "cssproperties.gperf"
- {"border-collapse", CSS_PROP_BORDER_COLLAPSE},
-#line 131 "cssproperties.gperf"
- {"outline", CSS_PROP_OUTLINE},
-#line 136 "cssproperties.gperf"
- {"scrollbar-highlight-color", CSS_PROP_SCROLLBAR_HIGHLIGHT_COLOR},
-#line 41 "cssproperties.gperf"
- {"caption-side", CSS_PROP_CAPTION_SIDE},
-#line 137 "cssproperties.gperf"
- {"scrollbar-3dlight-color", CSS_PROP_SCROLLBAR_3DLIGHT_COLOR},
-#line 25 "cssproperties.gperf"
- {"border-spacing", CSS_PROP_BORDER_SPACING},
-#line 102 "cssproperties.gperf"
- {"text-align", CSS_PROP_TEXT_ALIGN},
-#line 109 "cssproperties.gperf"
- {"unicode-bidi", CSS_PROP_UNICODE_BIDI},
-#line 82 "cssproperties.gperf"
- {"outline-color", CSS_PROP_OUTLINE_COLOR},
-#line 60 "cssproperties.gperf"
- {"letter-spacing", CSS_PROP_LETTER_SPACING},
-#line 103 "cssproperties.gperf"
- {"text-decoration", CSS_PROP_TEXT_DECORATION},
-#line 139 "cssproperties.gperf"
- {"scrollbar-track-color", CSS_PROP_SCROLLBAR_TRACK_COLOR},
-#line 118 "cssproperties.gperf"
- {"background", CSS_PROP_BACKGROUND},
-#line 104 "cssproperties.gperf"
- {"text-indent", CSS_PROP_TEXT_INDENT},
-#line 69 "cssproperties.gperf"
- {"-khtml-margin-start", CSS_PROP__KHTML_MARGIN_START},
-#line 14 "cssproperties.gperf"
- {"background-color", CSS_PROP_BACKGROUND_COLOR},
-#line 100 "cssproperties.gperf"
- {"size", CSS_PROP_SIZE},
-#line 133 "cssproperties.gperf"
- {"scrollbar-base-color", CSS_PROP_SCROLLBAR_BASE_COLOR},
-#line 47 "cssproperties.gperf"
- {"counter-reset", CSS_PROP_COUNTER_RESET},
-#line 93 "cssproperties.gperf"
- {"-khtml-padding-start", CSS_PROP__KHTML_PADDING_START},
-#line 15 "cssproperties.gperf"
- {"background-image", CSS_PROP_BACKGROUND_IMAGE},
-#line 96 "cssproperties.gperf"
- {"page-break-inside", CSS_PROP_PAGE_BREAK_INSIDE},
-#line 98 "cssproperties.gperf"
- {"quotes", CSS_PROP_QUOTES},
-#line 16 "cssproperties.gperf"
- {"background-repeat", CSS_PROP_BACKGROUND_REPEAT},
-#line 59 "cssproperties.gperf"
- {"left", CSS_PROP_LEFT},
-#line 52 "cssproperties.gperf"
- {"float", CSS_PROP_FLOAT},
-#line 21 "cssproperties.gperf"
- {"-khtml-background-clip", CSS_PROP__KHTML_BACKGROUND_CLIP},
-#line 70 "cssproperties.gperf"
- {"-khtml-marquee", CSS_PROP__KHTML_MARQUEE},
-#line 27 "cssproperties.gperf"
- {"-khtml-border-vertical-spacing", CSS_PROP__KHTML_BORDER_VERTICAL_SPACING},
-#line 46 "cssproperties.gperf"
- {"counter-increment", CSS_PROP_COUNTER_INCREMENT},
-#line 128 "cssproperties.gperf"
- {"font", CSS_PROP_FONT},
-#line 114 "cssproperties.gperf"
- {"width", CSS_PROP_WIDTH},
-#line 125 "cssproperties.gperf"
- {"border-left", CSS_PROP_BORDER_LEFT},
-#line 117 "cssproperties.gperf"
- {"z-index", CSS_PROP_Z_INDEX},
-#line 31 "cssproperties.gperf"
- {"border-left-color", CSS_PROP_BORDER_LEFT_COLOR},
-#line 22 "cssproperties.gperf"
- {"-khtml-background-origin", CSS_PROP__KHTML_BACKGROUND_ORIGIN},
-#line 17 "cssproperties.gperf"
- {"background-attachment", CSS_PROP_BACKGROUND_ATTACHMENT},
-#line 126 "cssproperties.gperf"
- {"border-width", CSS_PROP_BORDER_WIDTH},
-#line 18 "cssproperties.gperf"
- {"background-position", CSS_PROP_BACKGROUND_POSITION},
-#line 36 "cssproperties.gperf"
- {"border-top-width", CSS_PROP_BORDER_TOP_WIDTH},
-#line 37 "cssproperties.gperf"
- {"border-right-width", CSS_PROP_BORDER_RIGHT_WIDTH},
-#line 38 "cssproperties.gperf"
- {"border-bottom-width", CSS_PROP_BORDER_BOTTOM_WIDTH},
-#line 68 "cssproperties.gperf"
- {"margin-left", CSS_PROP_MARGIN_LEFT},
-#line 142 "cssproperties.gperf"
- {"-khtml-user-input", CSS_PROP__KHTML_USER_INPUT},
-#line 79 "cssproperties.gperf"
- {"min-width", CSS_PROP_MIN_WIDTH},
-#line 127 "cssproperties.gperf"
- {"box-sizing", CSS_PROP_BOX_SIZING},
-#line 92 "cssproperties.gperf"
- {"padding-left", CSS_PROP_PADDING_LEFT},
-#line 71 "cssproperties.gperf"
- {"-khtml-marquee-direction", CSS_PROP__KHTML_MARQUEE_DIRECTION},
-#line 73 "cssproperties.gperf"
- {"-khtml-marquee-repetition", CSS_PROP__KHTML_MARQUEE_REPETITION},
-#line 95 "cssproperties.gperf"
- {"page-break-before", CSS_PROP_PAGE_BREAK_BEFORE},
-#line 74 "cssproperties.gperf"
- {"-khtml-marquee-speed", CSS_PROP__KHTML_MARQUEE_SPEED},
-#line 94 "cssproperties.gperf"
- {"page-break-after", CSS_PROP_PAGE_BREAK_AFTER},
-#line 81 "cssproperties.gperf"
- {"opacity", CSS_PROP_OPACITY},
-#line 77 "cssproperties.gperf"
- {"max-width", CSS_PROP_MAX_WIDTH},
-#line 112 "cssproperties.gperf"
- {"white-space", CSS_PROP_WHITE_SPACE},
-#line 56 "cssproperties.gperf"
- {"font-variant", CSS_PROP_FONT_VARIANT},
-#line 19 "cssproperties.gperf"
- {"background-position-x", CSS_PROP_BACKGROUND_POSITION_X},
-#line 134 "cssproperties.gperf"
- {"scrollbar-face-color", CSS_PROP_SCROLLBAR_FACE_COLOR},
-#line 72 "cssproperties.gperf"
- {"-khtml-marquee-increment", CSS_PROP__KHTML_MARQUEE_INCREMENT},
-#line 116 "cssproperties.gperf"
- {"word-spacing", CSS_PROP_WORD_SPACING},
-#line 111 "cssproperties.gperf"
- {"visibility", CSS_PROP_VISIBILITY},
-#line 140 "cssproperties.gperf"
- {"scrollbar-arrow-color", CSS_PROP_SCROLLBAR_ARROW_COLOR},
-#line 85 "cssproperties.gperf"
- {"outline-width", CSS_PROP_OUTLINE_WIDTH},
-#line 106 "cssproperties.gperf"
- {"text-shadow", CSS_PROP_TEXT_SHADOW},
-#line 50 "cssproperties.gperf"
- {"display", CSS_PROP_DISPLAY},
-#line 107 "cssproperties.gperf"
- {"text-transform", CSS_PROP_TEXT_TRANSFORM},
-#line 51 "cssproperties.gperf"
- {"empty-cells", CSS_PROP_EMPTY_CELLS},
-#line 121 "cssproperties.gperf"
- {"border-style", CSS_PROP_BORDER_STYLE},
-#line 32 "cssproperties.gperf"
- {"border-top-style", CSS_PROP_BORDER_TOP_STYLE},
-#line 26 "cssproperties.gperf"
- {"-khtml-border-horizontal-spacing", CSS_PROP__KHTML_BORDER_HORIZONTAL_SPACING},
-#line 33 "cssproperties.gperf"
- {"border-right-style", CSS_PROP_BORDER_RIGHT_STYLE},
-#line 34 "cssproperties.gperf"
- {"border-bottom-style", CSS_PROP_BORDER_BOTTOM_STYLE},
-#line 23 "cssproperties.gperf"
- {"-khtml-background-size", CSS_PROP__KHTML_BACKGROUND_SIZE},
-#line 135 "cssproperties.gperf"
- {"scrollbar-shadow-color", CSS_PROP_SCROLLBAR_SHADOW_COLOR},
-#line 129 "cssproperties.gperf"
- {"list-style", CSS_PROP_LIST_STYLE},
-#line 101 "cssproperties.gperf"
- {"table-layout", CSS_PROP_TABLE_LAYOUT},
-#line 54 "cssproperties.gperf"
- {"font-size", CSS_PROP_FONT_SIZE},
-#line 86 "cssproperties.gperf"
- {"overflow", CSS_PROP_OVERFLOW},
-#line 62 "cssproperties.gperf"
- {"list-style-image", CSS_PROP_LIST_STYLE_IMAGE},
-#line 138 "cssproperties.gperf"
- {"scrollbar-darkshadow-color", CSS_PROP_SCROLLBAR_DARKSHADOW_COLOR},
-#line 57 "cssproperties.gperf"
- {"font-weight", CSS_PROP_FONT_WEIGHT},
-#line 39 "cssproperties.gperf"
- {"border-left-width", CSS_PROP_BORDER_LEFT_WIDTH},
-#line 115 "cssproperties.gperf"
- {"word-wrap", CSS_PROP_WORD_WRAP},
-#line 84 "cssproperties.gperf"
- {"outline-style", CSS_PROP_OUTLINE_STYLE},
-#line 141 "cssproperties.gperf"
- {"-khtml-flow-mode", CSS_PROP__KHTML_FLOW_MODE},
-#line 87 "cssproperties.gperf"
- {"overflow-x", CSS_PROP_OVERFLOW_X},
-#line 113 "cssproperties.gperf"
- {"widows", CSS_PROP_WIDOWS},
-#line 105 "cssproperties.gperf"
- {"text-overflow", CSS_PROP_TEXT_OVERFLOW},
-#line 63 "cssproperties.gperf"
- {"list-style-position", CSS_PROP_LIST_STYLE_POSITION},
-#line 20 "cssproperties.gperf"
- {"background-position-y", CSS_PROP_BACKGROUND_POSITION_Y},
-#line 83 "cssproperties.gperf"
- {"outline-offset", CSS_PROP_OUTLINE_OFFSET},
-#line 75 "cssproperties.gperf"
- {"-khtml-marquee-style", CSS_PROP__KHTML_MARQUEE_STYLE},
-#line 55 "cssproperties.gperf"
- {"font-style", CSS_PROP_FONT_STYLE},
-#line 35 "cssproperties.gperf"
- {"border-left-style", CSS_PROP_BORDER_LEFT_STYLE},
-#line 64 "cssproperties.gperf"
- {"list-style-type", CSS_PROP_LIST_STYLE_TYPE},
-#line 88 "cssproperties.gperf"
- {"overflow-y", CSS_PROP_OVERFLOW_Y},
-#line 53 "cssproperties.gperf"
- {"font-family", CSS_PROP_FONT_FAMILY}
- };
-
- static const short lookup[] =
- {
- -1, -1, -1, 0, -1, 1, 2, -1, -1, 3,
- 4, 5, -1, -1, -1, -1, 6, -1, -1, -1,
- 7, -1, 8, 9, -1, 10, -1, 11, -1, -1,
- -1, 12, -1, 13, 14, -1, -1, -1, -1, -1,
- 15, 16, -1, -1, 17, 18, -1, 19, 20, -1,
- -1, 21, 22, -1, -1, -1, 23, -1, 24, 25,
- 26, -1, 27, 28, -1, -1, -1, -1, -1, -1,
- -1, -1, 29, -1, 30, -1, 31, -1, -1, -1,
- 32, -1, 33, -1, -1, 34, -1, 35, 36, 37,
- 38, -1, 39, 40, 41, -1, -1, -1, -1, -1,
- 42, 43, -1, -1, -1, 44, -1, -1, -1, -1,
- -1, 45, -1, -1, 46, -1, 47, -1, -1, 48,
- 49, -1, -1, 50, -1, 51, 52, 53, -1, -1,
- -1, 54, 55, -1, 56, -1, -1, -1, -1, -1,
- 57, -1, 58, -1, 59, 60, -1, 61, -1, 62,
- 63, 64, -1, -1, -1, -1, -1, 65, -1, -1,
- -1, -1, 66, -1, 67, -1, 68, 69, -1, 70,
- -1, 71, -1, 72, 73, -1, 74, 75, -1, 76,
- 77, -1, -1, -1, -1, -1, -1, 78, -1, 79,
- 80, -1, 81, -1, -1, 82, 83, 84, -1, 85,
- -1, 86, 87, -1, -1, -1, 88, -1, -1, -1,
- 89, -1, -1, -1, 90, -1, -1, -1, -1, -1,
- -1, -1, 91, -1, -1, 92, 93, -1, -1, -1,
- -1, -1, -1, 94, -1, -1, 95, 96, -1, 97,
- -1, 98, 99, -1, -1, -1, 100, 101, 102, 103,
- -1, -1, 104, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 105, -1, -1, 106, -1, 107, -1, 108,
- -1, -1, -1, -1, -1, -1, -1, -1, 109, -1,
- -1, -1, -1, -1, -1, -1, 110, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 111, -1, -1, -1,
- -1, 112, 113, -1, 114, -1, -1, -1, 115, -1,
- -1, 116, -1, -1, -1, 117, -1, -1, -1, -1,
- -1, 118, -1, 119, -1, -1, -1, -1, -1, 120,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 121, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 122, -1, -1, -1, -1, -1,
- 123, -1, -1, -1, -1, 124, -1, 125, -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,
- -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, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 126, -1, -1, -1, -1,
- 127, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 128
- };
-
- 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 143 "cssproperties.gperf"
-
-static const char * const propertyList[] = {
-"",
-"background-color",
-"background-image",
-"background-repeat",
-"background-attachment",
-"background-position",
-"background-position-x",
-"background-position-y",
-"-khtml-background-clip",
-"-khtml-background-origin",
-"-khtml-background-size",
-"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",
-"caption-side",
-"clear",
-"clip",
-"color",
-"content",
-"counter-increment",
-"counter-reset",
-"cursor",
-"direction",
-"display",
-"empty-cells",
-"float",
-"font-family",
-"font-size",
-"font-style",
-"font-variant",
-"font-weight",
-"height",
-"left",
-"letter-spacing",
-"line-height",
-"list-style-image",
-"list-style-position",
-"list-style-type",
-"margin-top",
-"margin-right",
-"margin-bottom",
-"margin-left",
-"-khtml-margin-start",
-"-khtml-marquee",
-"-khtml-marquee-direction",
-"-khtml-marquee-increment",
-"-khtml-marquee-repetition",
-"-khtml-marquee-speed",
-"-khtml-marquee-style",
-"max-height",
-"max-width",
-"min-height",
-"min-width",
-"orphans",
-"opacity",
-"outline-color",
-"outline-offset",
-"outline-style",
-"outline-width",
-"overflow",
-"overflow-x",
-"overflow-y",
-"padding-top",
-"padding-right",
-"padding-bottom",
-"padding-left",
-"-khtml-padding-start",
-"page-break-after",
-"page-break-before",
-"page-break-inside",
-"position",
-"quotes",
-"right",
-"size",
-"table-layout",
-"text-align",
-"text-decoration",
-"text-indent",
-"text-overflow",
-"text-shadow",
-"text-transform",
-"top",
-"unicode-bidi",
-"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",
-"box-sizing",
-"font",
-"list-style",
-"margin",
-"outline",
-"padding",
-"scrollbar-base-color",
-"scrollbar-face-color",
-"scrollbar-shadow-color",
-"scrollbar-highlight-color",
-"scrollbar-3dlight-color",
-"scrollbar-darkshadow-color",
-"scrollbar-track-color",
-"scrollbar-arrow-color",
-"-khtml-flow-mode",
-"-khtml-user-input",
- 0
-};
-DOMString getPropertyName(unsigned short id)
-{
- if(id >= CSS_PROP_TOTAL || id == 0)
- return DOMString();
- else
- return DOMString(propertyList[id]);
-}
-