Dillo v3.1.1-119-g140d9ebd
|
#include <ctype.h>
#include <stdlib.h>
#include <stdio.h>
#include "msg.h"
#include "colors.h"
#include "html_common.hh"
#include "css.hh"
#include "cssparser.hh"
Go to the source code of this file.
Macros | |
#define | MSG_CSS(A, ...) do {} while(0) |
#define | DEBUG_TOKEN_LEVEL 0 |
#define | DEBUG_PARSE_LEVEL 0 |
#define | DEBUG_CREATE_LEVEL 0 |
#define | DEBUG_LEVEL 10 |
#define | CSS_NUM_INTERNAL_PROPERTIES 3 |
#define | CSS_NUM_PARSED_PROPERTIES (CSS_PROPERTY_LAST - CSS_NUM_INTERNAL_PROPERTIES) |
#define | CSS_SHORTHAND_NUM (sizeof(Css_shorthand_info) / sizeof(Css_shorthand_info[0])) |
Functions | |
static int | Css_property_info_cmp (const void *a, const void *b) |
bsearch(3) compare function for searching properties | |
static int | Css_shorthand_info_cmp (const void *a, const void *b) |
bsearch(3) compare function for searching shorthands | |
#define CSS_NUM_INTERNAL_PROPERTIES 3 |
Definition at line 40 of file cssparser.cc.
#define CSS_NUM_PARSED_PROPERTIES (CSS_PROPERTY_LAST - CSS_NUM_INTERNAL_PROPERTIES) |
Definition at line 41 of file cssparser.cc.
#define CSS_SHORTHAND_NUM (sizeof(Css_shorthand_info) / sizeof(Css_shorthand_info[0])) |
Definition at line 451 of file cssparser.cc.
#define DEBUG_CREATE_LEVEL 0 |
Definition at line 35 of file cssparser.cc.
#define DEBUG_LEVEL 10 |
Definition at line 37 of file cssparser.cc.
#define DEBUG_PARSE_LEVEL 0 |
Definition at line 34 of file cssparser.cc.
#define DEBUG_TOKEN_LEVEL 0 |
Definition at line 33 of file cssparser.cc.
#define MSG_CSS | ( | A, | |
... | |||
) | do {} while(0) |
Definition at line 32 of file cssparser.cc.
|
static |
bsearch(3) compare function for searching properties
Definition at line 1235 of file cssparser.cc.
References dStrAsciiCasecmp().
Referenced by CssParser::parseDeclaration().
|
static |
bsearch(3) compare function for searching shorthands
Definition at line 1245 of file cssparser.cc.
References dStrAsciiCasecmp().
Referenced by CssParser::parseDeclaration().
|
static |
Definition at line 51 of file cssparser.cc.
const CssPropertyName Css_background_properties[] |
Definition at line 310 of file cssparser.cc.
|
static |
Definition at line 55 of file cssparser.cc.
const CssPropertyName Css_border_bottom_properties[] |
Definition at line 319 of file cssparser.cc.
|
static |
Definition at line 59 of file cssparser.cc.
|
static |
Definition at line 63 of file cssparser.cc.
const CssPropertyName Css_border_color_properties[4] |
Definition at line 326 of file cssparser.cc.
const CssPropertyName Css_border_left_properties[] |
Definition at line 333 of file cssparser.cc.
const CssPropertyName Css_border_properties[] |
Definition at line 396 of file cssparser.cc.
const CssPropertyName Css_border_right_properties[] |
Definition at line 340 of file cssparser.cc.
|
static |
Definition at line 67 of file cssparser.cc.
const CssPropertyName Css_border_style_properties[] |
Definition at line 347 of file cssparser.cc.
const CssPropertyName Css_border_top_properties[] |
Definition at line 354 of file cssparser.cc.
|
static |
Definition at line 72 of file cssparser.cc.
const CssPropertyName Css_border_width_properties[] |
Definition at line 361 of file cssparser.cc.
|
static |
Definition at line 76 of file cssparser.cc.
|
static |
Definition at line 80 of file cssparser.cc.
|
static |
Definition at line 86 of file cssparser.cc.
|
static |
Definition at line 92 of file cssparser.cc.
const CssPropertyName Css_font_properties[] |
Definition at line 411 of file cssparser.cc.
|
static |
Definition at line 96 of file cssparser.cc.
|
static |
Definition at line 101 of file cssparser.cc.
|
static |
Definition at line 105 of file cssparser.cc.
|
static |
Definition at line 109 of file cssparser.cc.
|
static |
Definition at line 113 of file cssparser.cc.
|
static |
Definition at line 121 of file cssparser.cc.
|
static |
Definition at line 117 of file cssparser.cc.
const CssPropertyName Css_list_style_properties[] |
Definition at line 368 of file cssparser.cc.
|
static |
Definition at line 125 of file cssparser.cc.
const CssPropertyName Css_margin_properties[] |
Definition at line 375 of file cssparser.cc.
const CssPropertyName Css_outline_properties[] |
Definition at line 382 of file cssparser.cc.
|
static |
Definition at line 133 of file cssparser.cc.
const CssPropertyName Css_padding_properties[] |
Definition at line 389 of file cssparser.cc.
|
static |
Definition at line 137 of file cssparser.cc.
const CssPropertyInfo Css_property_info[CSS_PROPERTY_LAST] |
Definition at line 166 of file cssparser.cc.
Referenced by CssParser::parseDeclaration(), CssParser::parseValue(), CssParser::propertyNameString(), and CssParser::tokenMatchesProperty().
|
static |
Definition at line 420 of file cssparser.cc.
Referenced by CssParser::parseDeclaration().
|
static |
Definition at line 141 of file cssparser.cc.
|
static |
Definition at line 145 of file cssparser.cc.
|
static |
Definition at line 149 of file cssparser.cc.
|
static |
Definition at line 153 of file cssparser.cc.
|
static |
Definition at line 158 of file cssparser.cc.
|
static |
Definition at line 162 of file cssparser.cc.