📄 property.c
字号:
/* CSS property info *//* $Id: property.c,v 1.11 2004/06/30 05:51:10 jonas Exp $ */#ifdef HAVE_CONFIG_H#include "config.h"#endif#include <stdlib.h>#include "elinks.h"#include "document/css/property.h"#include "document/css/value.h"/* TODO: Use fastfind when we get a lot of properties. *//* XXX: But only _WHEN_ we get _A LOT_ of properties, zas! ;-) --pasky */struct css_property_info css_property_info[CSS_PT_LAST] = { { "background", CSS_PT_BACKGROUND, CSS_VT_COLOR, css_parse_background_value }, { "background-color", CSS_PT_BACKGROUND_COLOR, CSS_VT_COLOR, css_parse_color_value }, { "color", CSS_PT_COLOR, CSS_VT_COLOR, css_parse_color_value }, { "font-style", CSS_PT_FONT_STYLE, CSS_VT_FONT_ATTRIBUTE, css_parse_font_style_value }, { "font-weight", CSS_PT_FONT_WEIGHT, CSS_VT_FONT_ATTRIBUTE, css_parse_font_weight_value }, { "text-align", CSS_PT_TEXT_ALIGN, CSS_VT_TEXT_ALIGN, css_parse_text_align_value }, { "text-decoration", CSS_PT_TEXT_DECORATION, CSS_VT_FONT_ATTRIBUTE, css_parse_text_decoration_value }, { "white-space", CSS_PT_WHITE_SPACE, CSS_VT_FONT_ATTRIBUTE, css_parse_white_space_value }, { NULL, CSS_PT_NONE, CSS_VT_NONE },};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -