libcss
Loading...
Searching...
No Matches
Macros | Typedefs | Functions | Variables
properties.h File Reference
#include "stylesheet.h"
#include "lex/lex.h"
#include "parse/language.h"
#include "parse/propstrings.h"

Go to the source code of this file.

Macros

#define UNIT_MASK_AZIMUTH   (UNIT_ANGLE)
 
#define UNIT_MASK_BACKGROUND_ATTACHMENT   (0)
 
#define UNIT_MASK_BACKGROUND_COLOR   (0)
 
#define UNIT_MASK_BACKGROUND_IMAGE   (0)
 
#define UNIT_MASK_BACKGROUND_POSITION   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_BACKGROUND_REPEAT   (0)
 
#define UNIT_MASK_BORDER_COLLAPSE   (0)
 
#define UNIT_MASK_BORDER_SPACING   (UNIT_LENGTH)
 
#define UNIT_MASK_BORDER_SIDE_COLOR   (0)
 
#define UNIT_MASK_BORDER_SIDE_STYLE   (0)
 
#define UNIT_MASK_BORDER_SIDE_WIDTH   (UNIT_LENGTH)
 
#define UNIT_MASK_BOTTOM   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_CAPTION_SIDE   (0)
 
#define UNIT_MASK_CLEAR   (0)
 
#define UNIT_MASK_CLIP   (UNIT_LENGTH)
 
#define UNIT_MASK_COLOR   (0)
 
#define UNIT_MASK_CONTENT   (0)
 
#define UNIT_MASK_COUNTER_INCREMENT   (0)
 
#define UNIT_MASK_COUNTER_RESET   (0)
 
#define UNIT_MASK_CUE_AFTER   (0)
 
#define UNIT_MASK_CUE_BEFORE   (0)
 
#define UNIT_MASK_CURSOR   (0)
 
#define UNIT_MASK_DIRECTION   (0)
 
#define UNIT_MASK_DISPLAY   (0)
 
#define UNIT_MASK_ELEVATION   (UNIT_ANGLE)
 
#define UNIT_MASK_EMPTY_CELLS   (0)
 
#define UNIT_MASK_FLOAT   (0)
 
#define UNIT_MASK_FONT_FAMILY   (0)
 
#define UNIT_MASK_FONT_SIZE   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_FONT_STYLE   (0)
 
#define UNIT_MASK_FONT_VARIANT   (0)
 
#define UNIT_MASK_FONT_WEIGHT   (0)
 
#define UNIT_MASK_HEIGHT   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_LEFT   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_LETTER_SPACING   (UNIT_LENGTH)
 
#define UNIT_MASK_LINE_HEIGHT   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_LIST_STYLE_IMAGE   (0)
 
#define UNIT_MASK_LIST_STYLE_POSITION   (0)
 
#define UNIT_MASK_LIST_STYLE_TYPE   (0)
 
#define UNIT_MASK_MARGIN_SIDE   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_MAX_HEIGHT   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_MAX_WIDTH   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_MIN_HEIGHT   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_MIN_WIDTH   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_ORPHANS   (0)
 
#define UNIT_MASK_OUTLINE_COLOR   (0)
 
#define UNIT_MASK_OUTLINE_STYLE   (0)
 
#define UNIT_MASK_OUTLINE_WIDTH   (UNIT_LENGTH)
 
#define UNIT_MASK_OVERFLOW_X   (0)
 
#define UNIT_MASK_PADDING_SIDE   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_PAGE_BREAK_AFTER   (0)
 
#define UNIT_MASK_PAGE_BREAK_BEFORE   (0)
 
#define UNIT_MASK_PAGE_BREAK_INSIDE   (0)
 
#define UNIT_MASK_PAUSE_AFTER   (UNIT_TIME | UNIT_PCT)
 
#define UNIT_MASK_PAUSE_BEFORE   (UNIT_TIME | UNIT_PCT)
 
#define UNIT_MASK_PITCH_RANGE   (0)
 
#define UNIT_MASK_PITCH   (UNIT_FREQ)
 
#define UNIT_MASK_PLAY_DURING   (0)
 
#define UNIT_MASK_POSITION   (0)
 
#define UNIT_MASK_QUOTES   (0)
 
#define UNIT_MASK_RICHNESS   (0)
 
#define UNIT_MASK_RIGHT   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_SPEAK_HEADER   (0)
 
