[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
gramps
gramps at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:39:53 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit a7f0bb2c3f5074b9ab6410f176edfb673e471392
Author: gramps <gramps at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Tue Aug 28 15:20:03 2001 +0000
Removed generated source files
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/khtml/css/cssproperties.c b/WebCore/khtml/css/cssproperties.c
deleted file mode 100644
index 570aaef..0000000
--- a/WebCore/khtml/css/cssproperties.c
+++ /dev/null
@@ -1,465 +0,0 @@
-/* ANSI-C code produced by gperf version 2.7.2 */
-/* Command-line: gperf -a -L ANSI-C -E -C -c -o -t -k '*' -NfindProp -Hhash_prop -Wwordlist_prop -D -s 2 cssproperties.gperf */
-/* This file is automatically generated from cssproperties.in by makeprop, do not edit */
-/* Copyright 1999 W. Bastian */
-#include "cssproperties.h"
-struct props {
- const char *name;
- int id;
-};
-/* maximum key range = 742, 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[] =
- {
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 0, 747, 747, 747, 747,
- 747, 0, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 10, 40, 0,
- 0, 0, 30, 0, 15, 0, 5, 150, 0, 55,
- 45, 0, 80, 5, 0, 145, 0, 5, 10, 135,
- 205, 75, 0, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747
- };
- register int hval = len;
-
- switch (hval)
- {
- default:
- case 26:
- hval += asso_values[(unsigned char)str[25]];
- case 25:
- hval += asso_values[(unsigned char)str[24]];
- case 24:
- hval += asso_values[(unsigned char)str[23]];
- case 23:
- hval += asso_values[(unsigned char)str[22]];
- case 22:
- hval += asso_values[(unsigned char)str[21]];
- case 21:
- hval += asso_values[(unsigned char)str[20]];
- case 20:
- hval += asso_values[(unsigned char)str[19]];
- case 19:
- hval += asso_values[(unsigned char)str[18]];
- case 18:
- hval += asso_values[(unsigned char)str[17]];
- case 17:
- hval += asso_values[(unsigned char)str[16]];
- case 16:
- hval += asso_values[(unsigned char)str[15]];
- case 15:
- hval += asso_values[(unsigned char)str[14]];
- case 14:
- hval += asso_values[(unsigned char)str[13]];
- case 13:
- hval += asso_values[(unsigned char)str[12]];
- case 12:
- hval += asso_values[(unsigned char)str[11]];
- case 11:
- hval += asso_values[(unsigned char)str[10]];
- case 10:
- hval += asso_values[(unsigned char)str[9]];
- case 9:
- hval += asso_values[(unsigned char)str[8]];
- case 8:
- hval += asso_values[(unsigned char)str[7]];
- case 7:
- hval += asso_values[(unsigned char)str[6]];
- case 6:
- hval += asso_values[(unsigned char)str[5]];
- case 5:
- hval += asso_values[(unsigned char)str[4]];
- case 4:
- hval += asso_values[(unsigned char)str[3]];
- case 3:
- hval += asso_values[(unsigned char)str[2]];
- case 2:
- hval += asso_values[(unsigned char)str[1]];
- 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 = 112,
- MIN_WORD_LENGTH = 3,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 746
- };
-
- static const struct props wordlist_prop[] =
- {
- {"color", CSS_PROP_COLOR},
- {"clear", CSS_PROP_CLEAR},
- {"right", CSS_PROP_RIGHT},
- {"left", CSS_PROP_LEFT},
- {"height", CSS_PROP_HEIGHT},
- {"float", CSS_PROP_FLOAT},
- {"border", CSS_PROP_BORDER},
- {"border-color", CSS_PROP_BORDER_COLOR},
- {"direction", CSS_PROP_DIRECTION},
- {"outline", CSS_PROP_OUTLINE},
- {"outline-color", CSS_PROP_OUTLINE_COLOR},
- {"border-right", CSS_PROP_BORDER_RIGHT},
- {"border-right-color", CSS_PROP_BORDER_RIGHT_COLOR},
- {"font", CSS_PROP_FONT},
- {"border-left", CSS_PROP_BORDER_LEFT},
- {"top", CSS_PROP_TOP},
- {"clip", CSS_PROP_CLIP},
- {"line-height", CSS_PROP_LINE_HEIGHT},
- {"border-left-color", CSS_PROP_BORDER_LEFT_COLOR},
- {"vertical-align", CSS_PROP_VERTICAL_ALIGN},
- {"page", CSS_PROP_PAGE},
- {"content", CSS_PROP_CONTENT},
- {"bottom", CSS_PROP_BOTTOM},
- {"unicode-bidi", CSS_PROP_UNICODE_BIDI},
- {"margin", CSS_PROP_MARGIN},
- {"border-top", CSS_PROP_BORDER_TOP},
- {"border-top-color", CSS_PROP_BORDER_TOP_COLOR},
- {"margin-right", CSS_PROP_MARGIN_RIGHT},
- {"min-height", CSS_PROP_MIN_HEIGHT},
- {"padding", CSS_PROP_PADDING},
- {"border-bottom", CSS_PROP_BORDER_BOTTOM},
- {"size", CSS_PROP_SIZE},
- {"margin-left", CSS_PROP_MARGIN_LEFT},
- {"table-layout", CSS_PROP_TABLE_LAYOUT},
- {"border-bottom-color", CSS_PROP_BORDER_BOTTOM_COLOR},
- {"width", CSS_PROP_WIDTH},
- {"cursor", CSS_PROP_CURSOR},
- {"quotes", CSS_PROP_QUOTES},
- {"font-variant", CSS_PROP_FONT_VARIANT},
- {"padding-right", CSS_PROP_PADDING_RIGHT},
- {"padding-left", CSS_PROP_PADDING_LEFT},
- {"overflow", CSS_PROP_OVERFLOW},
- {"margin-top", CSS_PROP_MARGIN_TOP},
- {"border-width", CSS_PROP_BORDER_WIDTH},
- {"counter-reset", CSS_PROP_COUNTER_RESET},
- {"counter-increment", CSS_PROP_COUNTER_INCREMENT},
- {"outline-width", CSS_PROP_OUTLINE_WIDTH},
- {"margin-bottom", CSS_PROP_MARGIN_BOTTOM},
- {"border-right-width", CSS_PROP_BORDER_RIGHT_WIDTH},
- {"padding-top", CSS_PROP_PADDING_TOP},
- {"font-size", CSS_PROP_FONT_SIZE},
- {"scrollbar-3dlight-color", CSS_PROP_SCROLLBAR_3DLIGHT_COLOR},
- {"font-weight", CSS_PROP_FONT_WEIGHT},
- {"border-left-width", CSS_PROP_BORDER_LEFT_WIDTH},
- {"padding-bottom", CSS_PROP_PADDING_BOTTOM},
- {"font-stretch", CSS_PROP_FONT_STRETCH},
- {"scrollbar-face-color", CSS_PROP_SCROLLBAR_FACE_COLOR},
- {"font-family", CSS_PROP_FONT_FAMILY},
- {"z-index", CSS_PROP_Z_INDEX},
- {"min-width", CSS_PROP_MIN_WIDTH},
- {"background", CSS_PROP_BACKGROUND},
- {"scrollbar-highlight-color", CSS_PROP_SCROLLBAR_HIGHLIGHT_COLOR},
- {"background-color", CSS_PROP_BACKGROUND_COLOR},
- {"text-align", CSS_PROP_TEXT_ALIGN},
- {"border-style", CSS_PROP_BORDER_STYLE},
- {"text-decoration", CSS_PROP_TEXT_DECORATION},
- {"position", CSS_PROP_POSITION},
- {"visibility", CSS_PROP_VISIBILITY},
- {"text-decoration-color", CSS_PROP_TEXT_DECORATION_COLOR},
- {"outline-style", CSS_PROP_OUTLINE_STYLE},
- {"border-top-width", CSS_PROP_BORDER_TOP_WIDTH},
- {"border-collapse", CSS_PROP_BORDER_COLLAPSE},
- {"caption-side", CSS_PROP_CAPTION_SIDE},
- {"border-right-style", CSS_PROP_BORDER_RIGHT_STYLE},
- {"letter-spacing", CSS_PROP_LETTER_SPACING},
- {"orphans", CSS_PROP_ORPHANS},
- {"border-bottom-width", CSS_PROP_BORDER_BOTTOM_WIDTH},
- {"font-style", CSS_PROP_FONT_STYLE},
- {"text-indent", CSS_PROP_TEXT_INDENT},
- {"border-left-style", CSS_PROP_BORDER_LEFT_STYLE},
- {"max-height", CSS_PROP_MAX_HEIGHT},
- {"display", CSS_PROP_DISPLAY},
- {"background-image", CSS_PROP_BACKGROUND_IMAGE},
- {"border-spacing", CSS_PROP_BORDER_SPACING},
- {"page-break-after", CSS_PROP_PAGE_BREAK_AFTER},
- {"border-top-style", CSS_PROP_BORDER_TOP_STYLE},
- {"background-repeat", CSS_PROP_BACKGROUND_REPEAT},
- {"scrollbar-arrow-color", CSS_PROP_SCROLLBAR_ARROW_COLOR},
- {"empty-cells", CSS_PROP_EMPTY_CELLS},
- {"border-bottom-style", CSS_PROP_BORDER_BOTTOM_STYLE},
- {"list-style", CSS_PROP_LIST_STYLE},
- {"scrollbar-track-color", CSS_PROP_SCROLLBAR_TRACK_COLOR},
- {"page-break-before", CSS_PROP_PAGE_BREAK_BEFORE},
- {"white-space", CSS_PROP_WHITE_SPACE},
- {"font-size-adjust", CSS_PROP_FONT_SIZE_ADJUST},
- {"background-attachment", CSS_PROP_BACKGROUND_ATTACHMENT},
- {"widows", CSS_PROP_WIDOWS},
- {"word-spacing", CSS_PROP_WORD_SPACING},
- {"max-width", CSS_PROP_MAX_WIDTH},
- {"marker-offset", CSS_PROP_MARKER_OFFSET},
- {"-konq-flow-mode", CSS_PROP__KONQ_FLOW_MODE},
- {"list-style-image", CSS_PROP_LIST_STYLE_IMAGE},
- {"page-break-inside", CSS_PROP_PAGE_BREAK_INSIDE},
- {"text-transform", CSS_PROP_TEXT_TRANSFORM},
- {"text-shadow", CSS_PROP_TEXT_SHADOW},
- {"scrollbar-shadow-color", CSS_PROP_SCROLLBAR_SHADOW_COLOR},
- {"list-style-type", CSS_PROP_LIST_STYLE_TYPE},
- {"background-position", CSS_PROP_BACKGROUND_POSITION},
- {"background-position-y", CSS_PROP_BACKGROUND_POSITION_Y},
- {"list-style-position", CSS_PROP_LIST_STYLE_POSITION},
- {"scrollbar-darkshadow-color", CSS_PROP_SCROLLBAR_DARKSHADOW_COLOR},
- {"background-position-x", CSS_PROP_BACKGROUND_POSITION_X}
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -1, -1, 0, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 1, -1, -1, -1, -1,
- 2, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 3, -1, 4, -1, -1, -1,
- -1, -1, -1, -1, -1, 5, 6, -1, -1, -1,
- -1, -1, 7, -1, 8, -1, -1, 9, -1, -1,
- -1, -1, -1, 10, -1, -1, -1, 11, -1, -1,
- -1, -1, -1, 12, -1, -1, -1, -1, -1, 13,
- -1, 14, -1, 15, 16, -1, 17, 18, -1, 19,
- -1, -1, -1, -1, 20, -1, -1, 21, -1, -1,
- -1, 22, 23, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 24, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 25, -1, -1, -1, -1, -1, 26, 27, -1, -1,
- 28, -1, 29, -1, -1, -1, -1, -1, 30, 31,
- -1, 32, 33, -1, 34, 35, 36, -1, -1, -1,
- -1, 37, 38, 39, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 40, -1, -1,
- -1, -1, -1, 41, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 42, -1, 43, -1, -1, -1, -1, -1, 44, -1,
- -1, -1, 45, 46, -1, -1, -1, -1, 47, -1,
- -1, -1, -1, 48, -1, -1, 49, -1, -1, 50,
- -1, -1, -1, 51, -1, -1, 52, 53, -1, -1,
- -1, -1, -1, -1, 54, -1, -1, 55, -1, -1,
- -1, -1, -1, -1, -1, 56, 57, 58, -1, 59,
- 60, -1, -1, -1, -1, 61, 62, -1, -1, -1,
- 63, -1, 64, -1, -1, 65, -1, -1, 66, -1,
- 67, 68, -1, 69, -1, -1, 70, -1, -1, -1,
- 71, -1, 72, 73, 74, -1, -1, -1, -1, -1,
- -1, -1, 75, -1, 76, 77, 78, 79, -1, -1,
- 80, -1, -1, -1, -1, -1, -1, 81, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 82, -1, -1, 83, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 84, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 85, 86, -1, -1,
- -1, 87, -1, -1, -1, -1, 88, -1, -1, -1,
- -1, -1, -1, -1, 89, 90, 91, 92, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 93, -1, -1, -1,
- -1, 94, -1, -1, -1, -1, 95, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 96, -1, -1, -1, -1, -1, 97, -1, 98,
- -1, -1, -1, 99, -1, 100, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 101, -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, 102, -1, -1,
- -1, -1, -1, -1, 103, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 104, 105, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 106, -1, -1, -1, 107,
- -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, 108, -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, 109, -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, 110, -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, 111
- };
-
- 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;
-}
-static const char * propertyList[] = {
-"",
-"background-color",
-"background-image",
-"background-repeat",
-"background-attachment",
-"background-position",
-"background-position-x",
-"background-position-y",
-"border-collapse",
-"border-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-size-adjust",
-"font-stretch",
-"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",
-"marker-offset",
-"max-height",
-"max-width",
-"min-height",
-"min-width",
-"orphans",
-"outline-color",
-"outline-style",
-"outline-width",
-"overflow",
-"padding-top",
-"padding-right",
-"padding-bottom",
-"padding-left",
-"page",
-"page-break-after",
-"page-break-before",
-"page-break-inside",
-"position",
-"quotes",
-"right",
-"size",
-"table-layout",
-"text-align",
-"text-decoration",
-"text-decoration-color",
-"text-indent",
-"text-shadow",
-"text-transform",
-"top",
-"unicode-bidi",
-"vertical-align",
-"visibility",
-"white-space",
-"widows",
-"width",
-"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",
-"-konq-flow-mode",
- 0
-};
-DOMString getPropertyName(unsigned short id)
-{
- if(id >= CSS_PROP_TOTAL || id == 0)
- return 0;
- else
- return DOMString(propertyList[id]);
-};
-
diff --git a/WebCore/khtml/css/cssproperties.h b/WebCore/khtml/css/cssproperties.h
deleted file mode 100644
index 588973c..0000000
--- a/WebCore/khtml/css/cssproperties.h
+++ /dev/null
@@ -1,126 +0,0 @@
-/* This file is automatically generated from cssproperties.in by makeprop, do not edit */
-/* Copyright 1998 W. Bastian */
-
-#ifndef CSSPROPERTIES_H
-#define CSSPROPERTIES_H
-
-
-#define CSS_PROP_INVALID 0
-#define CSS_PROP_MIN 1
-#define CSS_PROP_BACKGROUND_COLOR 1
-#define CSS_PROP_BACKGROUND_IMAGE 2
-#define CSS_PROP_BACKGROUND_REPEAT 3
-#define CSS_PROP_BACKGROUND_ATTACHMENT 4
-#define CSS_PROP_BACKGROUND_POSITION 5
-#define CSS_PROP_BACKGROUND_POSITION_X 6
-#define CSS_PROP_BACKGROUND_POSITION_Y 7
-#define CSS_PROP_BORDER_COLLAPSE 8
-#define CSS_PROP_BORDER_SPACING 9
-#define CSS_PROP_BORDER_TOP_COLOR 10
-#define CSS_PROP_BORDER_RIGHT_COLOR 11
-#define CSS_PROP_BORDER_BOTTOM_COLOR 12
-#define CSS_PROP_BORDER_LEFT_COLOR 13
-#define CSS_PROP_BORDER_TOP_STYLE 14
-#define CSS_PROP_BORDER_RIGHT_STYLE 15
-#define CSS_PROP_BORDER_BOTTOM_STYLE 16
-#define CSS_PROP_BORDER_LEFT_STYLE 17
-#define CSS_PROP_BORDER_TOP_WIDTH 18
-#define CSS_PROP_BORDER_RIGHT_WIDTH 19
-#define CSS_PROP_BORDER_BOTTOM_WIDTH 20
-#define CSS_PROP_BORDER_LEFT_WIDTH 21
-#define CSS_PROP_BOTTOM 22
-#define CSS_PROP_CAPTION_SIDE 23
-#define CSS_PROP_CLEAR 24
-#define CSS_PROP_CLIP 25
-#define CSS_PROP_COLOR 26
-#define CSS_PROP_CONTENT 27
-#define CSS_PROP_COUNTER_INCREMENT 28
-#define CSS_PROP_COUNTER_RESET 29
-#define CSS_PROP_CURSOR 30
-#define CSS_PROP_DIRECTION 31
-#define CSS_PROP_DISPLAY 32
-#define CSS_PROP_EMPTY_CELLS 33
-#define CSS_PROP_FLOAT 34
-#define CSS_PROP_FONT_FAMILY 35
-#define CSS_PROP_FONT_SIZE 36
-#define CSS_PROP_FONT_SIZE_ADJUST 37
-#define CSS_PROP_FONT_STRETCH 38
-#define CSS_PROP_FONT_STYLE 39
-#define CSS_PROP_FONT_VARIANT 40
-#define CSS_PROP_FONT_WEIGHT 41
-#define CSS_PROP_HEIGHT 42
-#define CSS_PROP_LEFT 43
-#define CSS_PROP_LETTER_SPACING 44
-#define CSS_PROP_LINE_HEIGHT 45
-#define CSS_PROP_LIST_STYLE_IMAGE 46
-#define CSS_PROP_LIST_STYLE_POSITION 47
-#define CSS_PROP_LIST_STYLE_TYPE 48
-#define CSS_PROP_MARGIN_TOP 49
-#define CSS_PROP_MARGIN_RIGHT 50
-#define CSS_PROP_MARGIN_BOTTOM 51
-#define CSS_PROP_MARGIN_LEFT 52
-#define CSS_PROP_MARKER_OFFSET 53
-#define CSS_PROP_MAX_HEIGHT 54
-#define CSS_PROP_MAX_WIDTH 55
-#define CSS_PROP_MIN_HEIGHT 56
-#define CSS_PROP_MIN_WIDTH 57
-#define CSS_PROP_ORPHANS 58
-#define CSS_PROP_OUTLINE_COLOR 59
-#define CSS_PROP_OUTLINE_STYLE 60
-#define CSS_PROP_OUTLINE_WIDTH 61
-#define CSS_PROP_OVERFLOW 62
-#define CSS_PROP_PADDING_TOP 63
-#define CSS_PROP_PADDING_RIGHT 64
-#define CSS_PROP_PADDING_BOTTOM 65
-#define CSS_PROP_PADDING_LEFT 66
-#define CSS_PROP_PAGE 67
-#define CSS_PROP_PAGE_BREAK_AFTER 68
-#define CSS_PROP_PAGE_BREAK_BEFORE 69
-#define CSS_PROP_PAGE_BREAK_INSIDE 70
-#define CSS_PROP_POSITION 71
-#define CSS_PROP_QUOTES 72
-#define CSS_PROP_RIGHT 73
-#define CSS_PROP_SIZE 74
-#define CSS_PROP_TABLE_LAYOUT 75
-#define CSS_PROP_TEXT_ALIGN 76
-#define CSS_PROP_TEXT_DECORATION 77
-#define CSS_PROP_TEXT_DECORATION_COLOR 78
-#define CSS_PROP_TEXT_INDENT 79
-#define CSS_PROP_TEXT_SHADOW 80
-#define CSS_PROP_TEXT_TRANSFORM 81
-#define CSS_PROP_TOP 82
-#define CSS_PROP_UNICODE_BIDI 83
-#define CSS_PROP_VERTICAL_ALIGN 84
-#define CSS_PROP_VISIBILITY 85
-#define CSS_PROP_WHITE_SPACE 86
-#define CSS_PROP_WIDOWS 87
-#define CSS_PROP_WIDTH 88
-#define CSS_PROP_WORD_SPACING 89
-#define CSS_PROP_Z_INDEX 90
-#define CSS_PROP_BACKGROUND 91
-#define CSS_PROP_BORDER 92
-#define CSS_PROP_BORDER_COLOR 93
-#define CSS_PROP_BORDER_STYLE 94
-#define CSS_PROP_BORDER_TOP 95
-#define CSS_PROP_BORDER_RIGHT 96
-#define CSS_PROP_BORDER_BOTTOM 97
-#define CSS_PROP_BORDER_LEFT 98
-#define CSS_PROP_BORDER_WIDTH 99
-#define CSS_PROP_FONT 100
-#define CSS_PROP_LIST_STYLE 101
-#define CSS_PROP_MARGIN 102
-#define CSS_PROP_OUTLINE 103
-#define CSS_PROP_PADDING 104
-#define CSS_PROP_SCROLLBAR_FACE_COLOR 105
-#define CSS_PROP_SCROLLBAR_SHADOW_COLOR 106
-#define CSS_PROP_SCROLLBAR_HIGHLIGHT_COLOR 107
-#define CSS_PROP_SCROLLBAR_3DLIGHT_COLOR 108
-#define CSS_PROP_SCROLLBAR_DARKSHADOW_COLOR 109
-#define CSS_PROP_SCROLLBAR_TRACK_COLOR 110
-#define CSS_PROP_SCROLLBAR_ARROW_COLOR 111
-#define CSS_PROP__KONQ_FLOW_MODE 112
-
-#define CSS_PROP_MAX CSS_PROP_Z_INDEX
-#define CSS_PROP_TOTAL 113
-#endif
-
diff --git a/WebCore/khtml/css/cssvalues.c b/WebCore/khtml/css/cssvalues.c
deleted file mode 100644
index 84048e2..0000000
--- a/WebCore/khtml/css/cssvalues.c
+++ /dev/null
@@ -1,664 +0,0 @@
-/* ANSI-C code produced by gperf version 2.7.2 */
-/* Command-line: gperf -L ANSI-C -E -C -n -o -t -k '*' -NfindValue -Hhash_val -Wwordlist_value -D cssvalues.gperf */
-/* This file is automatically generated from cssvalues.in by makevalues, do not edit */
-/* Copyright 1999 W. Bastian */
-#include "cssvalues.h"
-struct css_value {
- const char *name;
- int id;
-};
-/* maximum key range = 1057, duplicates = 1 */
-
-#ifdef __GNUC__
-__inline
-#else
-#ifdef __cplusplus
-inline
-#endif
-#endif
-static unsigned int
-hash_val (register const char *str, register unsigned int len)
-{
- static const unsigned short asso_values[] =
- {
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 0, 1057, 1057, 0, 25,
- 30, 35, 40, 50, 5, 10, 15, 0, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 0, 95, 10,
- 85, 35, 10, 64, 158, 25, 10, 114, 0, 29,
- 49, 0, 95, 155, 20, 240, 0, 24, 210, 28,
- 93, 5, 50, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057
- };
- register int hval = 0;
-
- switch (len)
- {
- default:
- case 21:
- hval += asso_values[(unsigned char)str[20]];
- case 20:
- hval += asso_values[(unsigned char)str[19]];
- case 19:
- hval += asso_values[(unsigned char)str[18]];
- case 18:
- hval += asso_values[(unsigned char)str[17]];
- case 17:
- hval += asso_values[(unsigned char)str[16]];
- case 16:
- hval += asso_values[(unsigned char)str[15]];
- case 15:
- hval += asso_values[(unsigned char)str[14]];
- case 14:
- hval += asso_values[(unsigned char)str[13]];
- case 13:
- hval += asso_values[(unsigned char)str[12]];
- case 12:
- hval += asso_values[(unsigned char)str[11]];
- case 11:
- hval += asso_values[(unsigned char)str[10]];
- case 10:
- hval += asso_values[(unsigned char)str[9]];
- case 9:
- hval += asso_values[(unsigned char)str[8]];
- case 8:
- hval += asso_values[(unsigned char)str[7]];
- case 7:
- hval += asso_values[(unsigned char)str[6]];
- case 6:
- hval += asso_values[(unsigned char)str[5]];
- case 5:
- hval += asso_values[(unsigned char)str[4]];
- case 4:
- hval += asso_values[(unsigned char)str[3]];
- case 3:
- hval += asso_values[(unsigned char)str[2]];
- case 2:
- hval += asso_values[(unsigned char)str[1]];
- case 1:
- hval += asso_values[(unsigned char)str[0]];
- break;
- }
- return hval;
-}
-
-#ifdef __GNUC__
-__inline
-#endif
-const struct css_value *
-findValue (register const char *str, register unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 180,
- MIN_WORD_LENGTH = 3,
- MAX_WORD_LENGTH = 21,
- MIN_HASH_VALUE = 0,
- MAX_HASH_VALUE = 1056
- };
-
- static const struct css_value wordlist_value[] =
- {
- {"900", CSS_VAL_900},
- {"600", CSS_VAL_600},
- {"700", CSS_VAL_700},
- {"800", CSS_VAL_800},
- {"ltr", CSS_VAL_LTR},
- {"rtl", CSS_VAL_RTL},
- {"auto", CSS_VAL_AUTO},
- {"100", CSS_VAL_100},
- {"200", CSS_VAL_200},
- {"300", CSS_VAL_300},
- {"400", CSS_VAL_400},
- {"left", CSS_VAL_LEFT},
- {"500", CSS_VAL_500},
- {"wait", CSS_VAL_WAIT},
- {"italic", CSS_VAL_ITALIC},
- {"lower", CSS_VAL_LOWER},
- {"icon", CSS_VAL_ICON},
- {"top", CSS_VAL_TOP},
- {"normal", CSS_VAL_NORMAL},
- {"circle", CSS_VAL_CIRCLE},
- {"loud", CSS_VAL_LOUD},
- {"large", CSS_VAL_LARGE},
- {"bottom", CSS_VAL_BOTTOM},
- {"crop", CSS_VAL_CROP},
- {"text", CSS_VAL_TEXT},
- {"table", CSS_VAL_TABLE},
- {"none", CSS_VAL_NONE},
- {"menu", CSS_VAL_MENU},
- {"larger", CSS_VAL_LARGER},
- {"compact", CSS_VAL_COMPACT},
- {"mix", CSS_VAL_MIX},
- {"center", CSS_VAL_CENTER},
- {"pre", CSS_VAL_PRE},
- {"default", CSS_VAL_DEFAULT},
- {"lower-latin", CSS_VAL_LOWER_LATIN},
- {"below", CSS_VAL_BELOW},
- {"portrait", CSS_VAL_PORTRAIT},
- {"run-in", CSS_VAL_RUN_IN},
- {"narrower", CSS_VAL_NARROWER},
- {"table-cell", CSS_VAL_TABLE_CELL},
- {"table-row", CSS_VAL_TABLE_ROW},
- {"caption", CSS_VAL_CAPTION},
- {"bold", CSS_VAL_BOLD},
- {"lower-roman", CSS_VAL_LOWER_ROMAN},
- {"inline", CSS_VAL_INLINE},
- {"decimal", CSS_VAL_DECIMAL},
- {"repeat", CSS_VAL_REPEAT},
- {"repeat-y", CSS_VAL_REPEAT_Y},
- {"nowrap", CSS_VAL_NOWRAP},
- {"wider", CSS_VAL_WIDER},
- {"dotted", CSS_VAL_DOTTED},
- {"armenian", CSS_VAL_ARMENIAN},
- {"x-large", CSS_VAL_X_LARGE},
- {"marker", CSS_VAL_MARKER},
- {"block", CSS_VAL_BLOCK},
- {"text-top", CSS_VAL_TEXT_TOP},
- {"pointer", CSS_VAL_POINTER},
- {"medium", CSS_VAL_MEDIUM},
- {"ridge", CSS_VAL_RIDGE},
- {"thin", CSS_VAL_THIN},
- {"no-repeat", CSS_VAL_NO_REPEAT},
- {"bolder", CSS_VAL_BOLDER},
- {"double", CSS_VAL_DOUBLE},
- {"capitalize", CSS_VAL_CAPITALIZE},
- {"table-column", CSS_VAL_TABLE_COLUMN},
- {"fixed", CSS_VAL_FIXED},
- {"text-bottom", CSS_VAL_TEXT_BOTTOM},
- {"both", CSS_VAL_BOTH},
- {"georgian", CSS_VAL_GEORGIAN},
- {"middle", CSS_VAL_MIDDLE},
- {"right", CSS_VAL_RIGHT},
- {"small", CSS_VAL_SMALL},
- {"scroll", CSS_VAL_SCROLL},
- {"always", CSS_VAL_ALWAYS},
- {"move", CSS_VAL_MOVE},
- {"static", CSS_VAL_STATIC},
- {"katakana", CSS_VAL_KATAKANA},
- {"repeat-x", CSS_VAL_REPEAT_X},
- {"embed", CSS_VAL_EMBED},
- {"level", CSS_VAL_LEVEL},
- {"blink", CSS_VAL_BLINK},
- {"help", CSS_VAL_HELP},
- {"hand", CSS_VAL_HAND},
- {"outset", CSS_VAL_OUTSET},
- {"lighter", CSS_VAL_LIGHTER},
- {"hide", CSS_VAL_HIDE},
- {"fantasy", CSS_VAL_FANTASY},
- {"xx-large", CSS_VAL_XX_LARGE},
- {"thick", CSS_VAL_THICK},
- {"table-caption", CSS_VAL_TABLE_CAPTION},
- {"inherit", CSS_VAL_INHERIT},
- {"inline-table", CSS_VAL_INLINE_TABLE},
- {"justify", CSS_VAL_JUSTIFY},
- {"hiragana", CSS_VAL_HIRAGANA},
- {"avoid", CSS_VAL_AVOID},
- {"underline", CSS_VAL_UNDERLINE},
- {"smaller", CSS_VAL_SMALLER},
- {"relative", CSS_VAL_RELATIVE},
- {"groove", CSS_VAL_GROOVE},
- {"serif", CSS_VAL_SERIF},
- {"oblique", CSS_VAL_OBLIQUE},
- {"lower-alpha", CSS_VAL_LOWER_ALPHA},
- {"invert", CSS_VAL_INVERT},
- {"above", CSS_VAL_ABOVE},
- {"upper-latin", CSS_VAL_UPPER_LATIN},
- {"inset", CSS_VAL_INSET},
- {"solid", CSS_VAL_SOLID},
- {"lower-greek", CSS_VAL_LOWER_GREEK},
- {"list-item", CSS_VAL_LIST_ITEM},
- {"sub", CSS_VAL_SUB},
- {"disc", CSS_VAL_DISC},
- {"x-small", CSS_VAL_X_SMALL},
- {"upper-roman", CSS_VAL_UPPER_ROMAN},
- {"lowercase", CSS_VAL_LOWERCASE},
- {"hebrew", CSS_VAL_HEBREW},
- {"overline", CSS_VAL_OVERLINE},
- {"collapse", CSS_VAL_COLLAPSE},
- {"table-row-group", CSS_VAL_TABLE_ROW_GROUP},
- {"open-quote", CSS_VAL_OPEN_QUOTE},
- {"absolute", CSS_VAL_ABSOLUTE},
- {"table-footer-group", CSS_VAL_TABLE_FOOTER_GROUP},
- {"outside", CSS_VAL_OUTSIDE},
- {"super", CSS_VAL_SUPER},
- {"-konq-normal", CSS_VAL__KONQ_NORMAL},
- {"-konq-ruler", CSS_VAL__KONQ_RULER},
- {"separate", CSS_VAL_SEPARATE},
- {"show", CSS_VAL_SHOW},
- {"w-resize", CSS_VAL_W_RESIZE},
- {"hidden", CSS_VAL_HIDDEN},
- {"e-resize", CSS_VAL_E_RESIZE},
- {"no-open-quote", CSS_VAL_NO_OPEN_QUOTE},
- {"table-column-group", CSS_VAL_TABLE_COLUMN_GROUP},
- {"small-caption", CSS_VAL_SMALL_CAPTION},
- {"n-resize", CSS_VAL_N_RESIZE},
- {"xx-small", CSS_VAL_XX_SMALL},
- {"monospace", CSS_VAL_MONOSPACE},
- {"inside", CSS_VAL_INSIDE},
- {"higher", CSS_VAL_HIGHER},
- {"-konq-center", CSS_VAL__KONQ_CENTER},
- {"square", CSS_VAL_SQUARE},
- {"expanded", CSS_VAL_EXPANDED},
- {"baseline", CSS_VAL_BASELINE},
- {"katakana-iroha", CSS_VAL_KATAKANA_IROHA},
- {"nw-resize", CSS_VAL_NW_RESIZE},
- {"ne-resize", CSS_VAL_NE_RESIZE},
- {"close-quote", CSS_VAL_CLOSE_QUOTE},
- {"transparent", CSS_VAL_TRANSPARENT},
- {"cross", CSS_VAL_CROSS},
- {"landscape", CSS_VAL_LANDSCAPE},
- {"hiragana-iroha", CSS_VAL_HIRAGANA_IROHA},
- {"ultra-expanded", CSS_VAL_ULTRA_EXPANDED},
- {"upper-alpha", CSS_VAL_UPPER_ALPHA},
- {"line-through", CSS_VAL_LINE_THROUGH},
- {"decimal-leading-zero", CSS_VAL_DECIMAL_LEADING_ZERO},
- {"no-close-quote", CSS_VAL_NO_CLOSE_QUOTE},
- {"uppercase", CSS_VAL_UPPERCASE},
- {"cursive", CSS_VAL_CURSIVE},
- {"condensed", CSS_VAL_CONDENSED},
- {"dashed", CSS_VAL_DASHED},
- {"small-caps", CSS_VAL_SMALL_CAPS},
- {"status-bar", CSS_VAL_STATUS_BAR},
- {"extra-expanded", CSS_VAL_EXTRA_EXPANDED},
- {"visible", CSS_VAL_VISIBLE},
- {"ultra-condensed", CSS_VAL_ULTRA_CONDENSED},
- {"s-resize", CSS_VAL_S_RESIZE},
- {"cjk-ideographic", CSS_VAL_CJK_IDEOGRAPHIC},
- {"bidi-override", CSS_VAL_BIDI_OVERRIDE},
- {"table-header-group", CSS_VAL_TABLE_HEADER_GROUP},
- {"sw-resize", CSS_VAL_SW_RESIZE},
- {"se-resize", CSS_VAL_SE_RESIZE},
- {"static-position", CSS_VAL_STATIC_POSITION},
- {"crosshair", CSS_VAL_CROSSHAIR},
- {"-konq-xxx-large", CSS_VAL__KONQ_XXX_LARGE},
- {"extra-condensed", CSS_VAL_EXTRA_CONDENSED},
- {"-konq-around-floats", CSS_VAL__KONQ_AROUND_FLOATS},
- {"semi-expanded", CSS_VAL_SEMI_EXPANDED},
- {"message-box", CSS_VAL_MESSAGE_BOX},
- {"sans-serif", CSS_VAL_SANS_SERIF},
- {"semi-condensed", CSS_VAL_SEMI_CONDENSED},
- {"-konq-baseline-middle", CSS_VAL__KONQ_BASELINE_MIDDLE}
- };
-
- static const short lookup[] =
- {
- 0, -1, -1, -1, -1, 1, -1, -1,
- -1, -1, 2, -1, -1, -1, -1, 3,
- -1, -1, -1, -1, -202, -176, -2, -1,
- 6, 7, -1, -1, -1, -1, 8, -1,
- -1, -1, -1, 9, -1, -1, -1, -1,
- 10, -1, -1, -1, -1, 11, -1, -1,
- -1, -1, 12, -1, -1, 13, -1, -1,
- -1, -1, -1, -1, 14, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 15, 16, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 17,
- -1, -1, 18, -1, 19, -1, -1, -1,
- -1, -1, -1, -1, -1, 20, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 21,
- -1, -1, -1, -1, 22, 23, -1, -1,
- 24, -1, 25, -1, -1, 26, -1, -1,
- -1, 27, -1, 28, -1, -1, -1, -1,
- 29, -1, -1, 30, -1, 31, 32, -1,
- -1, -1, 33, -1, -1, 34, 35, -1,
- 36, -1, -1, -1, -1, -1, -1, 37,
- -1, -1, -1, -1, 38, -1, -1, 39,
- -1, -1, 40, 41, 42, 43, -1, 44,
- 45, 46, -1, -1, -1, -1, 47, -1,
- 48, 49, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 50, -1, 51,
- -1, -1, -1, -1, 52, -1, -1, -1,
- -1, -1, 53, 54, -1, -1, -1, 55,
- 56, -1, -1, 57, -1, 58, -1, -1,
- 59, -1, 60, 61, -1, -1, -1, 62,
- 63, -1, 64, -1, -1, -1, -1, -1,
- 65, -1, -1, -1, 66, 67, -1, -1,
- -1, 68, -1, 69, -1, -1, -1, -1,
- -1, -1, -1, 70, -1, 71, 72, -1,
- -1, 73, 74, 75, -1, 76, 77, 78,
- 79, -1, -1, 80, -1, -1, -1, -1,
- 81, -1, -1, -1, 82, -1, -1, -1,
- -1, -1, -1, 83, -1, -1, 84, 85,
- 86, 87, -1, 88, -1, 89, -1, -1,
- 90, 91, 92, -1, 93, -1, -1, -1,
- 94, -1, 95, -1, 96, 97, -1, -1,
- -1, 98, 99, -1, -1, -1, 100, -1,
- 101, -1, -1, 102, 103, -1, -1, 104,
- -1, -1, -1, -1, -1, 105, 106, 107,
- -1, -1, 108, -1, -1, -1, -1, 109,
- 110, -1, 111, -1, -1, -1, -1, 112,
- 113, -1, -1, 114, -1, -1, 115, -1,
- -1, -1, -1, -1, 116, 117, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 118, 119, -1, -1, -1, 120, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 121, -1, -1, -1, -1, 122, -1,
- 123, 124, -1, -1, -1, -1, -1, -1,
- -1, 125, 126, -1, -1, -1, -1, -1,
- -1, 127, -1, -1, -1, 128, -1, -1,
- 129, -1, 130, -1, -1, 131, -1, -1,
- 132, -1, -1, -1, -1, -1, 133, 134,
- -1, -1, 135, 136, 137, -1, -1, -1,
- -1, -1, -1, 138, -1, -1, -1, -1,
- -1, -1, 139, -1, -1, 140, -1, 141,
- 142, -1, 143, -1, -1, -1, -1, -1,
- -1, 144, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 145, -1, -1, -1, -1,
- -1, -1, -1, -1, 146, -1, 147, -1,
- -1, -1, 148, -1, -1, -1, -1, 149,
- -1, 150, 151, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 152, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 153, 154, -1, -1, -1,
- -1, -1, 155, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 156, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 157, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 158, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 159, -1,
- -1, -1, -1, 160, -1, -1, -1, -1,
- -1, 161, -1, -1, -1, -1, 162, -1,
- 163, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 164, -1, -1,
- -1, -1, -1, 165, -1, -1, -1, -1,
- -1, -1, -1, -1, 166, -1, -1, -1,
- -1, -1, 167, -1, -1, -1, -1, -1,
- -1, 168, -1, -1, -1, -1, -1, -1,
- 169, -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, 170, -1, -1,
- -1, 171, -1, -1, 172, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- 173, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 174, -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, 175, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 176,
- -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, 177, -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, 178, -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, -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,
- 179
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- register int key = hash_val (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= 0)
- {
- register int index = lookup[key];
-
- if (index >= 0)
- {
- register const char *s = wordlist_value[index].name;
-
- if (*str == *s && !strcmp (str + 1, s + 1))
- return &wordlist_value[index];
- }
- else if (index < -TOTAL_KEYWORDS)
- {
- register int offset = - 1 - TOTAL_KEYWORDS - index;
- register const struct css_value *wordptr = &wordlist_value[TOTAL_KEYWORDS + lookup[offset]];
- register const struct css_value *wordendptr = wordptr + -lookup[offset + 1];
-
- while (wordptr < wordendptr)
- {
- register const char *s = wordptr->name;
-
- if (*str == *s && !strcmp (str + 1, s + 1))
- return wordptr;
- wordptr++;
- }
- }
- }
- }
- return 0;
-}
-static const char * valueList[] = {
-"",
-"inherit",
-"none",
-"hidden",
-"dotted",
-"dashed",
-"solid",
-"double",
-"groove",
-"ridge",
-"inset",
-"outset",
-"caption",
-"icon",
-"menu",
-"message-box",
-"small-caption",
-"status-bar",
-"italic",
-"oblique",
-"small-caps",
-"normal",
-"bold",
-"bolder",
-"lighter",
-"100",
-"200",
-"300",
-"400",
-"500",
-"600",
-"700",
-"800",
-"900",
-"xx-small",
-"x-small",
-"small",
-"medium",
-"large",
-"x-large",
-"xx-large",
-"-konq-xxx-large",
-"smaller",
-"larger",
-"wider",
-"narrower",
-"ultra-condensed",
-"extra-condensed",
-"condensed",
-"semi-condensed",
-"semi-expanded",
-"expanded",
-"extra-expanded",
-"ultra-expanded",
-"serif",
-"sans-serif",
-"cursive",
-"fantasy",
-"monospace",
-"transparent",
-"repeat",
-"repeat-x",
-"repeat-y",
-"no-repeat",
-"baseline",
-"middle",
-"sub",
-"super",
-"text-top",
-"text-bottom",
-"top",
-"bottom",
-"-konq-baseline-middle",
-"left",
-"right",
-"center",
-"justify",
-"-konq-center",
-"outside",
-"inside",
-"disc",
-"circle",
-"square",
-"decimal",
-"decimal-leading-zero",
-"lower-roman",
-"upper-roman",
-"lower-greek",
-"lower-alpha",
-"lower-latin",
-"upper-alpha",
-"upper-latin",
-"hebrew",
-"armenian",
-"georgian",
-"cjk-ideographic",
-"hiragana",
-"katakana",
-"hiragana-iroha",
-"katakana-iroha",
-"inline",
-"block",
-"list-item",
-"run-in",
-"compact",
-"marker",
-"-konq-ruler",
-"table",
-"inline-table",
-"table-row-group",
-"table-header-group",
-"table-footer-group",
-"table-row",
-"table-column-group",
-"table-column",
-"table-cell",
-"table-caption",
-"auto",
-"crosshair",
-"default",
-"pointer",
-"move",
-"e-resize",
-"ne-resize",
-"nw-resize",
-"n-resize",
-"se-resize",
-"sw-resize",
-"s-resize",
-"w-resize",
-"text",
-"wait",
-"help",
-"ltr",
-"rtl",
-"capitalize",
-"uppercase",
-"lowercase",
-"visible",
-"collapse",
-"above",
-"absolute",
-"always",
-"avoid",
-"below",
-"bidi-override",
-"blink",
-"both",
-"close-quote",
-"crop",
-"cross",
-"embed",
-"fixed",
-"hand",
-"hide",
-"higher",
-"invert",
-"landscape",
-"level",
-"line-through",
-"loud",
-"lower",
-"mix",
-"no-close-quote",
-"no-open-quote",
-"nowrap",
-"open-quote",
-"overline",
-"portrait",
-"pre",
-"relative",
-"scroll",
-"separate",
-"show",
-"static",
-"static-position",
-"thick",
-"thin",
-"underline",
-"-konq-normal",
-"-konq-around-floats",
- 0
-};
-DOMString getValueName(unsigned short id)
-{
- if(id >= CSS_VAL_TOTAL || id == 0)
- return DOMString();
- else
- return DOMString(valueList[id]);
-};
-
diff --git a/WebCore/khtml/css/cssvalues.h b/WebCore/khtml/css/cssvalues.h
deleted file mode 100644
index 41b7b28..0000000
--- a/WebCore/khtml/css/cssvalues.h
+++ /dev/null
@@ -1,195 +0,0 @@
-/* This file is automatically generated from cssvalues.in by
-#makevalues, do not edit */
-/* Copyright 1998 W. Bastian */
-
-#ifndef CSSVALUES_H
-#define CSSVALUES_H
-
-DOM::DOMString getValueName(unsigned short id);
-
-#define CSS_VAL_INVALID 0
-#define CSS_VAL_MIN 1
-#define CSS_VAL_INHERIT 1
-#define CSS_VAL_NONE 2
-#define CSS_VAL_HIDDEN 3
-#define CSS_VAL_DOTTED 4
-#define CSS_VAL_DASHED 5
-#define CSS_VAL_SOLID 6
-#define CSS_VAL_DOUBLE 7
-#define CSS_VAL_GROOVE 8
-#define CSS_VAL_RIDGE 9
-#define CSS_VAL_INSET 10
-#define CSS_VAL_OUTSET 11
-#define CSS_VAL_CAPTION 12
-#define CSS_VAL_ICON 13
-#define CSS_VAL_MENU 14
-#define CSS_VAL_MESSAGE_BOX 15
-#define CSS_VAL_SMALL_CAPTION 16
-#define CSS_VAL_STATUS_BAR 17
-#define CSS_VAL_ITALIC 18
-#define CSS_VAL_OBLIQUE 19
-#define CSS_VAL_SMALL_CAPS 20
-#define CSS_VAL_NORMAL 21
-#define CSS_VAL_BOLD 22
-#define CSS_VAL_BOLDER 23
-#define CSS_VAL_LIGHTER 24
-#define CSS_VAL_100 25
-#define CSS_VAL_200 26
-#define CSS_VAL_300 27
-#define CSS_VAL_400 28
-#define CSS_VAL_500 29
-#define CSS_VAL_600 30
-#define CSS_VAL_700 31
-#define CSS_VAL_800 32
-#define CSS_VAL_900 33
-#define CSS_VAL_XX_SMALL 34
-#define CSS_VAL_X_SMALL 35
-#define CSS_VAL_SMALL 36
-#define CSS_VAL_MEDIUM 37
-#define CSS_VAL_LARGE 38
-#define CSS_VAL_X_LARGE 39
-#define CSS_VAL_XX_LARGE 40
-#define CSS_VAL__KONQ_XXX_LARGE 41
-#define CSS_VAL_SMALLER 42
-#define CSS_VAL_LARGER 43
-#define CSS_VAL_WIDER 44
-#define CSS_VAL_NARROWER 45
-#define CSS_VAL_ULTRA_CONDENSED 46
-#define CSS_VAL_EXTRA_CONDENSED 47
-#define CSS_VAL_CONDENSED 48
-#define CSS_VAL_SEMI_CONDENSED 49
-#define CSS_VAL_SEMI_EXPANDED 50
-#define CSS_VAL_EXPANDED 51
-#define CSS_VAL_EXTRA_EXPANDED 52
-#define CSS_VAL_ULTRA_EXPANDED 53
-#define CSS_VAL_SERIF 54
-#define CSS_VAL_SANS_SERIF 55
-#define CSS_VAL_CURSIVE 56
-#define CSS_VAL_FANTASY 57
-#define CSS_VAL_MONOSPACE 58
-#define CSS_VAL_TRANSPARENT 59
-#define CSS_VAL_REPEAT 60
-#define CSS_VAL_REPEAT_X 61
-#define CSS_VAL_REPEAT_Y 62
-#define CSS_VAL_NO_REPEAT 63
-#define CSS_VAL_BASELINE 64
-#define CSS_VAL_MIDDLE 65
-#define CSS_VAL_SUB 66
-#define CSS_VAL_SUPER 67
-#define CSS_VAL_TEXT_TOP 68
-#define CSS_VAL_TEXT_BOTTOM 69
-#define CSS_VAL_TOP 70
-#define CSS_VAL_BOTTOM 71
-#define CSS_VAL__KONQ_BASELINE_MIDDLE 72
-#define CSS_VAL_LEFT 73
-#define CSS_VAL_RIGHT 74
-#define CSS_VAL_CENTER 75
-#define CSS_VAL_JUSTIFY 76
-#define CSS_VAL__KONQ_CENTER 77
-#define CSS_VAL_OUTSIDE 78
-#define CSS_VAL_INSIDE 79
-#define CSS_VAL_DISC 80
-#define CSS_VAL_CIRCLE 81
-#define CSS_VAL_SQUARE 82
-#define CSS_VAL_DECIMAL 83
-#define CSS_VAL_DECIMAL_LEADING_ZERO 84
-#define CSS_VAL_LOWER_ROMAN 85
-#define CSS_VAL_UPPER_ROMAN 86
-#define CSS_VAL_LOWER_GREEK 87
-#define CSS_VAL_LOWER_ALPHA 88
-#define CSS_VAL_LOWER_LATIN 89
-#define CSS_VAL_UPPER_ALPHA 90
-#define CSS_VAL_UPPER_LATIN 91
-#define CSS_VAL_HEBREW 92
-#define CSS_VAL_ARMENIAN 93
-#define CSS_VAL_GEORGIAN 94
-#define CSS_VAL_CJK_IDEOGRAPHIC 95
-#define CSS_VAL_HIRAGANA 96
-#define CSS_VAL_KATAKANA 97
-#define CSS_VAL_HIRAGANA_IROHA 98
-#define CSS_VAL_KATAKANA_IROHA 99
-#define CSS_VAL_INLINE 100
-#define CSS_VAL_BLOCK 101
-#define CSS_VAL_LIST_ITEM 102
-#define CSS_VAL_RUN_IN 103
-#define CSS_VAL_COMPACT 104
-#define CSS_VAL_MARKER 105
-#define CSS_VAL__KONQ_RULER 106
-#define CSS_VAL_TABLE 107
-#define CSS_VAL_INLINE_TABLE 108
-#define CSS_VAL_TABLE_ROW_GROUP 109
-#define CSS_VAL_TABLE_HEADER_GROUP 110
-#define CSS_VAL_TABLE_FOOTER_GROUP 111
-#define CSS_VAL_TABLE_ROW 112
-#define CSS_VAL_TABLE_COLUMN_GROUP 113
-#define CSS_VAL_TABLE_COLUMN 114
-#define CSS_VAL_TABLE_CELL 115
-#define CSS_VAL_TABLE_CAPTION 116
-#define CSS_VAL_AUTO 117
-#define CSS_VAL_CROSSHAIR 118
-#define CSS_VAL_DEFAULT 119
-#define CSS_VAL_POINTER 120
-#define CSS_VAL_MOVE 121
-#define CSS_VAL_E_RESIZE 122
-#define CSS_VAL_NE_RESIZE 123
-#define CSS_VAL_NW_RESIZE 124
-#define CSS_VAL_N_RESIZE 125
-#define CSS_VAL_SE_RESIZE 126
-#define CSS_VAL_SW_RESIZE 127
-#define CSS_VAL_S_RESIZE 128
-#define CSS_VAL_W_RESIZE 129
-#define CSS_VAL_TEXT 130
-#define CSS_VAL_WAIT 131
-#define CSS_VAL_HELP 132
-#define CSS_VAL_LTR 133
-#define CSS_VAL_RTL 134
-#define CSS_VAL_CAPITALIZE 135
-#define CSS_VAL_UPPERCASE 136
-#define CSS_VAL_LOWERCASE 137
-#define CSS_VAL_VISIBLE 138
-#define CSS_VAL_COLLAPSE 139
-#define CSS_VAL_ABOVE 140
-#define CSS_VAL_ABSOLUTE 141
-#define CSS_VAL_ALWAYS 142
-#define CSS_VAL_AVOID 143
-#define CSS_VAL_BELOW 144
-#define CSS_VAL_BIDI_OVERRIDE 145
-#define CSS_VAL_BLINK 146
-#define CSS_VAL_BOTH 147
-#define CSS_VAL_CLOSE_QUOTE 148
-#define CSS_VAL_CROP 149
-#define CSS_VAL_CROSS 150
-#define CSS_VAL_EMBED 151
-#define CSS_VAL_FIXED 152
-#define CSS_VAL_HAND 153
-#define CSS_VAL_HIDE 154
-#define CSS_VAL_HIGHER 155
-#define CSS_VAL_INVERT 156
-#define CSS_VAL_LANDSCAPE 157
-#define CSS_VAL_LEVEL 158
-#define CSS_VAL_LINE_THROUGH 159
-#define CSS_VAL_LOUD 160
-#define CSS_VAL_LOWER 161
-#define CSS_VAL_MIX 162
-#define CSS_VAL_NO_CLOSE_QUOTE 163
-#define CSS_VAL_NO_OPEN_QUOTE 164
-#define CSS_VAL_NOWRAP 165
-#define CSS_VAL_OPEN_QUOTE 166
-#define CSS_VAL_OVERLINE 167
-#define CSS_VAL_PORTRAIT 168
-#define CSS_VAL_PRE 169
-#define CSS_VAL_RELATIVE 170
-#define CSS_VAL_SCROLL 171
-#define CSS_VAL_SEPARATE 172
-#define CSS_VAL_SHOW 173
-#define CSS_VAL_STATIC 174
-#define CSS_VAL_STATIC_POSITION 175
-#define CSS_VAL_THICK 176
-#define CSS_VAL_THIN 177
-#define CSS_VAL_UNDERLINE 178
-#define CSS_VAL__KONQ_NORMAL 179
-#define CSS_VAL__KONQ_AROUND_FLOATS 180
-
-#define CSS_VAL_TOTAL 181
-#endif
-
diff --git a/WebCore/src/kdelibs/khtml/css/cssproperties.c b/WebCore/src/kdelibs/khtml/css/cssproperties.c
deleted file mode 100644
index 570aaef..0000000
--- a/WebCore/src/kdelibs/khtml/css/cssproperties.c
+++ /dev/null
@@ -1,465 +0,0 @@
-/* ANSI-C code produced by gperf version 2.7.2 */
-/* Command-line: gperf -a -L ANSI-C -E -C -c -o -t -k '*' -NfindProp -Hhash_prop -Wwordlist_prop -D -s 2 cssproperties.gperf */
-/* This file is automatically generated from cssproperties.in by makeprop, do not edit */
-/* Copyright 1999 W. Bastian */
-#include "cssproperties.h"
-struct props {
- const char *name;
- int id;
-};
-/* maximum key range = 742, 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[] =
- {
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 0, 747, 747, 747, 747,
- 747, 0, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 10, 40, 0,
- 0, 0, 30, 0, 15, 0, 5, 150, 0, 55,
- 45, 0, 80, 5, 0, 145, 0, 5, 10, 135,
- 205, 75, 0, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747, 747, 747, 747, 747,
- 747, 747, 747, 747, 747, 747
- };
- register int hval = len;
-
- switch (hval)
- {
- default:
- case 26:
- hval += asso_values[(unsigned char)str[25]];
- case 25:
- hval += asso_values[(unsigned char)str[24]];
- case 24:
- hval += asso_values[(unsigned char)str[23]];
- case 23:
- hval += asso_values[(unsigned char)str[22]];
- case 22:
- hval += asso_values[(unsigned char)str[21]];
- case 21:
- hval += asso_values[(unsigned char)str[20]];
- case 20:
- hval += asso_values[(unsigned char)str[19]];
- case 19:
- hval += asso_values[(unsigned char)str[18]];
- case 18:
- hval += asso_values[(unsigned char)str[17]];
- case 17:
- hval += asso_values[(unsigned char)str[16]];
- case 16:
- hval += asso_values[(unsigned char)str[15]];
- case 15:
- hval += asso_values[(unsigned char)str[14]];
- case 14:
- hval += asso_values[(unsigned char)str[13]];
- case 13:
- hval += asso_values[(unsigned char)str[12]];
- case 12:
- hval += asso_values[(unsigned char)str[11]];
- case 11:
- hval += asso_values[(unsigned char)str[10]];
- case 10:
- hval += asso_values[(unsigned char)str[9]];
- case 9:
- hval += asso_values[(unsigned char)str[8]];
- case 8:
- hval += asso_values[(unsigned char)str[7]];
- case 7:
- hval += asso_values[(unsigned char)str[6]];
- case 6:
- hval += asso_values[(unsigned char)str[5]];
- case 5:
- hval += asso_values[(unsigned char)str[4]];
- case 4:
- hval += asso_values[(unsigned char)str[3]];
- case 3:
- hval += asso_values[(unsigned char)str[2]];
- case 2:
- hval += asso_values[(unsigned char)str[1]];
- 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 = 112,
- MIN_WORD_LENGTH = 3,
- MAX_WORD_LENGTH = 26,
- MIN_HASH_VALUE = 5,
- MAX_HASH_VALUE = 746
- };
-
- static const struct props wordlist_prop[] =
- {
- {"color", CSS_PROP_COLOR},
- {"clear", CSS_PROP_CLEAR},
- {"right", CSS_PROP_RIGHT},
- {"left", CSS_PROP_LEFT},
- {"height", CSS_PROP_HEIGHT},
- {"float", CSS_PROP_FLOAT},
- {"border", CSS_PROP_BORDER},
- {"border-color", CSS_PROP_BORDER_COLOR},
- {"direction", CSS_PROP_DIRECTION},
- {"outline", CSS_PROP_OUTLINE},
- {"outline-color", CSS_PROP_OUTLINE_COLOR},
- {"border-right", CSS_PROP_BORDER_RIGHT},
- {"border-right-color", CSS_PROP_BORDER_RIGHT_COLOR},
- {"font", CSS_PROP_FONT},
- {"border-left", CSS_PROP_BORDER_LEFT},
- {"top", CSS_PROP_TOP},
- {"clip", CSS_PROP_CLIP},
- {"line-height", CSS_PROP_LINE_HEIGHT},
- {"border-left-color", CSS_PROP_BORDER_LEFT_COLOR},
- {"vertical-align", CSS_PROP_VERTICAL_ALIGN},
- {"page", CSS_PROP_PAGE},
- {"content", CSS_PROP_CONTENT},
- {"bottom", CSS_PROP_BOTTOM},
- {"unicode-bidi", CSS_PROP_UNICODE_BIDI},
- {"margin", CSS_PROP_MARGIN},
- {"border-top", CSS_PROP_BORDER_TOP},
- {"border-top-color", CSS_PROP_BORDER_TOP_COLOR},
- {"margin-right", CSS_PROP_MARGIN_RIGHT},
- {"min-height", CSS_PROP_MIN_HEIGHT},
- {"padding", CSS_PROP_PADDING},
- {"border-bottom", CSS_PROP_BORDER_BOTTOM},
- {"size", CSS_PROP_SIZE},
- {"margin-left", CSS_PROP_MARGIN_LEFT},
- {"table-layout", CSS_PROP_TABLE_LAYOUT},
- {"border-bottom-color", CSS_PROP_BORDER_BOTTOM_COLOR},
- {"width", CSS_PROP_WIDTH},
- {"cursor", CSS_PROP_CURSOR},
- {"quotes", CSS_PROP_QUOTES},
- {"font-variant", CSS_PROP_FONT_VARIANT},
- {"padding-right", CSS_PROP_PADDING_RIGHT},
- {"padding-left", CSS_PROP_PADDING_LEFT},
- {"overflow", CSS_PROP_OVERFLOW},
- {"margin-top", CSS_PROP_MARGIN_TOP},
- {"border-width", CSS_PROP_BORDER_WIDTH},
- {"counter-reset", CSS_PROP_COUNTER_RESET},
- {"counter-increment", CSS_PROP_COUNTER_INCREMENT},
- {"outline-width", CSS_PROP_OUTLINE_WIDTH},
- {"margin-bottom", CSS_PROP_MARGIN_BOTTOM},
- {"border-right-width", CSS_PROP_BORDER_RIGHT_WIDTH},
- {"padding-top", CSS_PROP_PADDING_TOP},
- {"font-size", CSS_PROP_FONT_SIZE},
- {"scrollbar-3dlight-color", CSS_PROP_SCROLLBAR_3DLIGHT_COLOR},
- {"font-weight", CSS_PROP_FONT_WEIGHT},
- {"border-left-width", CSS_PROP_BORDER_LEFT_WIDTH},
- {"padding-bottom", CSS_PROP_PADDING_BOTTOM},
- {"font-stretch", CSS_PROP_FONT_STRETCH},
- {"scrollbar-face-color", CSS_PROP_SCROLLBAR_FACE_COLOR},
- {"font-family", CSS_PROP_FONT_FAMILY},
- {"z-index", CSS_PROP_Z_INDEX},
- {"min-width", CSS_PROP_MIN_WIDTH},
- {"background", CSS_PROP_BACKGROUND},
- {"scrollbar-highlight-color", CSS_PROP_SCROLLBAR_HIGHLIGHT_COLOR},
- {"background-color", CSS_PROP_BACKGROUND_COLOR},
- {"text-align", CSS_PROP_TEXT_ALIGN},
- {"border-style", CSS_PROP_BORDER_STYLE},
- {"text-decoration", CSS_PROP_TEXT_DECORATION},
- {"position", CSS_PROP_POSITION},
- {"visibility", CSS_PROP_VISIBILITY},
- {"text-decoration-color", CSS_PROP_TEXT_DECORATION_COLOR},
- {"outline-style", CSS_PROP_OUTLINE_STYLE},
- {"border-top-width", CSS_PROP_BORDER_TOP_WIDTH},
- {"border-collapse", CSS_PROP_BORDER_COLLAPSE},
- {"caption-side", CSS_PROP_CAPTION_SIDE},
- {"border-right-style", CSS_PROP_BORDER_RIGHT_STYLE},
- {"letter-spacing", CSS_PROP_LETTER_SPACING},
- {"orphans", CSS_PROP_ORPHANS},
- {"border-bottom-width", CSS_PROP_BORDER_BOTTOM_WIDTH},
- {"font-style", CSS_PROP_FONT_STYLE},
- {"text-indent", CSS_PROP_TEXT_INDENT},
- {"border-left-style", CSS_PROP_BORDER_LEFT_STYLE},
- {"max-height", CSS_PROP_MAX_HEIGHT},
- {"display", CSS_PROP_DISPLAY},
- {"background-image", CSS_PROP_BACKGROUND_IMAGE},
- {"border-spacing", CSS_PROP_BORDER_SPACING},
- {"page-break-after", CSS_PROP_PAGE_BREAK_AFTER},
- {"border-top-style", CSS_PROP_BORDER_TOP_STYLE},
- {"background-repeat", CSS_PROP_BACKGROUND_REPEAT},
- {"scrollbar-arrow-color", CSS_PROP_SCROLLBAR_ARROW_COLOR},
- {"empty-cells", CSS_PROP_EMPTY_CELLS},
- {"border-bottom-style", CSS_PROP_BORDER_BOTTOM_STYLE},
- {"list-style", CSS_PROP_LIST_STYLE},
- {"scrollbar-track-color", CSS_PROP_SCROLLBAR_TRACK_COLOR},
- {"page-break-before", CSS_PROP_PAGE_BREAK_BEFORE},
- {"white-space", CSS_PROP_WHITE_SPACE},
- {"font-size-adjust", CSS_PROP_FONT_SIZE_ADJUST},
- {"background-attachment", CSS_PROP_BACKGROUND_ATTACHMENT},
- {"widows", CSS_PROP_WIDOWS},
- {"word-spacing", CSS_PROP_WORD_SPACING},
- {"max-width", CSS_PROP_MAX_WIDTH},
- {"marker-offset", CSS_PROP_MARKER_OFFSET},
- {"-konq-flow-mode", CSS_PROP__KONQ_FLOW_MODE},
- {"list-style-image", CSS_PROP_LIST_STYLE_IMAGE},
- {"page-break-inside", CSS_PROP_PAGE_BREAK_INSIDE},
- {"text-transform", CSS_PROP_TEXT_TRANSFORM},
- {"text-shadow", CSS_PROP_TEXT_SHADOW},
- {"scrollbar-shadow-color", CSS_PROP_SCROLLBAR_SHADOW_COLOR},
- {"list-style-type", CSS_PROP_LIST_STYLE_TYPE},
- {"background-position", CSS_PROP_BACKGROUND_POSITION},
- {"background-position-y", CSS_PROP_BACKGROUND_POSITION_Y},
- {"list-style-position", CSS_PROP_LIST_STYLE_POSITION},
- {"scrollbar-darkshadow-color", CSS_PROP_SCROLLBAR_DARKSHADOW_COLOR},
- {"background-position-x", CSS_PROP_BACKGROUND_POSITION_X}
- };
-
- static const signed char lookup[] =
- {
- -1, -1, -1, -1, -1, 0, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 1, -1, -1, -1, -1,
- 2, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 3, -1, 4, -1, -1, -1,
- -1, -1, -1, -1, -1, 5, 6, -1, -1, -1,
- -1, -1, 7, -1, 8, -1, -1, 9, -1, -1,
- -1, -1, -1, 10, -1, -1, -1, 11, -1, -1,
- -1, -1, -1, 12, -1, -1, -1, -1, -1, 13,
- -1, 14, -1, 15, 16, -1, 17, 18, -1, 19,
- -1, -1, -1, -1, 20, -1, -1, 21, -1, -1,
- -1, 22, 23, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 24, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 25, -1, -1, -1, -1, -1, 26, 27, -1, -1,
- 28, -1, 29, -1, -1, -1, -1, -1, 30, 31,
- -1, 32, 33, -1, 34, 35, 36, -1, -1, -1,
- -1, 37, 38, 39, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 40, -1, -1,
- -1, -1, -1, 41, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 42, -1, 43, -1, -1, -1, -1, -1, 44, -1,
- -1, -1, 45, 46, -1, -1, -1, -1, 47, -1,
- -1, -1, -1, 48, -1, -1, 49, -1, -1, 50,
- -1, -1, -1, 51, -1, -1, 52, 53, -1, -1,
- -1, -1, -1, -1, 54, -1, -1, 55, -1, -1,
- -1, -1, -1, -1, -1, 56, 57, 58, -1, 59,
- 60, -1, -1, -1, -1, 61, 62, -1, -1, -1,
- 63, -1, 64, -1, -1, 65, -1, -1, 66, -1,
- 67, 68, -1, 69, -1, -1, 70, -1, -1, -1,
- 71, -1, 72, 73, 74, -1, -1, -1, -1, -1,
- -1, -1, 75, -1, 76, 77, 78, 79, -1, -1,
- 80, -1, -1, -1, -1, -1, -1, 81, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 82, -1, -1, 83, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 84, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 85, 86, -1, -1,
- -1, 87, -1, -1, -1, -1, 88, -1, -1, -1,
- -1, -1, -1, -1, 89, 90, 91, 92, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 93, -1, -1, -1,
- -1, 94, -1, -1, -1, -1, 95, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 96, -1, -1, -1, -1, -1, 97, -1, 98,
- -1, -1, -1, 99, -1, 100, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 101, -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, 102, -1, -1,
- -1, -1, -1, -1, 103, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 104, 105, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 106, -1, -1, -1, 107,
- -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, 108, -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, 109, -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, 110, -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, 111
- };
-
- 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;
-}
-static const char * propertyList[] = {
-"",
-"background-color",
-"background-image",
-"background-repeat",
-"background-attachment",
-"background-position",
-"background-position-x",
-"background-position-y",
-"border-collapse",
-"border-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-size-adjust",
-"font-stretch",
-"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",
-"marker-offset",
-"max-height",
-"max-width",
-"min-height",
-"min-width",
-"orphans",
-"outline-color",
-"outline-style",
-"outline-width",
-"overflow",
-"padding-top",
-"padding-right",
-"padding-bottom",
-"padding-left",
-"page",
-"page-break-after",
-"page-break-before",
-"page-break-inside",
-"position",
-"quotes",
-"right",
-"size",
-"table-layout",
-"text-align",
-"text-decoration",
-"text-decoration-color",
-"text-indent",
-"text-shadow",
-"text-transform",
-"top",
-"unicode-bidi",
-"vertical-align",
-"visibility",
-"white-space",
-"widows",
-"width",
-"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",
-"-konq-flow-mode",
- 0
-};
-DOMString getPropertyName(unsigned short id)
-{
- if(id >= CSS_PROP_TOTAL || id == 0)
- return 0;
- else
- return DOMString(propertyList[id]);
-};
-
diff --git a/WebCore/src/kdelibs/khtml/css/cssproperties.h b/WebCore/src/kdelibs/khtml/css/cssproperties.h
deleted file mode 100644
index 588973c..0000000
--- a/WebCore/src/kdelibs/khtml/css/cssproperties.h
+++ /dev/null
@@ -1,126 +0,0 @@
-/* This file is automatically generated from cssproperties.in by makeprop, do not edit */
-/* Copyright 1998 W. Bastian */
-
-#ifndef CSSPROPERTIES_H
-#define CSSPROPERTIES_H
-
-
-#define CSS_PROP_INVALID 0
-#define CSS_PROP_MIN 1
-#define CSS_PROP_BACKGROUND_COLOR 1
-#define CSS_PROP_BACKGROUND_IMAGE 2
-#define CSS_PROP_BACKGROUND_REPEAT 3
-#define CSS_PROP_BACKGROUND_ATTACHMENT 4
-#define CSS_PROP_BACKGROUND_POSITION 5
-#define CSS_PROP_BACKGROUND_POSITION_X 6
-#define CSS_PROP_BACKGROUND_POSITION_Y 7
-#define CSS_PROP_BORDER_COLLAPSE 8
-#define CSS_PROP_BORDER_SPACING 9
-#define CSS_PROP_BORDER_TOP_COLOR 10
-#define CSS_PROP_BORDER_RIGHT_COLOR 11
-#define CSS_PROP_BORDER_BOTTOM_COLOR 12
-#define CSS_PROP_BORDER_LEFT_COLOR 13
-#define CSS_PROP_BORDER_TOP_STYLE 14
-#define CSS_PROP_BORDER_RIGHT_STYLE 15
-#define CSS_PROP_BORDER_BOTTOM_STYLE 16
-#define CSS_PROP_BORDER_LEFT_STYLE 17
-#define CSS_PROP_BORDER_TOP_WIDTH 18
-#define CSS_PROP_BORDER_RIGHT_WIDTH 19
-#define CSS_PROP_BORDER_BOTTOM_WIDTH 20
-#define CSS_PROP_BORDER_LEFT_WIDTH 21
-#define CSS_PROP_BOTTOM 22
-#define CSS_PROP_CAPTION_SIDE 23
-#define CSS_PROP_CLEAR 24
-#define CSS_PROP_CLIP 25
-#define CSS_PROP_COLOR 26
-#define CSS_PROP_CONTENT 27
-#define CSS_PROP_COUNTER_INCREMENT 28
-#define CSS_PROP_COUNTER_RESET 29
-#define CSS_PROP_CURSOR 30
-#define CSS_PROP_DIRECTION 31
-#define CSS_PROP_DISPLAY 32
-#define CSS_PROP_EMPTY_CELLS 33
-#define CSS_PROP_FLOAT 34
-#define CSS_PROP_FONT_FAMILY 35
-#define CSS_PROP_FONT_SIZE 36
-#define CSS_PROP_FONT_SIZE_ADJUST 37
-#define CSS_PROP_FONT_STRETCH 38
-#define CSS_PROP_FONT_STYLE 39
-#define CSS_PROP_FONT_VARIANT 40
-#define CSS_PROP_FONT_WEIGHT 41
-#define CSS_PROP_HEIGHT 42
-#define CSS_PROP_LEFT 43
-#define CSS_PROP_LETTER_SPACING 44
-#define CSS_PROP_LINE_HEIGHT 45
-#define CSS_PROP_LIST_STYLE_IMAGE 46
-#define CSS_PROP_LIST_STYLE_POSITION 47
-#define CSS_PROP_LIST_STYLE_TYPE 48
-#define CSS_PROP_MARGIN_TOP 49
-#define CSS_PROP_MARGIN_RIGHT 50
-#define CSS_PROP_MARGIN_BOTTOM 51
-#define CSS_PROP_MARGIN_LEFT 52
-#define CSS_PROP_MARKER_OFFSET 53
-#define CSS_PROP_MAX_HEIGHT 54
-#define CSS_PROP_MAX_WIDTH 55
-#define CSS_PROP_MIN_HEIGHT 56
-#define CSS_PROP_MIN_WIDTH 57
-#define CSS_PROP_ORPHANS 58
-#define CSS_PROP_OUTLINE_COLOR 59
-#define CSS_PROP_OUTLINE_STYLE 60
-#define CSS_PROP_OUTLINE_WIDTH 61
-#define CSS_PROP_OVERFLOW 62
-#define CSS_PROP_PADDING_TOP 63
-#define CSS_PROP_PADDING_RIGHT 64
-#define CSS_PROP_PADDING_BOTTOM 65
-#define CSS_PROP_PADDING_LEFT 66
-#define CSS_PROP_PAGE 67
-#define CSS_PROP_PAGE_BREAK_AFTER 68
-#define CSS_PROP_PAGE_BREAK_BEFORE 69
-#define CSS_PROP_PAGE_BREAK_INSIDE 70
-#define CSS_PROP_POSITION 71
-#define CSS_PROP_QUOTES 72
-#define CSS_PROP_RIGHT 73
-#define CSS_PROP_SIZE 74
-#define CSS_PROP_TABLE_LAYOUT 75
-#define CSS_PROP_TEXT_ALIGN 76
-#define CSS_PROP_TEXT_DECORATION 77
-#define CSS_PROP_TEXT_DECORATION_COLOR 78
-#define CSS_PROP_TEXT_INDENT 79
-#define CSS_PROP_TEXT_SHADOW 80
-#define CSS_PROP_TEXT_TRANSFORM 81
-#define CSS_PROP_TOP 82
-#define CSS_PROP_UNICODE_BIDI 83
-#define CSS_PROP_VERTICAL_ALIGN 84
-#define CSS_PROP_VISIBILITY 85
-#define CSS_PROP_WHITE_SPACE 86
-#define CSS_PROP_WIDOWS 87
-#define CSS_PROP_WIDTH 88
-#define CSS_PROP_WORD_SPACING 89
-#define CSS_PROP_Z_INDEX 90
-#define CSS_PROP_BACKGROUND 91
-#define CSS_PROP_BORDER 92
-#define CSS_PROP_BORDER_COLOR 93
-#define CSS_PROP_BORDER_STYLE 94
-#define CSS_PROP_BORDER_TOP 95
-#define CSS_PROP_BORDER_RIGHT 96
-#define CSS_PROP_BORDER_BOTTOM 97
-#define CSS_PROP_BORDER_LEFT 98
-#define CSS_PROP_BORDER_WIDTH 99
-#define CSS_PROP_FONT 100
-#define CSS_PROP_LIST_STYLE 101
-#define CSS_PROP_MARGIN 102
-#define CSS_PROP_OUTLINE 103
-#define CSS_PROP_PADDING 104
-#define CSS_PROP_SCROLLBAR_FACE_COLOR 105
-#define CSS_PROP_SCROLLBAR_SHADOW_COLOR 106
-#define CSS_PROP_SCROLLBAR_HIGHLIGHT_COLOR 107
-#define CSS_PROP_SCROLLBAR_3DLIGHT_COLOR 108
-#define CSS_PROP_SCROLLBAR_DARKSHADOW_COLOR 109
-#define CSS_PROP_SCROLLBAR_TRACK_COLOR 110
-#define CSS_PROP_SCROLLBAR_ARROW_COLOR 111
-#define CSS_PROP__KONQ_FLOW_MODE 112
-
-#define CSS_PROP_MAX CSS_PROP_Z_INDEX
-#define CSS_PROP_TOTAL 113
-#endif
-
diff --git a/WebCore/src/kdelibs/khtml/css/cssvalues.c b/WebCore/src/kdelibs/khtml/css/cssvalues.c
deleted file mode 100644
index 84048e2..0000000
--- a/WebCore/src/kdelibs/khtml/css/cssvalues.c
+++ /dev/null
@@ -1,664 +0,0 @@
-/* ANSI-C code produced by gperf version 2.7.2 */
-/* Command-line: gperf -L ANSI-C -E -C -n -o -t -k '*' -NfindValue -Hhash_val -Wwordlist_value -D cssvalues.gperf */
-/* This file is automatically generated from cssvalues.in by makevalues, do not edit */
-/* Copyright 1999 W. Bastian */
-#include "cssvalues.h"
-struct css_value {
- const char *name;
- int id;
-};
-/* maximum key range = 1057, duplicates = 1 */
-
-#ifdef __GNUC__
-__inline
-#else
-#ifdef __cplusplus
-inline
-#endif
-#endif
-static unsigned int
-hash_val (register const char *str, register unsigned int len)
-{
- static const unsigned short asso_values[] =
- {
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 0, 1057, 1057, 0, 25,
- 30, 35, 40, 50, 5, 10, 15, 0, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 0, 95, 10,
- 85, 35, 10, 64, 158, 25, 10, 114, 0, 29,
- 49, 0, 95, 155, 20, 240, 0, 24, 210, 28,
- 93, 5, 50, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057, 1057,
- 1057, 1057, 1057, 1057, 1057, 1057
- };
- register int hval = 0;
-
- switch (len)
- {
- default:
- case 21:
- hval += asso_values[(unsigned char)str[20]];
- case 20:
- hval += asso_values[(unsigned char)str[19]];
- case 19:
- hval += asso_values[(unsigned char)str[18]];
- case 18:
- hval += asso_values[(unsigned char)str[17]];
- case 17:
- hval += asso_values[(unsigned char)str[16]];
- case 16:
- hval += asso_values[(unsigned char)str[15]];
- case 15:
- hval += asso_values[(unsigned char)str[14]];
- case 14:
- hval += asso_values[(unsigned char)str[13]];
- case 13:
- hval += asso_values[(unsigned char)str[12]];
- case 12:
- hval += asso_values[(unsigned char)str[11]];
- case 11:
- hval += asso_values[(unsigned char)str[10]];
- case 10:
- hval += asso_values[(unsigned char)str[9]];
- case 9:
- hval += asso_values[(unsigned char)str[8]];
- case 8:
- hval += asso_values[(unsigned char)str[7]];
- case 7:
- hval += asso_values[(unsigned char)str[6]];
- case 6:
- hval += asso_values[(unsigned char)str[5]];
- case 5:
- hval += asso_values[(unsigned char)str[4]];
- case 4:
- hval += asso_values[(unsigned char)str[3]];
- case 3:
- hval += asso_values[(unsigned char)str[2]];
- case 2:
- hval += asso_values[(unsigned char)str[1]];
- case 1:
- hval += asso_values[(unsigned char)str[0]];
- break;
- }
- return hval;
-}
-
-#ifdef __GNUC__
-__inline
-#endif
-const struct css_value *
-findValue (register const char *str, register unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 180,
- MIN_WORD_LENGTH = 3,
- MAX_WORD_LENGTH = 21,
- MIN_HASH_VALUE = 0,
- MAX_HASH_VALUE = 1056
- };
-
- static const struct css_value wordlist_value[] =
- {
- {"900", CSS_VAL_900},
- {"600", CSS_VAL_600},
- {"700", CSS_VAL_700},
- {"800", CSS_VAL_800},
- {"ltr", CSS_VAL_LTR},
- {"rtl", CSS_VAL_RTL},
- {"auto", CSS_VAL_AUTO},
- {"100", CSS_VAL_100},
- {"200", CSS_VAL_200},
- {"300", CSS_VAL_300},
- {"400", CSS_VAL_400},
- {"left", CSS_VAL_LEFT},
- {"500", CSS_VAL_500},
- {"wait", CSS_VAL_WAIT},
- {"italic", CSS_VAL_ITALIC},
- {"lower", CSS_VAL_LOWER},
- {"icon", CSS_VAL_ICON},
- {"top", CSS_VAL_TOP},
- {"normal", CSS_VAL_NORMAL},
- {"circle", CSS_VAL_CIRCLE},
- {"loud", CSS_VAL_LOUD},
- {"large", CSS_VAL_LARGE},
- {"bottom", CSS_VAL_BOTTOM},
- {"crop", CSS_VAL_CROP},
- {"text", CSS_VAL_TEXT},
- {"table", CSS_VAL_TABLE},
- {"none", CSS_VAL_NONE},
- {"menu", CSS_VAL_MENU},
- {"larger", CSS_VAL_LARGER},
- {"compact", CSS_VAL_COMPACT},
- {"mix", CSS_VAL_MIX},
- {"center", CSS_VAL_CENTER},
- {"pre", CSS_VAL_PRE},
- {"default", CSS_VAL_DEFAULT},
- {"lower-latin", CSS_VAL_LOWER_LATIN},
- {"below", CSS_VAL_BELOW},
- {"portrait", CSS_VAL_PORTRAIT},
- {"run-in", CSS_VAL_RUN_IN},
- {"narrower", CSS_VAL_NARROWER},
- {"table-cell", CSS_VAL_TABLE_CELL},
- {"table-row", CSS_VAL_TABLE_ROW},
- {"caption", CSS_VAL_CAPTION},
- {"bold", CSS_VAL_BOLD},
- {"lower-roman", CSS_VAL_LOWER_ROMAN},
- {"inline", CSS_VAL_INLINE},
- {"decimal", CSS_VAL_DECIMAL},
- {"repeat", CSS_VAL_REPEAT},
- {"repeat-y", CSS_VAL_REPEAT_Y},
- {"nowrap", CSS_VAL_NOWRAP},
- {"wider", CSS_VAL_WIDER},
- {"dotted", CSS_VAL_DOTTED},
- {"armenian", CSS_VAL_ARMENIAN},
- {"x-large", CSS_VAL_X_LARGE},
- {"marker", CSS_VAL_MARKER},
- {"block", CSS_VAL_BLOCK},
- {"text-top", CSS_VAL_TEXT_TOP},
- {"pointer", CSS_VAL_POINTER},
- {"medium", CSS_VAL_MEDIUM},
- {"ridge", CSS_VAL_RIDGE},
- {"thin", CSS_VAL_THIN},
- {"no-repeat", CSS_VAL_NO_REPEAT},
- {"bolder", CSS_VAL_BOLDER},
- {"double", CSS_VAL_DOUBLE},
- {"capitalize", CSS_VAL_CAPITALIZE},
- {"table-column", CSS_VAL_TABLE_COLUMN},
- {"fixed", CSS_VAL_FIXED},
- {"text-bottom", CSS_VAL_TEXT_BOTTOM},
- {"both", CSS_VAL_BOTH},
- {"georgian", CSS_VAL_GEORGIAN},
- {"middle", CSS_VAL_MIDDLE},
- {"right", CSS_VAL_RIGHT},
- {"small", CSS_VAL_SMALL},
- {"scroll", CSS_VAL_SCROLL},
- {"always", CSS_VAL_ALWAYS},
- {"move", CSS_VAL_MOVE},
- {"static", CSS_VAL_STATIC},
- {"katakana", CSS_VAL_KATAKANA},
- {"repeat-x", CSS_VAL_REPEAT_X},
- {"embed", CSS_VAL_EMBED},
- {"level", CSS_VAL_LEVEL},
- {"blink", CSS_VAL_BLINK},
- {"help", CSS_VAL_HELP},
- {"hand", CSS_VAL_HAND},
- {"outset", CSS_VAL_OUTSET},
- {"lighter", CSS_VAL_LIGHTER},
- {"hide", CSS_VAL_HIDE},
- {"fantasy", CSS_VAL_FANTASY},
- {"xx-large", CSS_VAL_XX_LARGE},
- {"thick", CSS_VAL_THICK},
- {"table-caption", CSS_VAL_TABLE_CAPTION},
- {"inherit", CSS_VAL_INHERIT},
- {"inline-table", CSS_VAL_INLINE_TABLE},
- {"justify", CSS_VAL_JUSTIFY},
- {"hiragana", CSS_VAL_HIRAGANA},
- {"avoid", CSS_VAL_AVOID},
- {"underline", CSS_VAL_UNDERLINE},
- {"smaller", CSS_VAL_SMALLER},
- {"relative", CSS_VAL_RELATIVE},
- {"groove", CSS_VAL_GROOVE},
- {"serif", CSS_VAL_SERIF},
- {"oblique", CSS_VAL_OBLIQUE},
- {"lower-alpha", CSS_VAL_LOWER_ALPHA},
- {"invert", CSS_VAL_INVERT},
- {"above", CSS_VAL_ABOVE},
- {"upper-latin", CSS_VAL_UPPER_LATIN},
- {"inset", CSS_VAL_INSET},
- {"solid", CSS_VAL_SOLID},
- {"lower-greek", CSS_VAL_LOWER_GREEK},
- {"list-item", CSS_VAL_LIST_ITEM},
- {"sub", CSS_VAL_SUB},
- {"disc", CSS_VAL_DISC},
- {"x-small", CSS_VAL_X_SMALL},
- {"upper-roman", CSS_VAL_UPPER_ROMAN},
- {"lowercase", CSS_VAL_LOWERCASE},
- {"hebrew", CSS_VAL_HEBREW},
- {"overline", CSS_VAL_OVERLINE},
- {"collapse", CSS_VAL_COLLAPSE},
- {"table-row-group", CSS_VAL_TABLE_ROW_GROUP},
- {"open-quote", CSS_VAL_OPEN_QUOTE},
- {"absolute", CSS_VAL_ABSOLUTE},
- {"table-footer-group", CSS_VAL_TABLE_FOOTER_GROUP},
- {"outside", CSS_VAL_OUTSIDE},
- {"super", CSS_VAL_SUPER},
- {"-konq-normal", CSS_VAL__KONQ_NORMAL},
- {"-konq-ruler", CSS_VAL__KONQ_RULER},
- {"separate", CSS_VAL_SEPARATE},
- {"show", CSS_VAL_SHOW},
- {"w-resize", CSS_VAL_W_RESIZE},
- {"hidden", CSS_VAL_HIDDEN},
- {"e-resize", CSS_VAL_E_RESIZE},
- {"no-open-quote", CSS_VAL_NO_OPEN_QUOTE},
- {"table-column-group", CSS_VAL_TABLE_COLUMN_GROUP},
- {"small-caption", CSS_VAL_SMALL_CAPTION},
- {"n-resize", CSS_VAL_N_RESIZE},
- {"xx-small", CSS_VAL_XX_SMALL},
- {"monospace", CSS_VAL_MONOSPACE},
- {"inside", CSS_VAL_INSIDE},
- {"higher", CSS_VAL_HIGHER},
- {"-konq-center", CSS_VAL__KONQ_CENTER},
- {"square", CSS_VAL_SQUARE},
- {"expanded", CSS_VAL_EXPANDED},
- {"baseline", CSS_VAL_BASELINE},
- {"katakana-iroha", CSS_VAL_KATAKANA_IROHA},
- {"nw-resize", CSS_VAL_NW_RESIZE},
- {"ne-resize", CSS_VAL_NE_RESIZE},
- {"close-quote", CSS_VAL_CLOSE_QUOTE},
- {"transparent", CSS_VAL_TRANSPARENT},
- {"cross", CSS_VAL_CROSS},
- {"landscape", CSS_VAL_LANDSCAPE},
- {"hiragana-iroha", CSS_VAL_HIRAGANA_IROHA},
- {"ultra-expanded", CSS_VAL_ULTRA_EXPANDED},
- {"upper-alpha", CSS_VAL_UPPER_ALPHA},
- {"line-through", CSS_VAL_LINE_THROUGH},
- {"decimal-leading-zero", CSS_VAL_DECIMAL_LEADING_ZERO},
- {"no-close-quote", CSS_VAL_NO_CLOSE_QUOTE},
- {"uppercase", CSS_VAL_UPPERCASE},
- {"cursive", CSS_VAL_CURSIVE},
- {"condensed", CSS_VAL_CONDENSED},
- {"dashed", CSS_VAL_DASHED},
- {"small-caps", CSS_VAL_SMALL_CAPS},
- {"status-bar", CSS_VAL_STATUS_BAR},
- {"extra-expanded", CSS_VAL_EXTRA_EXPANDED},
- {"visible", CSS_VAL_VISIBLE},
- {"ultra-condensed", CSS_VAL_ULTRA_CONDENSED},
- {"s-resize", CSS_VAL_S_RESIZE},
- {"cjk-ideographic", CSS_VAL_CJK_IDEOGRAPHIC},
- {"bidi-override", CSS_VAL_BIDI_OVERRIDE},
- {"table-header-group", CSS_VAL_TABLE_HEADER_GROUP},
- {"sw-resize", CSS_VAL_SW_RESIZE},
- {"se-resize", CSS_VAL_SE_RESIZE},
- {"static-position", CSS_VAL_STATIC_POSITION},
- {"crosshair", CSS_VAL_CROSSHAIR},
- {"-konq-xxx-large", CSS_VAL__KONQ_XXX_LARGE},
- {"extra-condensed", CSS_VAL_EXTRA_CONDENSED},
- {"-konq-around-floats", CSS_VAL__KONQ_AROUND_FLOATS},
- {"semi-expanded", CSS_VAL_SEMI_EXPANDED},
- {"message-box", CSS_VAL_MESSAGE_BOX},
- {"sans-serif", CSS_VAL_SANS_SERIF},
- {"semi-condensed", CSS_VAL_SEMI_CONDENSED},
- {"-konq-baseline-middle", CSS_VAL__KONQ_BASELINE_MIDDLE}
- };
-
- static const short lookup[] =
- {
- 0, -1, -1, -1, -1, 1, -1, -1,
- -1, -1, 2, -1, -1, -1, -1, 3,
- -1, -1, -1, -1, -202, -176, -2, -1,
- 6, 7, -1, -1, -1, -1, 8, -1,
- -1, -1, -1, 9, -1, -1, -1, -1,
- 10, -1, -1, -1, -1, 11, -1, -1,
- -1, -1, 12, -1, -1, 13, -1, -1,
- -1, -1, -1, -1, 14, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 15, 16, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 17,
- -1, -1, 18, -1, 19, -1, -1, -1,
- -1, -1, -1, -1, -1, 20, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 21,
- -1, -1, -1, -1, 22, 23, -1, -1,
- 24, -1, 25, -1, -1, 26, -1, -1,
- -1, 27, -1, 28, -1, -1, -1, -1,
- 29, -1, -1, 30, -1, 31, 32, -1,
- -1, -1, 33, -1, -1, 34, 35, -1,
- 36, -1, -1, -1, -1, -1, -1, 37,
- -1, -1, -1, -1, 38, -1, -1, 39,
- -1, -1, 40, 41, 42, 43, -1, 44,
- 45, 46, -1, -1, -1, -1, 47, -1,
- 48, 49, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 50, -1, 51,
- -1, -1, -1, -1, 52, -1, -1, -1,
- -1, -1, 53, 54, -1, -1, -1, 55,
- 56, -1, -1, 57, -1, 58, -1, -1,
- 59, -1, 60, 61, -1, -1, -1, 62,
- 63, -1, 64, -1, -1, -1, -1, -1,
- 65, -1, -1, -1, 66, 67, -1, -1,
- -1, 68, -1, 69, -1, -1, -1, -1,
- -1, -1, -1, 70, -1, 71, 72, -1,
- -1, 73, 74, 75, -1, 76, 77, 78,
- 79, -1, -1, 80, -1, -1, -1, -1,
- 81, -1, -1, -1, 82, -1, -1, -1,
- -1, -1, -1, 83, -1, -1, 84, 85,
- 86, 87, -1, 88, -1, 89, -1, -1,
- 90, 91, 92, -1, 93, -1, -1, -1,
- 94, -1, 95, -1, 96, 97, -1, -1,
- -1, 98, 99, -1, -1, -1, 100, -1,
- 101, -1, -1, 102, 103, -1, -1, 104,
- -1, -1, -1, -1, -1, 105, 106, 107,
- -1, -1, 108, -1, -1, -1, -1, 109,
- 110, -1, 111, -1, -1, -1, -1, 112,
- 113, -1, -1, 114, -1, -1, 115, -1,
- -1, -1, -1, -1, 116, 117, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 118, 119, -1, -1, -1, 120, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 121, -1, -1, -1, -1, 122, -1,
- 123, 124, -1, -1, -1, -1, -1, -1,
- -1, 125, 126, -1, -1, -1, -1, -1,
- -1, 127, -1, -1, -1, 128, -1, -1,
- 129, -1, 130, -1, -1, 131, -1, -1,
- 132, -1, -1, -1, -1, -1, 133, 134,
- -1, -1, 135, 136, 137, -1, -1, -1,
- -1, -1, -1, 138, -1, -1, -1, -1,
- -1, -1, 139, -1, -1, 140, -1, 141,
- 142, -1, 143, -1, -1, -1, -1, -1,
- -1, 144, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 145, -1, -1, -1, -1,
- -1, -1, -1, -1, 146, -1, 147, -1,
- -1, -1, 148, -1, -1, -1, -1, 149,
- -1, 150, 151, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 152, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 153, 154, -1, -1, -1,
- -1, -1, 155, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 156, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, 157, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, 158, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, 159, -1,
- -1, -1, -1, 160, -1, -1, -1, -1,
- -1, 161, -1, -1, -1, -1, 162, -1,
- 163, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, 164, -1, -1,
- -1, -1, -1, 165, -1, -1, -1, -1,
- -1, -1, -1, -1, 166, -1, -1, -1,
- -1, -1, 167, -1, -1, -1, -1, -1,
- -1, 168, -1, -1, -1, -1, -1, -1,
- 169, -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, 170, -1, -1,
- -1, 171, -1, -1, 172, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- 173, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, 174, -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, 175, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, 176,
- -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, 177, -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, 178, -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, -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,
- 179
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- register int key = hash_val (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= 0)
- {
- register int index = lookup[key];
-
- if (index >= 0)
- {
- register const char *s = wordlist_value[index].name;
-
- if (*str == *s && !strcmp (str + 1, s + 1))
- return &wordlist_value[index];
- }
- else if (index < -TOTAL_KEYWORDS)
- {
- register int offset = - 1 - TOTAL_KEYWORDS - index;
- register const struct css_value *wordptr = &wordlist_value[TOTAL_KEYWORDS + lookup[offset]];
- register const struct css_value *wordendptr = wordptr + -lookup[offset + 1];
-
- while (wordptr < wordendptr)
- {
- register const char *s = wordptr->name;
-
- if (*str == *s && !strcmp (str + 1, s + 1))
- return wordptr;
- wordptr++;
- }
- }
- }
- }
- return 0;
-}
-static const char * valueList[] = {
-"",
-"inherit",
-"none",
-"hidden",
-"dotted",
-"dashed",
-"solid",
-"double",
-"groove",
-"ridge",
-"inset",
-"outset",
-"caption",
-"icon",
-"menu",
-"message-box",
-"small-caption",
-"status-bar",
-"italic",
-"oblique",
-"small-caps",
-"normal",
-"bold",
-"bolder",
-"lighter",
-"100",
-"200",
-"300",
-"400",
-"500",
-"600",
-"700",
-"800",
-"900",
-"xx-small",
-"x-small",
-"small",
-"medium",
-"large",
-"x-large",
-"xx-large",
-"-konq-xxx-large",
-"smaller",
-"larger",
-"wider",
-"narrower",
-"ultra-condensed",
-"extra-condensed",
-"condensed",
-"semi-condensed",
-"semi-expanded",
-"expanded",
-"extra-expanded",
-"ultra-expanded",
-"serif",
-"sans-serif",
-"cursive",
-"fantasy",
-"monospace",
-"transparent",
-"repeat",
-"repeat-x",
-"repeat-y",
-"no-repeat",
-"baseline",
-"middle",
-"sub",
-"super",
-"text-top",
-"text-bottom",
-"top",
-"bottom",
-"-konq-baseline-middle",
-"left",
-"right",
-"center",
-"justify",
-"-konq-center",
-"outside",
-"inside",
-"disc",
-"circle",
-"square",
-"decimal",
-"decimal-leading-zero",
-"lower-roman",
-"upper-roman",
-"lower-greek",
-"lower-alpha",
-"lower-latin",
-"upper-alpha",
-"upper-latin",
-"hebrew",
-"armenian",
-"georgian",
-"cjk-ideographic",
-"hiragana",
-"katakana",
-"hiragana-iroha",
-"katakana-iroha",
-"inline",
-"block",
-"list-item",
-"run-in",
-"compact",
-"marker",
-"-konq-ruler",
-"table",
-"inline-table",
-"table-row-group",
-"table-header-group",
-"table-footer-group",
-"table-row",
-"table-column-group",
-"table-column",
-"table-cell",
-"table-caption",
-"auto",
-"crosshair",
-"default",
-"pointer",
-"move",
-"e-resize",
-"ne-resize",
-"nw-resize",
-"n-resize",
-"se-resize",
-"sw-resize",
-"s-resize",
-"w-resize",
-"text",
-"wait",
-"help",
-"ltr",
-"rtl",
-"capitalize",
-"uppercase",
-"lowercase",
-"visible",
-"collapse",
-"above",
-"absolute",
-"always",
-"avoid",
-"below",
-"bidi-override",
-"blink",
-"both",
-"close-quote",
-"crop",
-"cross",
-"embed",
-"fixed",
-"hand",
-"hide",
-"higher",
-"invert",
-"landscape",
-"level",
-"line-through",
-"loud",
-"lower",
-"mix",
-"no-close-quote",
-"no-open-quote",
-"nowrap",
-"open-quote",
-"overline",
-"portrait",
-"pre",
-"relative",
-"scroll",
-"separate",
-"show",
-"static",
-"static-position",
-"thick",
-"thin",
-"underline",
-"-konq-normal",
-"-konq-around-floats",
- 0
-};
-DOMString getValueName(unsigned short id)
-{
- if(id >= CSS_VAL_TOTAL || id == 0)
- return DOMString();
- else
- return DOMString(valueList[id]);
-};
-
diff --git a/WebCore/src/kdelibs/khtml/css/cssvalues.h b/WebCore/src/kdelibs/khtml/css/cssvalues.h
deleted file mode 100644
index 41b7b28..0000000
--- a/WebCore/src/kdelibs/khtml/css/cssvalues.h
+++ /dev/null
@@ -1,195 +0,0 @@
-/* This file is automatically generated from cssvalues.in by
-#makevalues, do not edit */
-/* Copyright 1998 W. Bastian */
-
-#ifndef CSSVALUES_H
-#define CSSVALUES_H
-
-DOM::DOMString getValueName(unsigned short id);
-
-#define CSS_VAL_INVALID 0
-#define CSS_VAL_MIN 1
-#define CSS_VAL_INHERIT 1
-#define CSS_VAL_NONE 2
-#define CSS_VAL_HIDDEN 3
-#define CSS_VAL_DOTTED 4
-#define CSS_VAL_DASHED 5
-#define CSS_VAL_SOLID 6
-#define CSS_VAL_DOUBLE 7
-#define CSS_VAL_GROOVE 8
-#define CSS_VAL_RIDGE 9
-#define CSS_VAL_INSET 10
-#define CSS_VAL_OUTSET 11
-#define CSS_VAL_CAPTION 12
-#define CSS_VAL_ICON 13
-#define CSS_VAL_MENU 14
-#define CSS_VAL_MESSAGE_BOX 15
-#define CSS_VAL_SMALL_CAPTION 16
-#define CSS_VAL_STATUS_BAR 17
-#define CSS_VAL_ITALIC 18
-#define CSS_VAL_OBLIQUE 19
-#define CSS_VAL_SMALL_CAPS 20
-#define CSS_VAL_NORMAL 21
-#define CSS_VAL_BOLD 22
-#define CSS_VAL_BOLDER 23
-#define CSS_VAL_LIGHTER 24
-#define CSS_VAL_100 25
-#define CSS_VAL_200 26
-#define CSS_VAL_300 27
-#define CSS_VAL_400 28
-#define CSS_VAL_500 29
-#define CSS_VAL_600 30
-#define CSS_VAL_700 31
-#define CSS_VAL_800 32
-#define CSS_VAL_900 33
-#define CSS_VAL_XX_SMALL 34
-#define CSS_VAL_X_SMALL 35
-#define CSS_VAL_SMALL 36
-#define CSS_VAL_MEDIUM 37
-#define CSS_VAL_LARGE 38
-#define CSS_VAL_X_LARGE 39
-#define CSS_VAL_XX_LARGE 40
-#define CSS_VAL__KONQ_XXX_LARGE 41
-#define CSS_VAL_SMALLER 42
-#define CSS_VAL_LARGER 43
-#define CSS_VAL_WIDER 44
-#define CSS_VAL_NARROWER 45
-#define CSS_VAL_ULTRA_CONDENSED 46
-#define CSS_VAL_EXTRA_CONDENSED 47
-#define CSS_VAL_CONDENSED 48
-#define CSS_VAL_SEMI_CONDENSED 49
-#define CSS_VAL_SEMI_EXPANDED 50
-#define CSS_VAL_EXPANDED 51
-#define CSS_VAL_EXTRA_EXPANDED 52
-#define CSS_VAL_ULTRA_EXPANDED 53
-#define CSS_VAL_SERIF 54
-#define CSS_VAL_SANS_SERIF 55
-#define CSS_VAL_CURSIVE 56
-#define CSS_VAL_FANTASY 57
-#define CSS_VAL_MONOSPACE 58
-#define CSS_VAL_TRANSPARENT 59
-#define CSS_VAL_REPEAT 60
-#define CSS_VAL_REPEAT_X 61
-#define CSS_VAL_REPEAT_Y 62
-#define CSS_VAL_NO_REPEAT 63
-#define CSS_VAL_BASELINE 64
-#define CSS_VAL_MIDDLE 65
-#define CSS_VAL_SUB 66
-#define CSS_VAL_SUPER 67
-#define CSS_VAL_TEXT_TOP 68
-#define CSS_VAL_TEXT_BOTTOM 69
-#define CSS_VAL_TOP 70
-#define CSS_VAL_BOTTOM 71
-#define CSS_VAL__KONQ_BASELINE_MIDDLE 72
-#define CSS_VAL_LEFT 73
-#define CSS_VAL_RIGHT 74
-#define CSS_VAL_CENTER 75
-#define CSS_VAL_JUSTIFY 76
-#define CSS_VAL__KONQ_CENTER 77
-#define CSS_VAL_OUTSIDE 78
-#define CSS_VAL_INSIDE 79
-#define CSS_VAL_DISC 80
-#define CSS_VAL_CIRCLE 81
-#define CSS_VAL_SQUARE 82
-#define CSS_VAL_DECIMAL 83
-#define CSS_VAL_DECIMAL_LEADING_ZERO 84
-#define CSS_VAL_LOWER_ROMAN 85
-#define CSS_VAL_UPPER_ROMAN 86
-#define CSS_VAL_LOWER_GREEK 87
-#define CSS_VAL_LOWER_ALPHA 88
-#define CSS_VAL_LOWER_LATIN 89
-#define CSS_VAL_UPPER_ALPHA 90
-#define CSS_VAL_UPPER_LATIN 91
-#define CSS_VAL_HEBREW 92
-#define CSS_VAL_ARMENIAN 93
-#define CSS_VAL_GEORGIAN 94
-#define CSS_VAL_CJK_IDEOGRAPHIC 95
-#define CSS_VAL_HIRAGANA 96
-#define CSS_VAL_KATAKANA 97
-#define CSS_VAL_HIRAGANA_IROHA 98
-#define CSS_VAL_KATAKANA_IROHA 99
-#define CSS_VAL_INLINE 100
-#define CSS_VAL_BLOCK 101
-#define CSS_VAL_LIST_ITEM 102
-#define CSS_VAL_RUN_IN 103
-#define CSS_VAL_COMPACT 104
-#define CSS_VAL_MARKER 105
-#define CSS_VAL__KONQ_RULER 106
-#define CSS_VAL_TABLE 107
-#define CSS_VAL_INLINE_TABLE 108
-#define CSS_VAL_TABLE_ROW_GROUP 109
-#define CSS_VAL_TABLE_HEADER_GROUP 110
-#define CSS_VAL_TABLE_FOOTER_GROUP 111
-#define CSS_VAL_TABLE_ROW 112
-#define CSS_VAL_TABLE_COLUMN_GROUP 113
-#define CSS_VAL_TABLE_COLUMN 114
-#define CSS_VAL_TABLE_CELL 115
-#define CSS_VAL_TABLE_CAPTION 116
-#define CSS_VAL_AUTO 117
-#define CSS_VAL_CROSSHAIR 118
-#define CSS_VAL_DEFAULT 119
-#define CSS_VAL_POINTER 120
-#define CSS_VAL_MOVE 121
-#define CSS_VAL_E_RESIZE 122
-#define CSS_VAL_NE_RESIZE 123
-#define CSS_VAL_NW_RESIZE 124
-#define CSS_VAL_N_RESIZE 125
-#define CSS_VAL_SE_RESIZE 126
-#define CSS_VAL_SW_RESIZE 127
-#define CSS_VAL_S_RESIZE 128
-#define CSS_VAL_W_RESIZE 129
-#define CSS_VAL_TEXT 130
-#define CSS_VAL_WAIT 131
-#define CSS_VAL_HELP 132
-#define CSS_VAL_LTR 133
-#define CSS_VAL_RTL 134
-#define CSS_VAL_CAPITALIZE 135
-#define CSS_VAL_UPPERCASE 136
-#define CSS_VAL_LOWERCASE 137
-#define CSS_VAL_VISIBLE 138
-#define CSS_VAL_COLLAPSE 139
-#define CSS_VAL_ABOVE 140
-#define CSS_VAL_ABSOLUTE 141
-#define CSS_VAL_ALWAYS 142
-#define CSS_VAL_AVOID 143
-#define CSS_VAL_BELOW 144
-#define CSS_VAL_BIDI_OVERRIDE 145
-#define CSS_VAL_BLINK 146
-#define CSS_VAL_BOTH 147
-#define CSS_VAL_CLOSE_QUOTE 148
-#define CSS_VAL_CROP 149
-#define CSS_VAL_CROSS 150
-#define CSS_VAL_EMBED 151
-#define CSS_VAL_FIXED 152
-#define CSS_VAL_HAND 153
-#define CSS_VAL_HIDE 154
-#define CSS_VAL_HIGHER 155
-#define CSS_VAL_INVERT 156
-#define CSS_VAL_LANDSCAPE 157
-#define CSS_VAL_LEVEL 158
-#define CSS_VAL_LINE_THROUGH 159
-#define CSS_VAL_LOUD 160
-#define CSS_VAL_LOWER 161
-#define CSS_VAL_MIX 162
-#define CSS_VAL_NO_CLOSE_QUOTE 163
-#define CSS_VAL_NO_OPEN_QUOTE 164
-#define CSS_VAL_NOWRAP 165
-#define CSS_VAL_OPEN_QUOTE 166
-#define CSS_VAL_OVERLINE 167
-#define CSS_VAL_PORTRAIT 168
-#define CSS_VAL_PRE 169
-#define CSS_VAL_RELATIVE 170
-#define CSS_VAL_SCROLL 171
-#define CSS_VAL_SEPARATE 172
-#define CSS_VAL_SHOW 173
-#define CSS_VAL_STATIC 174
-#define CSS_VAL_STATIC_POSITION 175
-#define CSS_VAL_THICK 176
-#define CSS_VAL_THIN 177
-#define CSS_VAL_UNDERLINE 178
-#define CSS_VAL__KONQ_NORMAL 179
-#define CSS_VAL__KONQ_AROUND_FLOATS 180
-
-#define CSS_VAL_TOTAL 181
-#endif
-
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list