📄 cssproperties.c
字号:
{"border-width", CSS_PROP_BORDER_WIDTH},#line 33 "cssproperties.gperf" {"border-top-width", CSS_PROP_BORDER_TOP_WIDTH},#line 34 "cssproperties.gperf" {"border-right-width", CSS_PROP_BORDER_RIGHT_WIDTH},#line 35 "cssproperties.gperf" {"border-bottom-width", CSS_PROP_BORDER_BOTTOM_WIDTH},#line 126 "cssproperties.gperf" {"scrollbar-base-color", CSS_PROP_SCROLLBAR_BASE_COLOR},#line 52 "cssproperties.gperf" {"font-style", CSS_PROP_FONT_STYLE},#line 45 "cssproperties.gperf" {"cursor", CSS_PROP_CURSOR},#line 124 "cssproperties.gperf" {"outline", CSS_PROP_OUTLINE},#line 60 "cssproperties.gperf" {"list-style-position", CSS_PROP_LIST_STYLE_POSITION},#line 59 "cssproperties.gperf" {"list-style-image", CSS_PROP_LIST_STYLE_IMAGE},#line 51 "cssproperties.gperf" {"font-size", CSS_PROP_FONT_SIZE},#line 105 "cssproperties.gperf" {"visibility", CSS_PROP_VISIBILITY},#line 93 "cssproperties.gperf" {"quotes", CSS_PROP_QUOTES},#line 79 "cssproperties.gperf" {"outline-color", CSS_PROP_OUTLINE_COLOR},#line 101 "cssproperties.gperf" {"text-transform", CSS_PROP_TEXT_TRANSFORM},#line 32 "cssproperties.gperf" {"border-left-style", CSS_PROP_BORDER_LEFT_STYLE},#line 61 "cssproperties.gperf" {"list-style-type", CSS_PROP_LIST_STYLE_TYPE},#line 103 "cssproperties.gperf" {"unicode-bidi", CSS_PROP_UNICODE_BIDI},#line 74 "cssproperties.gperf" {"max-width", CSS_PROP_MAX_WIDTH},#line 127 "cssproperties.gperf" {"scrollbar-face-color", CSS_PROP_SCROLLBAR_FACE_COLOR},#line 66 "cssproperties.gperf" {"-khtml-margin-start", CSS_PROP__KHTML_MARGIN_START},#line 132 "cssproperties.gperf" {"scrollbar-track-color", CSS_PROP_SCROLLBAR_TRACK_COLOR},#line 54 "cssproperties.gperf" {"font-weight", CSS_PROP_FONT_WEIGHT},#line 104 "cssproperties.gperf" {"vertical-align", CSS_PROP_VERTICAL_ALIGN},#line 88 "cssproperties.gperf" {"-khtml-padding-start", CSS_PROP__KHTML_PADDING_START},#line 106 "cssproperties.gperf" {"white-space", CSS_PROP_WHITE_SPACE},#line 109 "cssproperties.gperf" {"word-spacing", CSS_PROP_WORD_SPACING},#line 50 "cssproperties.gperf" {"font-family", CSS_PROP_FONT_FAMILY},#line 36 "cssproperties.gperf" {"border-left-width", CSS_PROP_BORDER_LEFT_WIDTH},#line 44 "cssproperties.gperf" {"counter-reset", CSS_PROP_COUNTER_RESET},#line 100 "cssproperties.gperf" {"text-shadow", CSS_PROP_TEXT_SHADOW},#line 91 "cssproperties.gperf" {"page-break-inside", CSS_PROP_PAGE_BREAK_INSIDE},#line 133 "cssproperties.gperf" {"scrollbar-arrow-color", CSS_PROP_SCROLLBAR_ARROW_COLOR},#line 43 "cssproperties.gperf" {"counter-increment", CSS_PROP_COUNTER_INCREMENT},#line 90 "cssproperties.gperf" {"page-break-before", CSS_PROP_PAGE_BREAK_BEFORE},#line 53 "cssproperties.gperf" {"font-variant", CSS_PROP_FONT_VARIANT},#line 81 "cssproperties.gperf" {"outline-style", CSS_PROP_OUTLINE_STYLE},#line 107 "cssproperties.gperf" {"widows", CSS_PROP_WIDOWS},#line 134 "cssproperties.gperf" {"-khtml-flow-mode", CSS_PROP__KHTML_FLOW_MODE},#line 128 "cssproperties.gperf" {"scrollbar-shadow-color", CSS_PROP_SCROLLBAR_SHADOW_COLOR},#line 111 "cssproperties.gperf" {"background", CSS_PROP_BACKGROUND},#line 89 "cssproperties.gperf" {"page-break-after", CSS_PROP_PAGE_BREAK_AFTER},#line 96 "cssproperties.gperf" {"table-layout", CSS_PROP_TABLE_LAYOUT},#line 83 "cssproperties.gperf" {"overflow", CSS_PROP_OVERFLOW},#line 67 "cssproperties.gperf" {"-khtml-marquee", CSS_PROP__KHTML_MARQUEE},#line 14 "cssproperties.gperf" {"background-color", CSS_PROP_BACKGROUND_COLOR},#line 82 "cssproperties.gperf" {"outline-width", CSS_PROP_OUTLINE_WIDTH},#line 80 "cssproperties.gperf" {"outline-offset", CSS_PROP_OUTLINE_OFFSET},#line 23 "cssproperties.gperf" {"-khtml-border-horizontal-spacing", CSS_PROP__KHTML_BORDER_HORIZONTAL_SPACING},#line 18 "cssproperties.gperf" {"background-position", CSS_PROP_BACKGROUND_POSITION},#line 15 "cssproperties.gperf" {"background-image", CSS_PROP_BACKGROUND_IMAGE},#line 68 "cssproperties.gperf" {"-khtml-marquee-direction", CSS_PROP__KHTML_MARQUEE_DIRECTION},#line 70 "cssproperties.gperf" {"-khtml-marquee-repetition", CSS_PROP__KHTML_MARQUEE_REPETITION},#line 71 "cssproperties.gperf" {"-khtml-marquee-speed", CSS_PROP__KHTML_MARQUEE_SPEED},#line 16 "cssproperties.gperf" {"background-repeat", CSS_PROP_BACKGROUND_REPEAT},#line 24 "cssproperties.gperf" {"-khtml-border-vertical-spacing", CSS_PROP__KHTML_BORDER_VERTICAL_SPACING},#line 69 "cssproperties.gperf" {"-khtml-marquee-increment", CSS_PROP__KHTML_MARQUEE_INCREMENT},#line 19 "cssproperties.gperf" {"background-position-x", CSS_PROP_BACKGROUND_POSITION_X},#line 72 "cssproperties.gperf" {"-khtml-marquee-style", CSS_PROP__KHTML_MARQUEE_STYLE},#line 20 "cssproperties.gperf" {"background-position-y", CSS_PROP_BACKGROUND_POSITION_Y},#line 131 "cssproperties.gperf" {"scrollbar-darkshadow-color", CSS_PROP_SCROLLBAR_DARKSHADOW_COLOR},#line 17 "cssproperties.gperf" {"background-attachment", CSS_PROP_BACKGROUND_ATTACHMENT},#line 135 "cssproperties.gperf" {"-khtml-user-input", CSS_PROP__KHTML_USER_INPUT} }; static const signed char lookup[] = { -1, -1, -1, 0, -1, 1, 2, -1, -1, 3, 4, -1, -1, -1, -1, -1, 5, -1, -1, -1, -1, 6, -1, -1, -1, 7, -1, 8, 9, -1, -1, -1, 10, -1, -1, 11, 12, -1, 13, 14, -1, -1, -1, 15, 16, -1, 17, -1, -1, -1, 18, 19, 20, -1, -1, 21, -1, 22, 23, 24, -1, -1, 25, -1, 26, -1, 27, -1, 28, 29, -1, -1, 30, -1, -1, 31, -1, -1, -1, -1, 32, 33, -1, -1, -1, 34, -1, 35, 36, 37, 38, 39, 40, -1, -1, 41, -1, 42, -1, 43, -1, 44, 45, -1, 46, 47, 48, 49, 50, 51, 52, 53, -1, -1, -1, 54, -1, 55, -1, -1, -1, -1, 56, -1, -1, 57, -1, -1, -1, 58, -1, -1, 59, -1, -1, -1, 60, -1, 61, 62, 63, -1, -1, -1, -1, 64, 65, 66, -1, 67, -1, 68, -1, -1, 69, 70, 71, -1, 72, 73, -1, -1, 74, -1, -1, 75, -1, 76, -1, 77, 78, -1, -1, -1, 79, -1, 80, -1, -1, -1, -1, 81, -1, -1, 82, 83, 84, 85, -1, -1, -1, 86, 87, -1, -1, -1, -1, -1, 88, -1, -1, 89, -1, -1, -1, -1, -1, 90, -1, -1, -1, 91, -1, -1, -1, -1, -1, 92, -1, -1, -1, -1, 93, -1, -1, -1, -1, 94, 95, -1, -1, 96, -1, -1, -1, -1, 97, 98, -1, -1, 99, 100, 101, 102, 103, -1, -1, -1, -1, -1, -1, 104, -1, -1, -1, -1, -1, -1, 105, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 106, -1, -1, 107, -1, -1, -1, -1, -1, -1, 108, -1, 109, -1, -1, 110, 111, -1, -1, -1, -1, 112, -1, 113, -1, -1, 114, -1, -1, -1, -1, -1, -1, -1, -1, 115, -1, 116, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 117, -1, -1, -1, -1, -1, 118, -1, -1, -1, -1, 119, -1, -1, -1, -1, 120, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 121 }; 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 136 "cssproperties.gperf"static const char * const propertyList[] = {"","background-color", "background-image", "background-repeat", "background-attachment", "background-position", "background-position-x", "background-position-y", "border-collapse", "border-spacing", "-khtml-border-horizontal-spacing", "-khtml-border-vertical-spacing", "border-top-color", "border-right-color", "border-bottom-color", "border-left-color", "border-top-style", "border-right-style", "border-bottom-style", "border-left-style", "border-top-width", "border-right-width", "border-bottom-width", "border-left-width", "bottom", "caption-side", "clear", "clip", "color", "content", "counter-increment", "counter-reset", "cursor", "direction", "display", "empty-cells", "float", "font-family", "font-size", "font-style", "font-variant", "font-weight", "height", "left", "letter-spacing", "line-height", "list-style-image", "list-style-position", "list-style-type", "margin-top", "margin-right", "margin-bottom", "margin-left", "-khtml-margin-start", "-khtml-marquee", "-khtml-marquee-direction", "-khtml-marquee-increment", "-khtml-marquee-repetition", "-khtml-marquee-speed", "-khtml-marquee-style", "max-height", "max-width", "min-height", "min-width", "orphans", "opacity", "outline-color", "outline-offset", "outline-style", "outline-width", "overflow", "padding-top", "padding-right", "padding-bottom", "padding-left", "-khtml-padding-start", "page-break-after", "page-break-before", "page-break-inside", "position", "quotes", "right", "size", "table-layout", "text-align", "text-decoration", "text-indent", "text-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", "box-sizing", "font", "list-style", "margin", "outline", "padding", "scrollbar-base-color", "scrollbar-face-color", "scrollbar-shadow-color", "scrollbar-highlight-color", "scrollbar-3dlight-color", "scrollbar-darkshadow-color", "scrollbar-track-color", "scrollbar-arrow-color", "-khtml-flow-mode", "-khtml-user-input", 0};DOMString getPropertyName(unsigned short id){ if(id >= CSS_PROP_TOTAL || id == 0) return DOMString(); else return DOMString(propertyList[id]);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -