/* ** This is a generated file, do not edit it. This file is created by ** genhash.pl */ #include "plstr.h" #include "nsCSSKeywords.h" #define TOTAL_KEYWORDS 205 #define MIN_WORD_LENGTH 1 #define MAX_WORD_LENGTH 20 #define MIN_HASH_VALUE 17 #define MAX_HASH_VALUE 1443 /* maximum key range = 1427, duplicates = 0 */ struct StaticNameTable { char* tag; PRInt32 id; }; static const unsigned char kLowerLookup[256] = { 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, 16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47, 48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63, 64, 97,98,99,100,101,102,103,104,105,106,107,108,109, 110,111,112,113,114,115,116,117,118,119,120,121,122, 91, 92, 93, 94, 95, 96, 97, 98, 99,100,101,102,103,104,105,106,107,108,109,110,111, 112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127, 128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143, 144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159, 160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175, 176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191, 192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207, 208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223, 224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239, 240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255 }; #define MYLOWER(x) kLowerLookup[((x) & 0x7f)] /** * Map a name to an ID or -1 */ PRInt32 nsCSSKeywords::LookupName(const char* str) { static unsigned short asso_values[] = { 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 24, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 1444, 204, 34, 201, 238, 28, 155, 233, 187, 57, 210, 176, 42, 243, 245, 130, 243, 27, 9, 8, 1, 32, 36, 88, 246, 36, 6, 1444, 1444, 1444, 1444, 1444 }; static unsigned char lengthtable[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 9, 5, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 7,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 14, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 8 }; static struct StaticNameTable wordlist[] = { {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"s", 144}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"ltr", 99}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"rtl", 142}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"sub", 165}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"se-resize", 147}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"silent", 152}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"outset", 123}, {"sw-resize", 167}, {"level", 87}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"s-resize", 145}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"hz", 67}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"e-resize", 44}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"left", 84}, {""}, {""}, {""}, {"visible", 191}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"pt", 131}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"ms", 108}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"w-resize", 192}, {""}, {""}, {""}, {""}, {"status-bar", 164}, {""}, {""}, {""}, {""}, {""}, {"text", 177}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"slower", 154}, {""}, {""}, {""}, {""}, {""}, {""}, {"soft", 159}, {""}, {""}, {"lower", 93}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"pre", 130}, {""}, {""}, {"table", 168}, {""}, {"repeat", 135}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"overline", 125}, {"super", 166}, {""}, {"below", 10}, {""}, {""}, {"oblique", 120}, {""}, {""}, {"square", 162}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"inset", 73}, {""}, {""}, {""}, {""}, {""}, {""}, {"low", 92}, {""}, {""}, {""}, {"wait", 193}, {""}, {"ne-resize", 111}, {""}, {""}, {"slow", 153}, {"cross", 33}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"fast", 53}, {"invert", 75}, {""}, {""}, {""}, {"khz", 80}, {""}, {""}, {""}, {""}, {""}, {""}, {"table-cell", 170}, {""}, {"spell-out", 161}, {""}, {"repeat-y", 137}, {""}, {""}, {"faster", 54}, {""}, {""}, {"baseline", 8}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"relative", 134}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"x-soft", 202}, {"nw-resize", 119}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"wider", 194}, {""}, {"n-resize", 109}, {""}, {"inside", 74}, {"far-left", 51}, {""}, {""}, {""}, {""}, {""}, {""}, {"above", 2}, {"scroll", 146}, {""}, {"hebrew", 59}, {""}, {""}, {""}, {"outside", 124}, {"list-item", 90}, {""}, {""}, {""}, {"justify", 77}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"inline", 71}, {""}, {""}, {""}, {""}, {"bolder", 15}, {"move", 107}, {""}, {""}, {"absolute", 3}, {""}, {""}, {""}, {"close-quote", 25}, {""}, {""}, {""}, {"solid", 160}, {""}, {""}, {""}, {"-moz-bg-outset", 1}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"right", 139}, {""}, {""}, {""}, {"double", 43}, {""}, {"inline-table", 72}, {"center", 20}, {""}, {"auto", 6}, {"x-slow", 200}, {"-moz-bg-inset", 0}, {""}, {"show", 151}, {""}, {"center-right", 22}, {"lower-greek", 95}, {"left-side", 85}, {""}, {""}, {"larger", 83}, {""}, {""}, {""}, {"em", 45}, {""}, {""}, {""}, {""}, {"large", 82}, {"ex", 47}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"circle", 23}, {""}, {"table-row", 175}, {""}, {"lowercase", 98}, {"x-low", 199}, {""}, {""}, {"center-left", 21}, {""}, {""}, {"smaller", 158}, {"hide", 62}, {"both", 16}, {"small", 155}, {""}, {""}, {""}, {""}, {"in", 69}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"blink", 12}, {"always", 4}, {""}, {""}, {"lighter", 88}, {"groove", 58}, {"text-bottom", 178}, {""}, {""}, {""}, {"lower-alpha", 94}, {"ridge", 138}, {""}, {""}, {""}, {""}, {""}, {"embed", 46}, {""}, {""}, {""}, {""}, {"narrower", 110}, {"inherit", 70}, {""}, {"menu", 102}, {""}, {""}, {""}, {"block", 13}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"portrait", 129}, {""}, {""}, {""}, {"rightwards", 141}, {""}, {"table-header-group", 174}, {""}, {"right-side", 140}, {""}, {"digits", 40}, {""}, {""}, {"crosshair", 34}, {""}, {"x-small", 201}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"top", 182}, {""}, {"static", 163}, {"no-open-quote", 113}, {""}, {""}, {""}, {"thick", 180}, {""}, {"code", 27}, {""}, {"xx-large", 203}, {""}, {""}, {""}, {""}, {"once", 121}, {"x-fast", 195}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"far-right", 52}, {"pc", 127}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"marker", 100}, {""}, {"bottom", 17}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"avoid", 7}, {""}, {""}, {""}, {""}, {"default", 38}, {""}, {""}, {""}, {""}, {"none", 115}, {""}, {""}, {""}, {"loud", 91}, {"leftwards", 86}, {"bold", 14}, {""}, {"higher", 64}, {"cm", 26}, {""}, {""}, {"rad", 133}, {""}, {""}, {""}, {""}, {""}, {"lower-roman", 97}, {""}, {""}, {""}, {"table-row-group", 176}, {""}, {""}, {"table-footer-group", 173}, {""}, {""}, {""}, {"disc", 41}, {""}, {""}, {"italic", 76}, {""}, {""}, {""}, {""}, {"normal", 116}, {""}, {"pointer", 128}, {""}, {""}, {"collapse", 28}, {"transparent", 183}, {""}, {""}, {""}, {""}, {""}, {"fixed", 55}, {""}, {"mm", 106}, {""}, {""}, {""}, {"deg", 39}, {"ultra-condensed", 184}, {"px", 132}, {""}, {"thin", 181}, {""}, {""}, {""}, {"small-caps", 156}, {""}, {""}, {""}, {"help", 60}, {""}, {""}, {""}, {"separate", 150}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"line-through", 89}, {""}, {""}, {"text-top", 179}, {"lower-latin", 96}, {""}, {""}, {""}, {""}, {"decimal", 36}, {""}, {""}, {""}, {""}, {""}, {""}, {"x-large", 197}, {""}, {""}, {""}, {"behind", 9}, {""}, {""}, {""}, {"uppercase", 190}, {""}, {""}, {"mix", 105}, {""}, {""}, {""}, {""}, {""}, {"message-box", 103}, {""}, {""}, {""}, {""}, {"run-in", 143}, {""}, {""}, {"repeat-x", 136}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"xx-small", 204}, {""}, {""}, {"bidi-override", 11}, {""}, {""}, {""}, {"upper-alpha", 187}, {""}, {""}, {"crop", 32}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"middle", 104}, {""}, {""}, {"open-quote", 122}, {""}, {"noshade", 117}, {"ultra-expanded", 185}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"dotted", 42}, {""}, {""}, {"high", 63}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"no-repeat", 114}, {""}, {"underline", 186}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"icon", 68}, {""}, {""}, {""}, {"semi-expanded", 149}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"x-high", 196}, {""}, {""}, {"table-caption", 169}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"x-loud", 198}, {""}, {"grad", 57}, {""}, {""}, {""}, {"no-close-quote", 112}, {""}, {""}, {""}, {""}, {""}, {"extra-condensed", 49}, {"table-column", 171}, {""}, {""}, {""}, {"table-column-group", 172}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"georgian", 56}, {"upper-roman", 189}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"nowrap", 118}, {""}, {""}, {""}, {""}, {""}, {"continuous", 31}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"capitalize", 18}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"compact", 29}, {""}, {""}, {""}, {"upper-latin", 188}, {"caption", 19}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"armenian", 5}, {""}, {""}, {"semi-condensed", 148}, {""}, {"extra-expanded", 50}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"medium", 101}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"hiragana", 65}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"paragraph", 126}, {""}, {""}, {""}, {""}, {"small-caption", 157}, {""}, {""}, {""}, {""}, {""}, {"dashed", 35}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"decimal-leading-zero", 37}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"katakana", 78}, {""}, {""}, {""}, {""}, {"landscape", 81}, {""}, {""}, {"hiragana-iroha", 66}, {""}, {""}, {"hidden", 61}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"condensed", 30}, {""}, {""}, {""}, {""}, {""}, {""}, {"katakana-iroha", 79}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {"cjk-ideographic", 24}, {""}, {""}, {""}, {""}, {"expanded", 48} }; if (str != NULL) { int len = PL_strlen(str); if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) { register int hval = len; switch (hval) { default: case 12: hval += asso_values[MYLOWER(str[11])]; case 11: case 10: case 9: case 8: hval += asso_values[MYLOWER(str[7])]; case 7: case 6: hval += asso_values[MYLOWER(str[5])]; case 5: case 4: hval += asso_values[MYLOWER(str[3])]; case 3: hval += asso_values[MYLOWER(str[2])]; case 2: hval += asso_values[MYLOWER(str[1])]; case 1: hval += asso_values[MYLOWER(str[0])]; break; } hval += asso_values[MYLOWER(str[len - 1])]; if (hval <= MAX_HASH_VALUE && hval >= MIN_HASH_VALUE) { if (len == lengthtable[hval]) { register const char *tag = wordlist[hval].tag; /* ** While not at the end of the string, if they ever differ ** they are not equal. We know "tag" is already lower case. */ while ((*tag != '\0')&&(*str != '\0')) { if (*tag != (char) MYLOWER(*str)) { return -1; } tag++; str++; } /* ** One of the strings has ended, if they are both ended, then they ** are equal, otherwise not. */ if ((*tag == '\0')&&(*str == '\0')) { return wordlist[hval].id; } } } } } return -1; } const nsCSSKeywords::NameTableEntry nsCSSKeywords::kNameTable[] = { { "-moz-bg-inset", 0 }, { "-moz-bg-outset", 1 }, { "above", 2 }, { "absolute", 3 }, { "always", 4 }, { "armenian", 5 }, { "auto", 6 }, { "avoid", 7 }, { "baseline", 8 }, { "behind", 9 }, { "below", 10 }, { "bidi-override", 11 }, { "blink", 12 }, { "block", 13 }, { "bold", 14 }, { "bolder", 15 }, { "both", 16 }, { "bottom", 17 }, { "capitalize", 18 }, { "caption", 19 }, { "center", 20 }, { "center-left", 21 }, { "center-right", 22 }, { "circle", 23 }, { "cjk-ideographic", 24 }, { "close-quote", 25 }, { "cm", 26 }, { "code", 27 }, { "collapse", 28 }, { "compact", 29 }, { "condensed", 30 }, { "continuous", 31 }, { "crop", 32 }, { "cross", 33 }, { "crosshair", 34 }, { "dashed", 35 }, { "decimal", 36 }, { "decimal-leading-zero", 37 }, { "default", 38 }, { "deg", 39 }, { "digits", 40 }, { "disc", 41 }, { "dotted", 42 }, { "double", 43 }, { "e-resize", 44 }, { "em", 45 }, { "embed", 46 }, { "ex", 47 }, { "expanded", 48 }, { "extra-condensed", 49 }, { "extra-expanded", 50 }, { "far-left", 51 }, { "far-right", 52 }, { "fast", 53 }, { "faster", 54 }, { "fixed", 55 }, { "georgian", 56 }, { "grad", 57 }, { "groove", 58 }, { "hebrew", 59 }, { "help", 60 }, { "hidden", 61 }, { "hide", 62 }, { "high", 63 }, { "higher", 64 }, { "hiragana", 65 }, { "hiragana-iroha", 66 }, { "hz", 67 }, { "icon", 68 }, { "in", 69 }, { "inherit", 70 }, { "inline", 71 }, { "inline-table", 72 }, { "inset", 73 }, { "inside", 74 }, { "invert", 75 }, { "italic", 76 }, { "justify", 77 }, { "katakana", 78 }, { "katakana-iroha", 79 }, { "khz", 80 }, { "landscape", 81 }, { "large", 82 }, { "larger", 83 }, { "left", 84 }, { "left-side", 85 }, { "leftwards", 86 }, { "level", 87 }, { "lighter", 88 }, { "line-through", 89 }, { "list-item", 90 }, { "loud", 91 }, { "low", 92 }, { "lower", 93 }, { "lower-alpha", 94 }, { "lower-greek", 95 }, { "lower-latin", 96 }, { "lower-roman", 97 }, { "lowercase", 98 }, { "ltr", 99 }, { "marker", 100 }, { "medium", 101 }, { "menu", 102 }, { "message-box", 103 }, { "middle", 104 }, { "mix", 105 }, { "mm", 106 }, { "move", 107 }, { "ms", 108 }, { "n-resize", 109 }, { "narrower", 110 }, { "ne-resize", 111 }, { "no-close-quote", 112 }, { "no-open-quote", 113 }, { "no-repeat", 114 }, { "none", 115 }, { "normal", 116 }, { "noshade", 117 }, { "nowrap", 118 }, { "nw-resize", 119 }, { "oblique", 120 }, { "once", 121 }, { "open-quote", 122 }, { "outset", 123 }, { "outside", 124 }, { "overline", 125 }, { "paragraph", 126 }, { "pc", 127 }, { "pointer", 128 }, { "portrait", 129 }, { "pre", 130 }, { "pt", 131 }, { "px", 132 }, { "rad", 133 }, { "relative", 134 }, { "repeat", 135 }, { "repeat-x", 136 }, { "repeat-y", 137 }, { "ridge", 138 }, { "right", 139 }, { "right-side", 140 }, { "rightwards", 141 }, { "rtl", 142 }, { "run-in", 143 }, { "s", 144 }, { "s-resize", 145 }, { "scroll", 146 }, { "se-resize", 147 }, { "semi-condensed", 148 }, { "semi-expanded", 149 }, { "separate", 150 }, { "show", 151 }, { "silent", 152 }, { "slow", 153 }, { "slower", 154 }, { "small", 155 }, { "small-caps", 156 }, { "small-caption", 157 }, { "smaller", 158 }, { "soft", 159 }, { "solid", 160 }, { "spell-out", 161 }, { "square", 162 }, { "static", 163 }, { "status-bar", 164 }, { "sub", 165 }, { "super", 166 }, { "sw-resize", 167 }, { "table", 168 }, { "table-caption", 169 }, { "table-cell", 170 }, { "table-column", 171 }, { "table-column-group", 172 }, { "table-footer-group", 173 }, { "table-header-group", 174 }, { "table-row", 175 }, { "table-row-group", 176 }, { "text", 177 }, { "text-bottom", 178 }, { "text-top", 179 }, { "thick", 180 }, { "thin", 181 }, { "top", 182 }, { "transparent", 183 }, { "ultra-condensed", 184 }, { "ultra-expanded", 185 }, { "underline", 186 }, { "upper-alpha", 187 }, { "upper-latin", 188 }, { "upper-roman", 189 }, { "uppercase", 190 }, { "visible", 191 }, { "w-resize", 192 }, { "wait", 193 }, { "wider", 194 }, { "x-fast", 195 }, { "x-high", 196 }, { "x-large", 197 }, { "x-loud", 198 }, { "x-low", 199 }, { "x-slow", 200 }, { "x-small", 201 }, { "x-soft", 202 }, { "xx-large", 203 }, { "xx-small", 204 }, };