/* ** 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 76 #define MAX_HASH_VALUE 1503 /* maximum key range = 1428, 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[] = { 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 219, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 1504, 247, 129, 5, 59, 138, 188, 55, 10, 86, 134, 163, 57, 149, 125, 44, 166, 42, 182, 122, 47, 47, 213, 248, 28, 86, 32, 1504, 1504, 1504, 1504, 1504, }; static unsigned char lengthtable[] = { 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, 2, 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, 0, 0, 4, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 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, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 0, 0, 0, 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, 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, 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, 8, 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, 8, 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, 14, }; static struct StaticNameTable wordlist[] = { {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"hz", 67}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"high", 63}, {"",}, {"",}, {"pc", 127}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"ex", 47}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"px", 132}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"khz", 80}, {"",}, {"",}, {"",}, {"both", 16}, {"s", 144}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"pt", 131}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"loud", 91}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"disc", 41}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"mix", 105}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"cm", 26}, {"",}, {"",}, {"",}, {"",}, {"deg", 39}, {"text", 177}, {"",}, {"",}, {"",}, {"",}, {"thick", 180}, {"",}, {"",}, {"",}, {"",}, {"dotted", 42}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"in", 69}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"rtl", 142}, {"",}, {"",}, {"",}, {"",}, {"",}, {"bold", 14}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"outset", 123}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"x-high", 196}, {"",}, {"",}, {"",}, {"solid", 160}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"right", 139}, {"",}, {"",}, {"code", 27}, {"icon", 68}, {"",}, {"",}, {"",}, {"",}, {"",}, {"ms", 108}, {"",}, {"thin", 181}, {"",}, {"",}, {"",}, {"",}, {"",}, {"block", 13}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"compact", 29}, {"",}, {"",}, {"top", 182}, {"",}, {"",}, {"",}, {"sub", 165}, {"",}, {"",}, {"auto", 6}, {"",}, {"hide", 62}, {"",}, {"",}, {"em", 45}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"mm", 106}, {"",}, {"",}, {"soft", 159}, {"italic", 76}, {"once", 121}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"outside", 124}, {"",}, {"",}, {"",}, {"",}, {"",}, {"hidden", 61}, {"ltr", 99}, {"x-loud", 198}, {"scroll", 146}, {"",}, {"",}, {"",}, {"",}, {"",}, {"static", 163}, {"cross", 33}, {"left", 84}, {"",}, {"",}, {"",}, {"",}, {"",}, {"behind", 9}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"inherit", 70}, {"",}, {"",}, {"",}, {"silent", 152}, {"fixed", 55}, {"noshade", 117}, {"",}, {"",}, {"oblique", 120}, {"",}, {"menu", 102}, {"",}, {"",}, {"x-soft", 202}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"continuous", 31}, {"inset", 73}, {"",}, {"ridge", 138}, {"",}, {"",}, {"",}, {"",}, {"",}, {"higher", 64}, {"",}, {"",}, {"",}, {"lighter", 88}, {"digits", 40}, {"",}, {"",}, {"",}, {"",}, {"help", 60}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"rad", 133}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"circle", 23}, {"double", 43}, {"dashed", 35}, {"",}, {"condensed", 30}, {"blink", 12}, {"",}, {"crop", 32}, {"",}, {"",}, {"",}, {"bottom", 17}, {"",}, {"",}, {"none", 115}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"text-bottom", 178}, {"",}, {"",}, {"decimal", 36}, {"low", 92}, {"x-low", 199}, {"",}, {"",}, {"",}, {"",}, {"grad", 57}, {"groove", 58}, {"level", 87}, {"",}, {"",}, {"",}, {"center-left", 21}, {"collapse", 28}, {"",}, {"",}, {"",}, {"",}, {"embed", 46}, {"",}, {"normal", 116}, {"below", 10}, {"",}, {"table", 168}, {"",}, {"",}, {"",}, {"pre", 130}, {"",}, {"",}, {"",}, {"justify", 77}, {"",}, {"",}, {"",}, {"middle", 104}, {"inline", 71}, {"small", 155}, {"",}, {"x-small", 201}, {"crosshair", 34}, {"caption", 19}, {"",}, {"close-quote", 25}, {"",}, {"",}, {"",}, {"text-top", 179}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"avoid", 7}, {"fast", 53}, {"",}, {"",}, {"",}, {"bolder", 15}, {"super", 166}, {"",}, {"invert", 75}, {"",}, {"",}, {"",}, {"",}, {"line-through", 89}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"lower", 93}, {"",}, {"show", 151}, {"",}, {"",}, {"wait", 193}, {"",}, {"",}, {"",}, {"",}, {"large", 82}, {"center", 20}, {"move", 107}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"list-item", 90}, {"",}, {"",}, {"",}, {"underline", 186}, {"",}, {"",}, {"inside", 74}, {"",}, {"",}, {"",}, {"",}, {"",}, {"open-quote", 122}, {"",}, {"visible", 191}, {"",}, {"",}, {"ultra-expanded", 185}, {"",}, {"",}, {"",}, {"",}, {"",}, {"wider", 194}, {"",}, {"",}, {"",}, {"",}, {"slow", 153}, {"repeat", 135}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"repeat-x", 136}, {"medium", 101}, {"",}, {"",}, {"",}, {"square", 162}, {"",}, {"",}, {"default", 38}, {"",}, {"",}, {"",}, {"",}, {"pointer", 128}, {"",}, {"",}, {"x-large", 197}, {"bidi-override", 11}, {"",}, {"",}, {"",}, {"",}, {"",}, {"left-side", 85}, {"",}, {"",}, {"lowercase", 98}, {"",}, {"georgian", 56}, {"expanded", 48}, {"",}, {"xx-small", 204}, {"",}, {"",}, {"",}, {"",}, {"no-close-quote", 112}, {"",}, {"",}, {"extra-expanded", 50}, {"",}, {"above", 2}, {"",}, {"",}, {"",}, {"",}, {"",}, {"x-fast", 195}, {"",}, {"",}, {"center-right", 22}, {"right-side", 140}, {"",}, {"portrait", 129}, {"",}, {"",}, {"uppercase", 190}, {"",}, {"",}, {"",}, {"ultra-condensed", 184}, {"",}, {"",}, {"xx-large", 203}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"spell-out", 161}, {"landscape", 81}, {"",}, {"",}, {"",}, {"cjk-ideographic", 24}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"semi-condensed", 148}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"inline-table", 72}, {"",}, {"run-in", 143}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"slower", 154}, {"",}, {"",}, {"message-box", 103}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"repeat-y", 137}, {"",}, {"",}, {"",}, {"",}, {"",}, {"extra-condensed", 49}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"leftwards", 86}, {"",}, {"",}, {"",}, {"",}, {"",}, {"absolute", 3}, {"",}, {"",}, {"",}, {"decimal-leading-zero", 37}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"lower-roman", 97}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"rightwards", 141}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"smaller", 158}, {"",}, {"table-cell", 170}, {"",}, {"status-bar", 164}, {"",}, {"",}, {"",}, {"",}, {"larger", 83}, {"",}, {"",}, {"",}, {"",}, {"upper-roman", 189}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"x-slow", 200}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"nowrap", 118}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"overline", 125}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"hebrew", 59}, {"se-resize", 147}, {"",}, {"",}, {"ne-resize", 111}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"faster", 54}, {"-moz-bg-outset", 1}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"capitalize", 18}, {"",}, {"no-open-quote", 113}, {"far-right", 52}, {"",}, {"-moz-bg-inset", 0}, {"",}, {"",}, {"",}, {"relative", 134}, {"",}, {"",}, {"",}, {"",}, {"",}, {"table-row", 175}, {"",}, {"",}, {"",}, {"",}, {"table-column", 171}, {"baseline", 8}, {"transparent", 183}, {"",}, {"semi-expanded", 149}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"lower-alpha", 94}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"s-resize", 145}, {"",}, {"",}, {"n-resize", 109}, {"",}, {"",}, {"",}, {"",}, {"no-repeat", 114}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"e-resize", 44}, {"",}, {"always", 4}, {"",}, {"upper-alpha", 187}, {"table-column-group", 172}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"armenian", 5}, {"",}, {"lower-greek", 95}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"sw-resize", 167}, {"",}, {"",}, {"nw-resize", 119}, {"far-left", 51}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"lower-latin", 96}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"table-row-group", 176}, {"",}, {"",}, {"table-footer-group", 173}, {"",}, {"marker", 100}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"upper-latin", 188}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"table-caption", 169}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"w-resize", 192}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"small-caps", 156}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"table-header-group", 174}, {"separate", 150}, {"",}, {"",}, {"",}, {"",}, {"paragraph", 126}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"small-caption", 157}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"hiragana", 65}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"hiragana-iroha", 66}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"narrower", 110}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"katakana", 78}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"",}, {"katakana-iroha", 79}, }; 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 }, };