#define UNIT_MASK_SPEAK_NUMERAL   (0)
 
#define UNIT_MASK_SPEAK_PUNCTUATION   (0)
 
#define UNIT_MASK_SPEAK   (0)
 
#define UNIT_MASK_SPEECH_RATE   (0)
 
#define UNIT_MASK_STRESS   (0)
 
#define UNIT_MASK_TABLE_LAYOUT   (0)
 
#define UNIT_MASK_TEXT_ALIGN   (0)
 
#define UNIT_MASK_TEXT_DECORATION   (0)
 
#define UNIT_MASK_TEXT_INDENT   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_TEXT_TRANSFORM   (0)
 
#define UNIT_MASK_TOP   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_UNICODE_BIDI   (0)
 
#define UNIT_MASK_VERTICAL_ALIGN   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_VISIBILITY   (0)
 
#define UNIT_MASK_VOICE_FAMILY   (0)
 
#define UNIT_MASK_VOLUME   (UNIT_PCT)
 
#define UNIT_MASK_WHITE_SPACE   (0)
 
#define UNIT_MASK_WIDOWS   (0)
 
#define UNIT_MASK_WIDTH   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_WORD_SPACING   (UNIT_LENGTH)
 
#define UNIT_MASK_Z_INDEX   (0)
 
#define UNIT_MASK_OPACITY   (0)
 
#define UNIT_MASK_FILL_OPACITY   (0)
 
#define UNIT_MASK_STROKE_OPACITY   (0)
 
#define UNIT_MASK_BREAK_AFTER   (0)
 
#define UNIT_MASK_BREAK_BEFORE   (0)
 
#define UNIT_MASK_BREAK_INSIDE   (0)
 
#define UNIT_MASK_COLUMN_COUNT   (0)
 
#define UNIT_MASK_COLUMN_FILL   (0)
 
#define UNIT_MASK_COLUMN_GAP   (UNIT_LENGTH)
 
#define UNIT_MASK_COLUMN_RULE_COLOR   (0)
 
#define UNIT_MASK_COLUMN_RULE_STYLE   (0)
 
#define UNIT_MASK_COLUMN_RULE_WIDTH   (UNIT_LENGTH)
 
#define UNIT_MASK_COLUMN_SPAN   (0)
 
#define UNIT_MASK_COLUMN_WIDTH   (UNIT_LENGTH)
 
#define UNIT_MASK_WRITING_MODE   (0)
 
#define UNIT_MASK_OVERFLOW_Y   (0)
 
#define UNIT_MASK_BOX_SIZING   (0)
 
#define UNIT_MASK_ALIGN_CONTENT   (0)
 
#define UNIT_MASK_ALIGN_ITEMS   (0)
 
#define UNIT_MASK_ALIGN_SELF   (0)
 
#define UNIT_MASK_FLEX_BASIS   (UNIT_LENGTH | UNIT_PCT)
 
#define UNIT_MASK_FLEX_DIRECTION   (0)
 
#define UNIT_MASK_FLEX_GROW   (0)
 
#define UNIT_MASK_FLEX_SHRINK   (0)
 
#define UNIT_MASK_FLEX_WRAP   (0)
 
#define UNIT_MASK_JUSTIFY_CONTENT   (0)
 
#define UNIT_MASK_ORDER   (0)
 

Typedefs

