28 #if !defined(LHP_MAX_ELEMS_NEST)
29 #define LHP_MAX_ELEMS_NEST 32
31 #if !defined(LHP_MAX_DEPTH)
32 #define LHP_MAX_DEPTH 12
34 #if !defined(LHP_STRING_CHUNK)
35 #define LHP_STRING_CHUNK 254
363 #define CCPAS_RIGHT 1
364 #define CCPAS_BOTTOM 2
510 #define LHP_FLAG_DOCUMENT_END (1 << 0)
566 #define LHP_CSS_PROPVAL_INT_WHOLE 1
567 #define LHP_CSS_PROPVAL_INT_FRAC 2
568 #define LHP_CSS_PROPVAL_INT_UNIT 3
712 #define LWS_LHPREF_WIDTH 0
713 #define LWS_LHPREF_HEIGHT 1
714 #define LWS_LHPREF_NONE 2
LWS_VISIBLE LWS_EXTERN int lws_lhp_ss_browse(struct lws_context *cx, lws_display_render_state_t *rs, const char *url, sul_cb_t render)
@ LCSP_UNIT_LENGTH_PERCENT
@ LCSP_UNIT_ANGLE_ABS_DEG
@ LCSP_UNIT_ANGLE_REL_DEG
const struct lcsp_atr * css_display
LWS_VISIBLE LWS_EXTERN int lws_http_rel_to_url(char *dest, size_t len, const char *base, const char *rel)
const struct lcsp_atr * css_margin[4]
struct lcsp_atr lcsp_atr_t
LWS_VISIBLE LWS_EXTERN const char * lws_css_pstack_name(lhp_pstack_t *ps)
LWS_VISIBLE LWS_EXTERN int lhp_prop_axis(const lcsp_atr_t *a)
LWS_VISIBLE LWS_EXTERN const lws_fx_t * lws_csp_px(const lcsp_atr_t *a, lhp_pstack_t *ps)
LWS_VISIBLE LWS_EXTERN int lws_lhp_construct(lhp_ctx_t *ctx, lhp_callback cb, void *user, const lws_surface_info_t *ic)
const struct lcsp_atr * css_width
lws_dll2_owner_t active_stanzas
lws_sorted_usec_list_t * sshtmlevsul
lws_dll2_owner_t row_dlos
@ LCSP_PROPVAL_LINE_THROUGH
@ LCSP_PROPVAL_SMALL_CAPTION
@ LCSP_PROPVAL_DECIMAL_LEADING_ZERO
@ LCSP_PROPVAL_OPEN_QUOTE
@ LCSP_PROPVAL_TABLE_COLUMN_GROUP
@ LCSP_PROPVAL_UPPER_ROMAN
@ LCSP_PROPVAL_TABLE_CELL
@ LCSP_PROPVAL_INLINE_TABLE
@ LCSP_PROPVAL_TABLE_CAPTION
@ LCSP_PROPVAL_TABLE_FOOTER_GROUP
@ LCSP_PROPVAL_NO_CLOSE_QUOTE
@ LCSP_PROPVAL_TRANSPARENT
@ LCSP_PROPVAL_TABLE_ROW_GROUP
@ LCSP_PROPVAL_SMALL_CAPS
@ LCSP_PROPVAL_UPPER_ALPHA
@ LCSP_PROPVAL_LOWER_ROMAN
@ LCSP_PROPVAL_TABLE_HEADER_GROUP
@ LCSP_PROPVAL_LOWER_GREEK
@ LCSP_PROPVAL_CAPITALIZE
@ LCSP_PROPVAL_CONTINUOUS
@ LCSP_PROPVAL_INLINE_BLOCK
@ LCSP_PROPVAL_TEXT_BOTTOM
@ LCSP_PROPVAL_LOWER_LATIN
@ LCSP_PROPVAL_UPPER_LATIN
@ LCSP_PROPVAL_LOWER_ALPHA
@ LCSP_PROPVAL_STATUS_BAR
@ LCSP_PROPVAL_NO_OPEN_QUOTE
@ LCSP_PROPVAL_TABLE_COLUMN
@ LCSP_PROPVAL_BIDI_OVERRIDE
@ LCSP_PROPVAL_MESSAGE_BOX
@ LCSP_PROPVAL_CLOSE_QUOTE
LWS_VISIBLE LWS_EXTERN const char * lws_html_get_atr(lhp_pstack_t *ps, const char *aname, size_t aname_len)
LWS_VISIBLE LWS_EXTERN lhp_pstack_t * lws_css_get_parent_block(lhp_ctx_t *ctx, lhp_pstack_t *ps)
LWS_VISIBLE LWS_EXTERN const lcsp_atr_t * lws_css_cascade_get_prop_atr(lhp_ctx_t *ctx, lcsp_props_t prop)
lws_sorted_usec_list_t * ssevsul
const struct lcsp_atr * css_padding[4]
lws_stateful_ret_t(* lhp_callback)(struct lhp_ctx *ctx, char reason)
const lws_display_font_t * font
struct lcsp_stanza lcsp_stanza_t
@ LCSP_PROP_LETTER_SPACING
@ LCSP_PROP_BACKGROUND_REPEAT
@ LCSP_PROP_MARGIN_BOTTOM
@ LCSP_PROP_BACKGROUND_IMAGE
@ LCSP_PROP_BACKGROUND_POSITION
@ LCSP_PROP_BORDER_RIGHT_WIDTH
@ LCSP_PROP_FONT_VARAIANT
@ LCSP_PROP_BORDER_TOP_STYLE
@ LCSP_PROP_BORDER_COLLAPSE
@ LCSP_PROP_BACKGROUND_COLOR
@ LCSP_PROP_BACKGROUND_ATTACHMENT
@ LCSP_PROP_VERTICAL_ALIGN
@ LCSP_PROP_SPEAK_NUMERAL
@ LCSP_PROP_LIST_STYLE_POSITION
@ LCSP_PROP_BORDER_RIGHT_STYLE
@ LCSP_PROP_BORDER_BOTTOM_LEFT_RADIUS
@ LCSP_PROP_BORDER_SPACING
@ LCSP_PROP_TEXT_DECORATION
@ LCSP_PROP_PADDING_BOTTOM
@ LCSP_PROP_COUNTER_INCREMENT
@ LCSP_PROP_OUTLINE_COLOR
@ LCSP_PROP_SPEAK_PUNCTUATION
@ LCSP_PROP_BORDER_TOP_COLOR
@ LCSP_PROP_BORDER_TOP_LEFT_RADIUS
@ LCSP_PROP_BORDER_BOTTOM_WIDTH
@ LCSP_PROP_BORDER_LEFT_STYLE
@ LCSP_PROP_BORDER_LEFT_COLOR
@ LCSP_PROP_BORDER_RADIUS
@ LCSP_PROP_OUTLINE_STYLE
@ LCSP_PROP_TEXT_TRANSFORM
@ LCSP_PROP_BORDER_LEFT_WIDTH
@ LCSP_PROP_OUTLINE_WIDTH
@ LCSP_PROP_BORDER_BOTTOM
@ LCSP_PROP_PAGE_BREAK_BEFORE
@ LCSP_PROP_BORDER_BOTTOM_COLOR
@ LCSP_PROP_PAGE_BREAK_INSIDE
@ LCSP_PROP_BORDER_RIGHT_COLOR
@ LCSP_PROP_BORDER_TOP_WIDTH
@ LCSP_PROP_PADDING_RIGHT
@ LCSP_PROP_COUNTER_RESET
@ LCSP_PROP_LIST_STYLE_TYPE
@ LCSP_PROP_BORDER_BOTTOM_STYLE
@ LCSP_PROP_BORDER_TOP_RIGHT_RADIUS
@ LCSP_PROP_PAGE_BREAK_AFTER
@ LCSP_PROP_BORDER_BOTTOM_RIGHT_RADIUS
@ LCSP_PROP_LIST_STYLE_IMAGE
LWS_VISIBLE LWS_EXTERN void lws_lhp_tag_dlo_id(lhp_ctx_t *ctx, lhp_pstack_t *ps, lws_dlo_t *dlo)
struct lhp_pstack lhp_pstack_t
const struct lcsp_atr * css_position
@ LHPCB_ERR_ATTRIB_SYNTAX
lws_dll2_owner_t col_dlos
enum lcsp_css_units lcsp_css_units_t
const lws_display_font_t * f
LWS_VISIBLE LWS_EXTERN void lws_lhp_destruct(lhp_ctx_t *ctx)
LWS_VISIBLE LWS_EXTERN lws_stateful_ret_t lws_lhp_parse(lhp_ctx_t *ctx, const uint8_t **buf, size_t *len)
const struct lcsp_atr * css_height
const struct lcsp_atr * css_background_color
const struct lcsp_atr * css_color
struct lcsp_defs lcsp_defs_t
struct lcsp_atr_ptr lcsp_atr_ptr_t
enum lcsp_props lcsp_props_t
void lhp_set_dlo_padding_margin(lhp_pstack_t *ps, lws_dlo_t *dlo)
lws_dll2_owner_t active_atr
const struct lcsp_atr * css_pos[4]
struct lcsp_names lcsp_names_t
struct lcsp_stanza_ptr lcsp_stanza_ptr_t
char buf[LHP_STRING_CHUNK+1]
const struct lcsp_atr * css_border_radius[4]
void(* sul_cb_t)(struct lws_sorted_usec_list *sul)