summaryrefslogtreecommitdiffstats
path: root/tdehtml/css/cssproperties.c
blob: 384982abad4d033ada3fc7bc8bda94ea07183d74 (plain)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
/* 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 <[email protected]>."
#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"
      {"-tdehtml-margin-start", CSS_PROP__TDEHTML_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"
      {"-tdehtml-padding-start", CSS_PROP__TDEHTML_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"
      {"-tdehtml-background-clip", CSS_PROP__TDEHTML_BACKGROUND_CLIP},
#line 70 "cssproperties.gperf"
      {"-tdehtml-marquee", CSS_PROP__TDEHTML_MARQUEE},
#line 27 "cssproperties.gperf"
      {"-tdehtml-border-vertical-spacing", CSS_PROP__TDEHTML_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"
      {"-tdehtml-background-origin", CSS_PROP__TDEHTML_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"
      {"-tdehtml-user-input", CSS_PROP__TDEHTML_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"
      {"-tdehtml-marquee-direction", CSS_PROP__TDEHTML_MARQUEE_DIRECTION},
#line 73 "cssproperties.gperf"
      {"-tdehtml-marquee-repetition", CSS_PROP__TDEHTML_MARQUEE_REPETITION},
#line 95 "cssproperties.gperf"
      {"page-break-before", CSS_PROP_PAGE_BREAK_BEFORE},
#line 74 "cssproperties.gperf"
      {"-tdehtml-marquee-speed", CSS_PROP__TDEHTML_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"
      {"-tdehtml-marquee-increment", CSS_PROP__TDEHTML_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"
      {"-tdehtml-border-horizontal-spacing", CSS_PROP__TDEHTML_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"
      {"-tdehtml-background-size", CSS_PROP__TDEHTML_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"
      {"-tdehtml-flow-mode", CSS_PROP__TDEHTML_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"
      {"-tdehtml-marquee-style", CSS_PROP__TDEHTML_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", 
"-tdehtml-background-clip", 
"-tdehtml-background-origin", 
"-tdehtml-background-size", 
"border-collapse", 
"border-spacing", 
"-tdehtml-border-horizontal-spacing", 
"-tdehtml-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", 
"-tdehtml-margin-start", 
"-tdehtml-marquee", 
"-tdehtml-marquee-direction", 
"-tdehtml-marquee-increment", 
"-tdehtml-marquee-repetition", 
"-tdehtml-marquee-speed", 
"-tdehtml-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", 
"-tdehtml-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", 
"-tdehtml-flow-mode", 
"-tdehtml-user-input", 
    0
};
DOMString getPropertyName(unsigned short id)
{
    if(id >= CSS_PROP_TOTAL || id == 0)
      return DOMString();
    else
      return DOMString(propertyList[id]);
}