typedef css_error(* css_prop_handler) (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 

Functions

css_error css__parse_align_content (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_align_items (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_align_self (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_azimuth (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_background (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_background_attachment (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_background_color (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_background_image (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_background_position (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_background_repeat (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_bottom (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_bottom_color (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_bottom_style (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_bottom_width (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_color (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_collapse (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_left (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_left_color (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_left_style (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_left_width (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_right (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_right_color (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_right_style (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_right_width (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_spacing (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_style (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_top (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_top_color (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_top_style (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_top_width (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_border_width (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_bottom (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_box_sizing (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_break_after (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_break_before (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_break_inside (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_caption_side (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_clear (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_clip (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_color (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_columns (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_column_count (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_column_fill (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_column_gap (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_column_rule (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_column_rule_color (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_column_rule_style (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_column_rule_width (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_column_span (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_column_width (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_content (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_counter_increment (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_counter_reset (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_cue (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_cue_after (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_cue_before (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_cursor (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_direction (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_display (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_elevation (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_empty_cells (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_fill_opacity (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_flex (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_flex_basis (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_flex_direction (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_flex_flow (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_flex_grow (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_flex_shrink (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_flex_wrap (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_float (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_font (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_font_family (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_font_size (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_font_style (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_font_variant (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_font_weight (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_height (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_justify_content (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_left (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_letter_spacing (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_line_height (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_list_style (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_list_style_image (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_list_style_position (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_list_style_type (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_margin (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_margin_bottom (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_margin_left (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_margin_right (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_margin_top (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_max_height (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_max_width (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_min_height (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_min_width (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_opacity (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_order (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_orphans (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_outline (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_outline_color (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_outline_style (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_outline_width (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_overflow (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_overflow_x (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_overflow_y (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_padding (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_padding_bottom (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_padding_left (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_padding_right (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_padding_top (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_page_break_after (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_page_break_before (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_page_break_inside (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_pause (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_pause_after (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_pause_before (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_pitch_range (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_pitch (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_play_during (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_position (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_quotes (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_richness (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_right (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_speak_header (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_speak_numeral (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_speak_punctuation (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_speak (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_speech_rate (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_stress (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_stroke_opacity (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_table_layout (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_text_align (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_text_decoration (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_text_indent (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_text_transform (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_top (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_unicode_bidi (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_vertical_align (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_visibility (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_voice_family (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_volume (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_white_space (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_widows (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_width (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_word_spacing (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_writing_mode (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 
css_error css__parse_z_index (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)
 

Variables

const css_prop_handler property_handlers [LAST_PROP+1 - FIRST_PROP]
 
const uint32_t property_unit_mask [CSS_N_PROPERTIES]
 

Macro Definition Documentation

◆ UNIT_MASK_ALIGN_CONTENT

#define UNIT_MASK_ALIGN_CONTENT   (0)

◆ UNIT_MASK_ALIGN_ITEMS

#define UNIT_MASK_ALIGN_ITEMS   (0)

◆ UNIT_MASK_ALIGN_SELF

#define UNIT_MASK_ALIGN_SELF   (0)

◆ UNIT_MASK_AZIMUTH

#define UNIT_MASK_AZIMUTH   (UNIT_ANGLE)

◆ UNIT_MASK_BACKGROUND_ATTACHMENT

#define UNIT_MASK_BACKGROUND_ATTACHMENT   (0)

◆ UNIT_MASK_BACKGROUND_COLOR

#define UNIT_MASK_BACKGROUND_COLOR   (0)

◆ UNIT_MASK_BACKGROUND_IMAGE

#define UNIT_MASK_BACKGROUND_IMAGE   (0)

◆ UNIT_MASK_BACKGROUND_POSITION

#define UNIT_MASK_BACKGROUND_POSITION   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_BACKGROUND_REPEAT

#define UNIT_MASK_BACKGROUND_REPEAT   (0)

◆ UNIT_MASK_BORDER_COLLAPSE

#define UNIT_MASK_BORDER_COLLAPSE   (0)

◆ UNIT_MASK_BORDER_SIDE_COLOR

#define UNIT_MASK_BORDER_SIDE_COLOR   (0)

◆ UNIT_MASK_BORDER_SIDE_STYLE

#define UNIT_MASK_BORDER_SIDE_STYLE   (0)

◆ UNIT_MASK_BORDER_SIDE_WIDTH

#define UNIT_MASK_BORDER_SIDE_WIDTH   (UNIT_LENGTH)

◆ UNIT_MASK_BORDER_SPACING

#define UNIT_MASK_BORDER_SPACING   (UNIT_LENGTH)

◆ UNIT_MASK_BOTTOM

#define UNIT_MASK_BOTTOM   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_BOX_SIZING

#define UNIT_MASK_BOX_SIZING   (0)

◆ UNIT_MASK_BREAK_AFTER

#define UNIT_MASK_BREAK_AFTER   (0)

◆ UNIT_MASK_BREAK_BEFORE

#define UNIT_MASK_BREAK_BEFORE   (0)

◆ UNIT_MASK_BREAK_INSIDE

#define UNIT_MASK_BREAK_INSIDE   (0)

◆ UNIT_MASK_CAPTION_SIDE

#define UNIT_MASK_CAPTION_SIDE   (0)

◆ UNIT_MASK_CLEAR

#define UNIT_MASK_CLEAR   (0)

◆ UNIT_MASK_CLIP

#define UNIT_MASK_CLIP   (UNIT_LENGTH)

◆ UNIT_MASK_COLOR

#define UNIT_MASK_COLOR   (0)

◆ UNIT_MASK_COLUMN_COUNT

#define UNIT_MASK_COLUMN_COUNT   (0)

◆ UNIT_MASK_COLUMN_FILL

#define UNIT_MASK_COLUMN_FILL   (0)

◆ UNIT_MASK_COLUMN_GAP

#define UNIT_MASK_COLUMN_GAP   (UNIT_LENGTH)

◆ UNIT_MASK_COLUMN_RULE_COLOR

#define UNIT_MASK_COLUMN_RULE_COLOR   (0)

◆ UNIT_MASK_COLUMN_RULE_STYLE

#define UNIT_MASK_COLUMN_RULE_STYLE   (0)

◆ UNIT_MASK_COLUMN_RULE_WIDTH

#define UNIT_MASK_COLUMN_RULE_WIDTH   (UNIT_LENGTH)

◆ UNIT_MASK_COLUMN_SPAN

#define UNIT_MASK_COLUMN_SPAN   (0)

◆ UNIT_MASK_COLUMN_WIDTH

#define UNIT_MASK_COLUMN_WIDTH   (UNIT_LENGTH)

◆ UNIT_MASK_CONTENT

#define UNIT_MASK_CONTENT   (0)

◆ UNIT_MASK_COUNTER_INCREMENT

#define UNIT_MASK_COUNTER_INCREMENT   (0)

◆ UNIT_MASK_COUNTER_RESET

#define UNIT_MASK_COUNTER_RESET   (0)

◆ UNIT_MASK_CUE_AFTER

#define UNIT_MASK_CUE_AFTER   (0)

◆ UNIT_MASK_CUE_BEFORE

#define UNIT_MASK_CUE_BEFORE   (0)

◆ UNIT_MASK_CURSOR

#define UNIT_MASK_CURSOR   (0)

◆ UNIT_MASK_DIRECTION

#define UNIT_MASK_DIRECTION   (0)

◆ UNIT_MASK_DISPLAY

#define UNIT_MASK_DISPLAY   (0)

◆ UNIT_MASK_ELEVATION

#define UNIT_MASK_ELEVATION   (UNIT_ANGLE)

◆ UNIT_MASK_EMPTY_CELLS

#define UNIT_MASK_EMPTY_CELLS   (0)

◆ UNIT_MASK_FILL_OPACITY

#define UNIT_MASK_FILL_OPACITY   (0)

◆ UNIT_MASK_FLEX_BASIS

#define UNIT_MASK_FLEX_BASIS   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_FLEX_DIRECTION

#define UNIT_MASK_FLEX_DIRECTION   (0)

◆ UNIT_MASK_FLEX_GROW

#define UNIT_MASK_FLEX_GROW   (0)

◆ UNIT_MASK_FLEX_SHRINK

#define UNIT_MASK_FLEX_SHRINK   (0)

◆ UNIT_MASK_FLEX_WRAP

#define UNIT_MASK_FLEX_WRAP   (0)

◆ UNIT_MASK_FLOAT

#define UNIT_MASK_FLOAT   (0)

◆ UNIT_MASK_FONT_FAMILY

#define UNIT_MASK_FONT_FAMILY   (0)

◆ UNIT_MASK_FONT_SIZE

#define UNIT_MASK_FONT_SIZE   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_FONT_STYLE

#define UNIT_MASK_FONT_STYLE   (0)

◆ UNIT_MASK_FONT_VARIANT

#define UNIT_MASK_FONT_VARIANT   (0)

◆ UNIT_MASK_FONT_WEIGHT

#define UNIT_MASK_FONT_WEIGHT   (0)

◆ UNIT_MASK_HEIGHT

#define UNIT_MASK_HEIGHT   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_JUSTIFY_CONTENT

#define UNIT_MASK_JUSTIFY_CONTENT   (0)

◆ UNIT_MASK_LEFT

#define UNIT_MASK_LEFT   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_LETTER_SPACING

#define UNIT_MASK_LETTER_SPACING   (UNIT_LENGTH)

◆ UNIT_MASK_LINE_HEIGHT

#define UNIT_MASK_LINE_HEIGHT   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_LIST_STYLE_IMAGE

#define UNIT_MASK_LIST_STYLE_IMAGE   (0)

◆ UNIT_MASK_LIST_STYLE_POSITION

#define UNIT_MASK_LIST_STYLE_POSITION   (0)

◆ UNIT_MASK_LIST_STYLE_TYPE

#define UNIT_MASK_LIST_STYLE_TYPE   (0)

◆ UNIT_MASK_MARGIN_SIDE

#define UNIT_MASK_MARGIN_SIDE   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_MAX_HEIGHT

#define UNIT_MASK_MAX_HEIGHT   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_MAX_WIDTH

#define UNIT_MASK_MAX_WIDTH   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_MIN_HEIGHT

#define UNIT_MASK_MIN_HEIGHT   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_MIN_WIDTH

#define UNIT_MASK_MIN_WIDTH   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_OPACITY

#define UNIT_MASK_OPACITY   (0)

◆ UNIT_MASK_ORDER

#define UNIT_MASK_ORDER   (0)

◆ UNIT_MASK_ORPHANS

#define UNIT_MASK_ORPHANS   (0)

◆ UNIT_MASK_OUTLINE_COLOR

#define UNIT_MASK_OUTLINE_COLOR   (0)

◆ UNIT_MASK_OUTLINE_STYLE

#define UNIT_MASK_OUTLINE_STYLE   (0)

◆ UNIT_MASK_OUTLINE_WIDTH

#define UNIT_MASK_OUTLINE_WIDTH   (UNIT_LENGTH)

◆ UNIT_MASK_OVERFLOW_X

#define UNIT_MASK_OVERFLOW_X   (0)

◆ UNIT_MASK_OVERFLOW_Y

#define UNIT_MASK_OVERFLOW_Y   (0)

◆ UNIT_MASK_PADDING_SIDE

#define UNIT_MASK_PADDING_SIDE   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_PAGE_BREAK_AFTER

#define UNIT_MASK_PAGE_BREAK_AFTER   (0)

◆ UNIT_MASK_PAGE_BREAK_BEFORE

#define UNIT_MASK_PAGE_BREAK_BEFORE   (0)

◆ UNIT_MASK_PAGE_BREAK_INSIDE

#define UNIT_MASK_PAGE_BREAK_INSIDE   (0)

◆ UNIT_MASK_PAUSE_AFTER

#define UNIT_MASK_PAUSE_AFTER   (UNIT_TIME | UNIT_PCT)

◆ UNIT_MASK_PAUSE_BEFORE

#define UNIT_MASK_PAUSE_BEFORE   (UNIT_TIME | UNIT_PCT)

◆ UNIT_MASK_PITCH

#define UNIT_MASK_PITCH   (UNIT_FREQ)

◆ UNIT_MASK_PITCH_RANGE

#define UNIT_MASK_PITCH_RANGE   (0)

◆ UNIT_MASK_PLAY_DURING

#define UNIT_MASK_PLAY_DURING   (0)

◆ UNIT_MASK_POSITION

#define UNIT_MASK_POSITION   (0)

◆ UNIT_MASK_QUOTES

#define UNIT_MASK_QUOTES   (0)

◆ UNIT_MASK_RICHNESS

#define UNIT_MASK_RICHNESS   (0)

◆ UNIT_MASK_RIGHT

#define UNIT_MASK_RIGHT   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_SPEAK

#define UNIT_MASK_SPEAK   (0)

◆ UNIT_MASK_SPEAK_HEADER

#define UNIT_MASK_SPEAK_HEADER   (0)

◆ UNIT_MASK_SPEAK_NUMERAL

#define UNIT_MASK_SPEAK_NUMERAL   (0)

◆ UNIT_MASK_SPEAK_PUNCTUATION

#define UNIT_MASK_SPEAK_PUNCTUATION   (0)

◆ UNIT_MASK_SPEECH_RATE

#define UNIT_MASK_SPEECH_RATE   (0)

◆ UNIT_MASK_STRESS

#define UNIT_MASK_STRESS   (0)

◆ UNIT_MASK_STROKE_OPACITY

#define UNIT_MASK_STROKE_OPACITY   (0)

◆ UNIT_MASK_TABLE_LAYOUT

#define UNIT_MASK_TABLE_LAYOUT   (0)

◆ UNIT_MASK_TEXT_ALIGN

#define UNIT_MASK_TEXT_ALIGN   (0)

◆ UNIT_MASK_TEXT_DECORATION

#define UNIT_MASK_TEXT_DECORATION   (0)

◆ UNIT_MASK_TEXT_INDENT

#define UNIT_MASK_TEXT_INDENT   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_TEXT_TRANSFORM

#define UNIT_MASK_TEXT_TRANSFORM   (0)

◆ UNIT_MASK_TOP

#define UNIT_MASK_TOP   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_UNICODE_BIDI

#define UNIT_MASK_UNICODE_BIDI   (0)

◆ UNIT_MASK_VERTICAL_ALIGN

#define UNIT_MASK_VERTICAL_ALIGN   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_VISIBILITY

#define UNIT_MASK_VISIBILITY   (0)

◆ UNIT_MASK_VOICE_FAMILY

#define UNIT_MASK_VOICE_FAMILY   (0)

◆ UNIT_MASK_VOLUME

#define UNIT_MASK_VOLUME   (UNIT_PCT)

◆ UNIT_MASK_WHITE_SPACE

#define UNIT_MASK_WHITE_SPACE   (0)

◆ UNIT_MASK_WIDOWS

#define UNIT_MASK_WIDOWS   (0)

◆ UNIT_MASK_WIDTH

#define UNIT_MASK_WIDTH   (UNIT_LENGTH | UNIT_PCT)

◆ UNIT_MASK_WORD_SPACING

#define UNIT_MASK_WORD_SPACING   (UNIT_LENGTH)

◆ UNIT_MASK_WRITING_MODE

#define UNIT_MASK_WRITING_MODE   (0)

◆ UNIT_MASK_Z_INDEX

#define UNIT_MASK_Z_INDEX   (0)

Typedef Documentation

◆ css_prop_handler

typedef css_error(* css_prop_handler) (css_language *c, const parserutils_vector *vector, int32_t *ctx, css_style *result)

Type of property handler function

Function Documentation

◆ css__parse_align_content()

css_error css__parse_align_content ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse align_content

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_align_items()

css_error css__parse_align_items ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse align_items

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_align_self()

css_error css__parse_align_self ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse align_self

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_azimuth()

css_error css__parse_azimuth ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse azimuth

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultstyle to place resulting bytcode in
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_background()

css_error css__parse_background ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse background

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_background_attachment()

css_error css__parse_background_attachment ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse background_attachment

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_background_color()

css_error css__parse_background_color ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse background_color

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_background_image()

css_error css__parse_background_image ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse background_image

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_background_position()

css_error css__parse_background_position ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse background-position

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_background_repeat()

css_error css__parse_background_repeat ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse background_repeat

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border()

css_error css__parse_border ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_bottom()

css_error css__parse_border_bottom ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_bottom

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_bottom_color()

css_error css__parse_border_bottom_color ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_bottom_color

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_bottom_style()

css_error css__parse_border_bottom_style ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_bottom_style

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_bottom_width()

css_error css__parse_border_bottom_width ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_bottom_width

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_collapse()

css_error css__parse_border_collapse ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_collapse

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_color()

css_error css__parse_border_color ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border-color shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_left()

css_error css__parse_border_left ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_left

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_left_color()

css_error css__parse_border_left_color ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_left_color

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_left_style()

css_error css__parse_border_left_style ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_left_style

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_left_width()

css_error css__parse_border_left_width ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_left_width

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_right()

css_error css__parse_border_right ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_right

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_right_color()

css_error css__parse_border_right_color ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_right_color

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_right_style()

css_error css__parse_border_right_style ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_right_style

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_right_width()

css_error css__parse_border_right_width ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_right_width

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_spacing()

css_error css__parse_border_spacing ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border-spacing

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_style()

css_error css__parse_border_style ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border-style shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_top()

css_error css__parse_border_top ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_top

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_top_color()

css_error css__parse_border_top_color ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_top_color

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_top_style()

css_error css__parse_border_top_style ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_top_style

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_top_width()

css_error css__parse_border_top_width ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border_top_width

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_border_width()

css_error css__parse_border_width ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse border-width shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_bottom()

css_error css__parse_bottom ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse bottom

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_box_sizing()

css_error css__parse_box_sizing ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse box_sizing

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_break_after()

css_error css__parse_break_after ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse break_after

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_break_before()

css_error css__parse_break_before ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse break_before

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_break_inside()

css_error css__parse_break_inside ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse break_inside

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_caption_side()

css_error css__parse_caption_side ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse caption_side

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_clear()

css_error css__parse_clear ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse clear

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_clip()

css_error css__parse_clip ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse clip

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_color()

css_error css__parse_color ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse color

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_column_count()

css_error css__parse_column_count ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse column_count

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_column_fill()

css_error css__parse_column_fill ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse column_fill

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_column_gap()

css_error css__parse_column_gap ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse column_gap

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_column_rule()

css_error css__parse_column_rule ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse column-rule shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

TODO: initial colour should be the UA-defined initial value of the "color" property, not "0"

◆ css__parse_column_rule_color()

css_error css__parse_column_rule_color ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse column_rule_color

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_column_rule_style()

css_error css__parse_column_rule_style ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse column_rule_style

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_column_rule_width()

css_error css__parse_column_rule_width ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse column_rule_width

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_column_span()

css_error css__parse_column_span ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse column_span

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_column_width()

css_error css__parse_column_width ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse column_width

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_columns()

css_error css__parse_columns ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse columns shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_content()

css_error css__parse_content ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse content

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_counter_increment()

css_error css__parse_counter_increment ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse counter_increment

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_counter_reset()

css_error css__parse_counter_reset ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse counter_reset

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_cue()

css_error css__parse_cue ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse cue shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_cue_after()

css_error css__parse_cue_after ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse cue_after

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_cue_before()

css_error css__parse_cue_before ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse cue_before

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_cursor()

css_error css__parse_cursor ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse cursor

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_direction()

css_error css__parse_direction ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse direction

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_display()

css_error css__parse_display ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse display

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_elevation()

css_error css__parse_elevation ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse elevation

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_empty_cells()

css_error css__parse_empty_cells ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse empty_cells

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_fill_opacity()

css_error css__parse_fill_opacity ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse fill-opacity

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_flex()

css_error css__parse_flex ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse list-style

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_flex_basis()

css_error css__parse_flex_basis ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse flex_basis

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_flex_direction()

css_error css__parse_flex_direction ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse flex_direction

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_flex_flow()

css_error css__parse_flex_flow ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse flex-flow

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_flex_grow()

css_error css__parse_flex_grow ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse flex_grow

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_flex_shrink()

css_error css__parse_flex_shrink ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse flex_shrink

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_flex_wrap()

css_error css__parse_flex_wrap ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse flex_wrap

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_float()

css_error css__parse_float ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse float

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_font()

css_error css__parse_font ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse font

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_font_family()

css_error css__parse_font_family ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse font-family

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_font_size()

css_error css__parse_font_size ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse font_size

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_font_style()

css_error css__parse_font_style ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse font_style

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_font_variant()

css_error css__parse_font_variant ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse font_variant

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_font_weight()

css_error css__parse_font_weight ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse font-weight

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_height()

css_error css__parse_height ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse height

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_justify_content()

css_error css__parse_justify_content ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse justify_content

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_left()

css_error css__parse_left ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse left

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_letter_spacing()

css_error css__parse_letter_spacing ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse letter_spacing

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_line_height()

css_error css__parse_line_height ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse line_height

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_list_style()

css_error css__parse_list_style ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse list-style

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_list_style_image()

css_error css__parse_list_style_image ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse list_style_image

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_list_style_position()

css_error css__parse_list_style_position ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse list_style_position

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_list_style_type()

css_error css__parse_list_style_type ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse list-style-type

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_margin()

css_error css__parse_margin ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse margin shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_margin_bottom()

css_error css__parse_margin_bottom ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse margin_bottom

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_margin_left()

css_error css__parse_margin_left ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse margin_left

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_margin_right()

css_error css__parse_margin_right ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse margin_right

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_margin_top()

css_error css__parse_margin_top ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse margin_top

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_max_height()

css_error css__parse_max_height ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse max_height

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_max_width()

css_error css__parse_max_width ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse max_width

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_min_height()

css_error css__parse_min_height ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse min_height

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_min_width()

css_error css__parse_min_width ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse min_width

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_opacity()

css_error css__parse_opacity ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse opacity

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_order()

css_error css__parse_order ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse order

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_orphans()

css_error css__parse_orphans ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse orphans

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_outline()

css_error css__parse_outline ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse outline shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_outline_color()

css_error css__parse_outline_color ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse outline_color

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_outline_style()

css_error css__parse_outline_style ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse outline_style

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_outline_width()

css_error css__parse_outline_width ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse outline_width

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_overflow()

css_error css__parse_overflow ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse overflow shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_overflow_x()

css_error css__parse_overflow_x ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse overflow_x

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_overflow_y()

css_error css__parse_overflow_y ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse overflow_y

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_padding()

css_error css__parse_padding ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse padding shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_padding_bottom()

css_error css__parse_padding_bottom ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse padding_bottom

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_padding_left()

css_error css__parse_padding_left ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse padding_left

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_padding_right()

css_error css__parse_padding_right ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse padding_right

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_padding_top()

css_error css__parse_padding_top ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse padding_top

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_page_break_after()

css_error css__parse_page_break_after ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse page_break_after

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_page_break_before()

css_error css__parse_page_break_before ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse page_break_before

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_page_break_inside()

css_error css__parse_page_break_inside ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse page_break_inside

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_pause()

css_error css__parse_pause ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse pause shorthand

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_pause_after()

css_error css__parse_pause_after ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse pause_after

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_pause_before()

css_error css__parse_pause_before ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse pause_before

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_pitch()

css_error css__parse_pitch ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse pitch

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_pitch_range()

css_error css__parse_pitch_range ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse pitch_range

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_play_during()

css_error css__parse_play_during ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse play-during

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_position()

css_error css__parse_position ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse position

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_quotes()

css_error css__parse_quotes ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse quotes

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_richness()

css_error css__parse_richness ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse richness

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_right()

css_error css__parse_right ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse right

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_speak()

css_error css__parse_speak ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse speak

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_speak_header()

css_error css__parse_speak_header ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse speak_header

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_speak_numeral()

css_error css__parse_speak_numeral ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse speak_numeral

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_speak_punctuation()

css_error css__parse_speak_punctuation ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse speak_punctuation

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_speech_rate()

css_error css__parse_speech_rate ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse speech_rate

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_stress()

css_error css__parse_stress ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse stress

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_stroke_opacity()

css_error css__parse_stroke_opacity ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse stroke-opacity

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_table_layout()

css_error css__parse_table_layout ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse table_layout

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_text_align()

css_error css__parse_text_align ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse text_align

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_text_decoration()

css_error css__parse_text_decoration ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse text-decoration

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_text_indent()

css_error css__parse_text_indent ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse text_indent

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_text_transform()

css_error css__parse_text_transform ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse text_transform

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_top()

css_error css__parse_top ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse top

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_unicode_bidi()

css_error css__parse_unicode_bidi ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse unicode_bidi

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_vertical_align()

css_error css__parse_vertical_align ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse vertical_align

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_visibility()

css_error css__parse_visibility ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse visibility

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_voice_family()

css_error css__parse_voice_family ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse voice-family

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultPointer to location to receive resulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_volume()

css_error css__parse_volume ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse volume

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_white_space()

css_error css__parse_white_space ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse white_space

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_widows()

css_error css__parse_widows ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse widows

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_width()

css_error css__parse_width ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse width

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_word_spacing()

css_error css__parse_word_spacing ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse word_spacing

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_writing_mode()

css_error css__parse_writing_mode ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse writing_mode

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

◆ css__parse_z_index()

css_error css__parse_z_index ( css_language c,
const parserutils_vector *  vector,
int32_t *  ctx,
css_style result 
)

Parse z_index

Parameters
cParsing context
vectorVector of tokens to process
ctxPointer to vector iteration context
resultresulting style
Returns
CSS_OK on success, CSS_NOMEM on memory exhaustion, CSS_INVALID if the input is not valid

Post condition: *ctx is updated with the next token to process If the input is invalid, then *ctx remains unchanged.

Variable Documentation

◆ property_handlers

const css_prop_handler property_handlers[LAST_PROP+1 - FIRST_PROP]
extern

Dispatch table of property handlers, indexed by property enum

◆ property_unit_mask

const uint32_t property_unit_mask[CSS_N_PROPERTIES]
extern

Mapping from property bytecode index to bytecode unit class mask.