diff --git a/include/mycss/declaration/serialization.h b/include/mycss/declaration/serialization.h index 229d386..7d9ac91 100644 --- a/include/mycss/declaration/serialization.h +++ b/include/mycss/declaration/serialization.h @@ -42,6 +42,7 @@ bool mycss_declaration_serialization_shorthand_four(mycss_entry_t* entry, mycss_ bool mycss_declaration_serialization_shorthand_two(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); bool mycss_declaration_serialization_shorthand_two_type(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); bool mycss_declaration_serialization_type_list(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); +bool mycss_declaration_serialization_border_radius(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); bool mycss_declaration_serialization_text_decoration(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); bool mycss_declaration_serialization_text_decoration_line(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); bool mycss_declaration_serialization_text_decoration_skip(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); diff --git a/include/mycss/declaration/serialization_resources.h b/include/mycss/declaration/serialization_resources.h index 43eaafe..d24acc0 100644 --- a/include/mycss/declaration/serialization_resources.h +++ b/include/mycss/declaration/serialization_resources.h @@ -69,7 +69,7 @@ static mycss_declaration_serialization_f mycss_declaration_serialization_map_by_ mycss_declaration_serialization_undef, mycss_declaration_serialization_undef, mycss_declaration_serialization_undef, - mycss_declaration_serialization_undef, + mycss_declaration_serialization_border_radius, mycss_declaration_serialization_undef, mycss_declaration_serialization_undef, mycss_declaration_serialization_undef, diff --git a/include/mycss/property/const.h b/include/mycss/property/const.h index 58e3b25..54a1c4a 100644 --- a/include/mycss/property/const.h +++ b/include/mycss/property/const.h @@ -343,12 +343,12 @@ enum mycss_property_value { typedef mycss_property_value_t; enum mycss_property_align_content { - MyCSS_PROPERTY_ALIGN_CONTENT_CENTER = 0x0037, - MyCSS_PROPERTY_ALIGN_CONTENT_FLEX_END = 0x0079, - MyCSS_PROPERTY_ALIGN_CONTENT_FLEX_START = 0x007a, MyCSS_PROPERTY_ALIGN_CONTENT_STRETCH = 0x014c, MyCSS_PROPERTY_ALIGN_CONTENT_SPACE_AROUND = 0x0140, - MyCSS_PROPERTY_ALIGN_CONTENT_SPACE_BETWEEN = 0x0141 + MyCSS_PROPERTY_ALIGN_CONTENT_SPACE_BETWEEN = 0x0141, + MyCSS_PROPERTY_ALIGN_CONTENT_CENTER = 0x0037, + MyCSS_PROPERTY_ALIGN_CONTENT_FLEX_END = 0x0079, + MyCSS_PROPERTY_ALIGN_CONTENT_FLEX_START = 0x007a } typedef mycss_property_align_content_t; @@ -362,12 +362,12 @@ enum mycss_property_align_items { typedef mycss_property_align_items_t; enum mycss_property_align_self { + MyCSS_PROPERTY_ALIGN_SELF_CENTER = 0x0037, + MyCSS_PROPERTY_ALIGN_SELF_FLEX_END = 0x0079, MyCSS_PROPERTY_ALIGN_SELF_AUTO = 0x0018, MyCSS_PROPERTY_ALIGN_SELF_FLEX_START = 0x007a, MyCSS_PROPERTY_ALIGN_SELF_STRETCH = 0x014c, - MyCSS_PROPERTY_ALIGN_SELF_BASELINE = 0x0022, - MyCSS_PROPERTY_ALIGN_SELF_CENTER = 0x0037, - MyCSS_PROPERTY_ALIGN_SELF_FLEX_END = 0x0079 + MyCSS_PROPERTY_ALIGN_SELF_BASELINE = 0x0022 } typedef mycss_property_align_self_t; @@ -469,11 +469,11 @@ enum mycss_property_background_color { typedef mycss_property_background_color_t; enum mycss_property_background_image { + MyCSS_PROPERTY_BACKGROUND_IMAGE_NONE = 0x00d3, MyCSS_PROPERTY_BACKGROUND_IMAGE__IMAGE = 0x0195, MyCSS_PROPERTY_BACKGROUND_IMAGE_UNSET = 0x016e, MyCSS_PROPERTY_BACKGROUND_IMAGE_INHERIT = 0x0092, - MyCSS_PROPERTY_BACKGROUND_IMAGE_INITIAL = 0x0093, - MyCSS_PROPERTY_BACKGROUND_IMAGE_NONE = 0x00d3 + MyCSS_PROPERTY_BACKGROUND_IMAGE_INITIAL = 0x0093 } typedef mycss_property_background_image_t; @@ -500,15 +500,15 @@ enum mycss_property_background_position { typedef mycss_property_background_position_t; enum mycss_property_background_repeat { - MyCSS_PROPERTY_BACKGROUND_REPEAT_SPACE = 0x013e, - MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT = 0x0110, - MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT_X = 0x0111, MyCSS_PROPERTY_BACKGROUND_REPEAT_ROUND = 0x0118, MyCSS_PROPERTY_BACKGROUND_REPEAT_UNSET = 0x016e, MyCSS_PROPERTY_BACKGROUND_REPEAT_INHERIT = 0x0092, MyCSS_PROPERTY_BACKGROUND_REPEAT_NO_REPEAT = 0x00e0, MyCSS_PROPERTY_BACKGROUND_REPEAT_INITIAL = 0x0093, - MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT_Y = 0x0112 + MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT_Y = 0x0112, + MyCSS_PROPERTY_BACKGROUND_REPEAT_SPACE = 0x013e, + MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT = 0x0110, + MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT_X = 0x0111 } typedef mycss_property_background_repeat_t; @@ -534,32 +534,30 @@ enum mycss_property_bookmark_state { typedef mycss_property_bookmark_state_t; enum mycss_property_border_bottom_color { - MyCSS_PROPERTY_BORDER_BOTTOM_COLOR_INITIAL = 0x0093, MyCSS_PROPERTY_BORDER_BOTTOM_COLOR_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_BOTTOM_COLOR__COLOR = 0x018f, - MyCSS_PROPERTY_BORDER_BOTTOM_COLOR_INHERIT = 0x0092 + MyCSS_PROPERTY_BORDER_BOTTOM_COLOR_INHERIT = 0x0092, + MyCSS_PROPERTY_BORDER_BOTTOM_COLOR_INITIAL = 0x0093 } typedef mycss_property_border_bottom_color_t; enum mycss_property_border_bottom_left_radius { + MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS__LENGTH = 0x0199, MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS_UNSET = 0x016e + MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS_INITIAL = 0x0093 } typedef mycss_property_border_bottom_left_radius_t; enum mycss_property_border_bottom_right_radius { + MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS__LENGTH = 0x0199, MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS_INHERIT = 0x0092, MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS_UNSET = 0x016e, - MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS__LENGTH = 0x0199 + MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS_UNSET = 0x016e } typedef mycss_property_border_bottom_right_radius_t; enum mycss_property_border_bottom_style { - MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_NONE = 0x00d3, MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_HIDDEN = 0x0088, MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_DOTTED = 0x005a, MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_DASHED = 0x0052, @@ -570,17 +568,19 @@ enum mycss_property_border_bottom_style { MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_OUTSET = 0x00ef, MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_SOLID = 0x013d + MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_SOLID = 0x013d, + MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_INITIAL = 0x0093, + MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_NONE = 0x00d3 } typedef mycss_property_border_bottom_style_t; enum mycss_property_border_bottom_width { + MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_THIN = 0x0162, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH__LENGTH = 0x0199, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_THICK = 0x0161, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_MEDIUM = 0x00c6, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_THIN = 0x0162, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_INITIAL = 0x0093 } typedef mycss_property_border_bottom_width_t; @@ -591,11 +591,19 @@ enum mycss_property_border_collapse { } typedef mycss_property_border_collapse_t; +enum mycss_property_border_color { + MyCSS_PROPERTY_BORDER_COLOR_UNSET = 0x016e, + MyCSS_PROPERTY_BORDER_COLOR__COLOR = 0x018f, + MyCSS_PROPERTY_BORDER_COLOR_INHERIT = 0x0092, + MyCSS_PROPERTY_BORDER_COLOR_INITIAL = 0x0093 +} +typedef mycss_property_border_color_t; + enum mycss_property_border_image_repeat { + MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_ROUND = 0x0118, MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_REPEAT = 0x0110, MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_STRETCH = 0x014c, - MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_SPACE = 0x013e, - MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_ROUND = 0x0118 + MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_SPACE = 0x013e } typedef mycss_property_border_image_repeat_t; @@ -610,10 +618,10 @@ enum mycss_property_border_image_width { typedef mycss_property_border_image_width_t; enum mycss_property_border_left_color { + MyCSS_PROPERTY_BORDER_LEFT_COLOR_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_LEFT_COLOR__COLOR = 0x018f, MyCSS_PROPERTY_BORDER_LEFT_COLOR_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_LEFT_COLOR_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_LEFT_COLOR_UNSET = 0x016e + MyCSS_PROPERTY_BORDER_LEFT_COLOR_INITIAL = 0x0093 } typedef mycss_property_border_left_color_t; @@ -654,6 +662,8 @@ enum mycss_property_border_right_color { typedef mycss_property_border_right_color_t; enum mycss_property_border_right_style { + MyCSS_PROPERTY_BORDER_RIGHT_STYLE_SOLID = 0x013d, + MyCSS_PROPERTY_BORDER_RIGHT_STYLE_INITIAL = 0x0093, MyCSS_PROPERTY_BORDER_RIGHT_STYLE_HIDDEN = 0x0088, MyCSS_PROPERTY_BORDER_RIGHT_STYLE_DOTTED = 0x005a, MyCSS_PROPERTY_BORDER_RIGHT_STYLE_DASHED = 0x0052, @@ -664,20 +674,18 @@ enum mycss_property_border_right_style { MyCSS_PROPERTY_BORDER_RIGHT_STYLE_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_RIGHT_STYLE_OUTSET = 0x00ef, MyCSS_PROPERTY_BORDER_RIGHT_STYLE_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_RIGHT_STYLE_NONE = 0x00d3, - MyCSS_PROPERTY_BORDER_RIGHT_STYLE_SOLID = 0x013d, - MyCSS_PROPERTY_BORDER_RIGHT_STYLE_INITIAL = 0x0093 + MyCSS_PROPERTY_BORDER_RIGHT_STYLE_NONE = 0x00d3 } typedef mycss_property_border_right_style_t; enum mycss_property_border_right_width { + MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_INHERIT = 0x0092, MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_THIN = 0x0162, MyCSS_PROPERTY_BORDER_RIGHT_WIDTH__LENGTH = 0x0199, MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_THICK = 0x0161, MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_MEDIUM = 0x00c6, - MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_INHERIT = 0x0092 + MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_INITIAL = 0x0093 } typedef mycss_property_border_right_width_t; @@ -707,18 +715,18 @@ enum mycss_property_border_top_color { typedef mycss_property_border_top_color_t; enum mycss_property_border_top_left_radius { + MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS_INITIAL = 0x0093, MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS__LENGTH = 0x0199, - MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS_INITIAL = 0x0093 + MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS_INHERIT = 0x0092 } typedef mycss_property_border_top_left_radius_t; enum mycss_property_border_top_right_radius { - MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS_INITIAL = 0x0093, MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS_UNSET = 0x016e, - MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS__LENGTH = 0x0199 + MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS__LENGTH = 0x0199, + MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS_INHERIT = 0x0092, + MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS_INITIAL = 0x0093 } typedef mycss_property_border_top_right_radius_t; @@ -740,24 +748,24 @@ enum mycss_property_border_top_style { typedef mycss_property_border_top_style_t; enum mycss_property_border_top_width { + MyCSS_PROPERTY_BORDER_TOP_WIDTH_MEDIUM = 0x00c6, + MyCSS_PROPERTY_BORDER_TOP_WIDTH__LENGTH = 0x0199, + MyCSS_PROPERTY_BORDER_TOP_WIDTH_THICK = 0x0161, MyCSS_PROPERTY_BORDER_TOP_WIDTH_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_TOP_WIDTH_INHERIT = 0x0092, MyCSS_PROPERTY_BORDER_TOP_WIDTH_THIN = 0x0162, - MyCSS_PROPERTY_BORDER_TOP_WIDTH_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_TOP_WIDTH_MEDIUM = 0x00c6, - MyCSS_PROPERTY_BORDER_TOP_WIDTH__LENGTH = 0x0199, - MyCSS_PROPERTY_BORDER_TOP_WIDTH_THICK = 0x0161 + MyCSS_PROPERTY_BORDER_TOP_WIDTH_INITIAL = 0x0093 } typedef mycss_property_border_top_width_t; enum mycss_property_border_width { + MyCSS_PROPERTY_BORDER_WIDTH__LENGTH = 0x0199, + MyCSS_PROPERTY_BORDER_WIDTH_INITIAL = 0x0093, + MyCSS_PROPERTY_BORDER_WIDTH_THIN = 0x0162, MyCSS_PROPERTY_BORDER_WIDTH_THICK = 0x0161, MyCSS_PROPERTY_BORDER_WIDTH_MEDIUM = 0x00c6, MyCSS_PROPERTY_BORDER_WIDTH_UNSET = 0x016e, - MyCSS_PROPERTY_BORDER_WIDTH_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_WIDTH__LENGTH = 0x0199, - MyCSS_PROPERTY_BORDER_WIDTH_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_WIDTH_THIN = 0x0162 + MyCSS_PROPERTY_BORDER_WIDTH_INHERIT = 0x0092 } typedef mycss_property_border_width_t; @@ -835,8 +843,8 @@ enum mycss_property_break_inside { typedef mycss_property_break_inside_t; enum mycss_property_caption_side { - MyCSS_PROPERTY_CAPTION_SIDE_TOP = 0x0164, - MyCSS_PROPERTY_CAPTION_SIDE_BOTTOM = 0x002d + MyCSS_PROPERTY_CAPTION_SIDE_BOTTOM = 0x002d, + MyCSS_PROPERTY_CAPTION_SIDE_TOP = 0x0164 } typedef mycss_property_caption_side_t; @@ -851,21 +859,21 @@ enum mycss_property_caret_color { typedef mycss_property_caret_color_t; enum mycss_property_caret_shape { + MyCSS_PROPERTY_CARET_SHAPE_BAR = 0x0021, MyCSS_PROPERTY_CARET_SHAPE_UNDERSCORE = 0x016b, MyCSS_PROPERTY_CARET_SHAPE_AUTO = 0x0018, - MyCSS_PROPERTY_CARET_SHAPE_BLOCK = 0x0026, - MyCSS_PROPERTY_CARET_SHAPE_BAR = 0x0021 + MyCSS_PROPERTY_CARET_SHAPE_BLOCK = 0x0026 } typedef mycss_property_caret_shape_t; enum mycss_property_clear { + MyCSS_PROPERTY_CLEAR_RIGHT = 0x0115, + MyCSS_PROPERTY_CLEAR_BOTH = 0x002c, + MyCSS_PROPERTY_CLEAR_UNSET = 0x016e, MyCSS_PROPERTY_CLEAR_LEFT = 0x00ae, MyCSS_PROPERTY_CLEAR_NONE = 0x00d3, MyCSS_PROPERTY_CLEAR_INHERIT = 0x0092, - MyCSS_PROPERTY_CLEAR_INITIAL = 0x0093, - MyCSS_PROPERTY_CLEAR_RIGHT = 0x0115, - MyCSS_PROPERTY_CLEAR_BOTH = 0x002c, - MyCSS_PROPERTY_CLEAR_UNSET = 0x016e + MyCSS_PROPERTY_CLEAR_INITIAL = 0x0093 } typedef mycss_property_clear_t; @@ -899,18 +907,18 @@ enum mycss_property_color_adjust { typedef mycss_property_color_adjust_t; enum mycss_property_color_interpolation { - MyCSS_PROPERTY_COLOR_INTERPOLATION_AUTO = 0x0018, MyCSS_PROPERTY_COLOR_INTERPOLATION_SRGB = 0x0144, MyCSS_PROPERTY_COLOR_INTERPOLATION_INHERIT = 0x0092, - MyCSS_PROPERTY_COLOR_INTERPOLATION_LINEARRGB = 0x00b3 + MyCSS_PROPERTY_COLOR_INTERPOLATION_LINEARRGB = 0x00b3, + MyCSS_PROPERTY_COLOR_INTERPOLATION_AUTO = 0x0018 } typedef mycss_property_color_interpolation_t; enum mycss_property_color_interpolation_filters { - MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_INHERIT = 0x0092, MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_LINEARRGB = 0x00b3, MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_AUTO = 0x0018, - MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_SRGB = 0x0144 + MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_SRGB = 0x0144, + MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_INHERIT = 0x0092 } typedef mycss_property_color_interpolation_filters_t; @@ -928,9 +936,9 @@ enum mycss_property_column_count { typedef mycss_property_column_count_t; enum mycss_property_column_fill { + MyCSS_PROPERTY_COLUMN_FILL_BALANCE = 0x001f, MyCSS_PROPERTY_COLUMN_FILL_AUTO = 0x0018, - MyCSS_PROPERTY_COLUMN_FILL_BALANCE_ALL = 0x0020, - MyCSS_PROPERTY_COLUMN_FILL_BALANCE = 0x001f + MyCSS_PROPERTY_COLUMN_FILL_BALANCE_ALL = 0x0020 } typedef mycss_property_column_fill_t; @@ -1007,6 +1015,11 @@ enum mycss_property_cue_before { typedef mycss_property_cue_before_t; enum mycss_property_cursor { + MyCSS_PROPERTY_CURSOR_CELL = 0x0036, + MyCSS_PROPERTY_CURSOR_DEFAULT = 0x0053, + MyCSS_PROPERTY_CURSOR_HELP = 0x0087, + MyCSS_PROPERTY_CURSOR_POINTER = 0x0102, + MyCSS_PROPERTY_CURSOR_CONTEXT_MENU = 0x004a, MyCSS_PROPERTY_CURSOR_AUTO = 0x0018, MyCSS_PROPERTY_CURSOR_NONE = 0x00d3, MyCSS_PROPERTY_CURSOR_WAIT = 0x0178, @@ -1040,12 +1053,7 @@ enum mycss_property_cursor { MyCSS_PROPERTY_CURSOR_ROW_RESIZE = 0x011a, MyCSS_PROPERTY_CURSOR_ALL_SCROLL = 0x0013, MyCSS_PROPERTY_CURSOR_ZOOM_OUT = 0x018e, - MyCSS_PROPERTY_CURSOR_INITIAL = 0x0093, - MyCSS_PROPERTY_CURSOR_CELL = 0x0036, - MyCSS_PROPERTY_CURSOR_DEFAULT = 0x0053, - MyCSS_PROPERTY_CURSOR_HELP = 0x0087, - MyCSS_PROPERTY_CURSOR_POINTER = 0x0102, - MyCSS_PROPERTY_CURSOR_CONTEXT_MENU = 0x004a + MyCSS_PROPERTY_CURSOR_INITIAL = 0x0093 } typedef mycss_property_cursor_t; @@ -1057,13 +1065,6 @@ typedef mycss_property_direction_t; enum mycss_property_display { MyCSS_PROPERTY_DISPLAY_GRID = 0x0084, - MyCSS_PROPERTY_DISPLAY_INLINE_FLEX = 0x0097, - MyCSS_PROPERTY_DISPLAY_INLINE_BLOCK = 0x0096, - MyCSS_PROPERTY_DISPLAY_INLINE_TABLE = 0x009a, - MyCSS_PROPERTY_DISPLAY_RUBY_BASE_CONTAINER = 0x011f, - MyCSS_PROPERTY_DISPLAY_RUBY_TEXT_CONTAINER = 0x0121, - MyCSS_PROPERTY_DISPLAY_INLINE_LIST_ITEM = 0x0099, - MyCSS_PROPERTY_DISPLAY_INLINE_GRID = 0x0098, MyCSS_PROPERTY_DISPLAY_TABLE = 0x0154, MyCSS_PROPERTY_DISPLAY_RUBY_BASE = 0x011e, MyCSS_PROPERTY_DISPLAY_NONE = 0x00d3, @@ -1087,7 +1088,14 @@ enum mycss_property_display { MyCSS_PROPERTY_DISPLAY_CONTENTS = 0x0046, MyCSS_PROPERTY_DISPLAY_LIST_ITEM = 0x00b7, MyCSS_PROPERTY_DISPLAY_TABLE_ROW = 0x015b, - MyCSS_PROPERTY_DISPLAY_INITIAL = 0x0093 + MyCSS_PROPERTY_DISPLAY_INITIAL = 0x0093, + MyCSS_PROPERTY_DISPLAY_INLINE_FLEX = 0x0097, + MyCSS_PROPERTY_DISPLAY_INLINE_BLOCK = 0x0096, + MyCSS_PROPERTY_DISPLAY_INLINE_TABLE = 0x009a, + MyCSS_PROPERTY_DISPLAY_RUBY_BASE_CONTAINER = 0x011f, + MyCSS_PROPERTY_DISPLAY_RUBY_TEXT_CONTAINER = 0x0121, + MyCSS_PROPERTY_DISPLAY_INLINE_LIST_ITEM = 0x0099, + MyCSS_PROPERTY_DISPLAY_INLINE_GRID = 0x0098 } typedef mycss_property_display_t; @@ -1103,9 +1111,9 @@ enum mycss_property_fill_opacity { typedef mycss_property_fill_opacity_t; enum mycss_property_fill_rule { - MyCSS_PROPERTY_FILL_RULE_EVENODD = 0x0067, + MyCSS_PROPERTY_FILL_RULE_NONZERO = 0x00d4, MyCSS_PROPERTY_FILL_RULE_INHERIT = 0x0092, - MyCSS_PROPERTY_FILL_RULE_NONZERO = 0x00d4 + MyCSS_PROPERTY_FILL_RULE_EVENODD = 0x0067 } typedef mycss_property_fill_rule_t; @@ -1115,27 +1123,27 @@ enum mycss_property_flex { typedef mycss_property_flex_t; enum mycss_property_flex_basis { - MyCSS_PROPERTY_FLEX_BASIS_AUTO = 0x0018, - MyCSS_PROPERTY_FLEX_BASIS_CONTENT = 0x0045 + MyCSS_PROPERTY_FLEX_BASIS_CONTENT = 0x0045, + MyCSS_PROPERTY_FLEX_BASIS_AUTO = 0x0018 } typedef mycss_property_flex_basis_t; enum mycss_property_flex_direction { - MyCSS_PROPERTY_FLEX_DIRECTION_COLUMN = 0x003e, - MyCSS_PROPERTY_FLEX_DIRECTION_ROW = 0x0119, MyCSS_PROPERTY_FLEX_DIRECTION_ROW_REVERSE = 0x011b, - MyCSS_PROPERTY_FLEX_DIRECTION_COLUMN_REVERSE = 0x003f + MyCSS_PROPERTY_FLEX_DIRECTION_COLUMN_REVERSE = 0x003f, + MyCSS_PROPERTY_FLEX_DIRECTION_ROW = 0x0119, + MyCSS_PROPERTY_FLEX_DIRECTION_COLUMN = 0x003e } typedef mycss_property_flex_direction_t; enum mycss_property_flex_flow { - MyCSS_PROPERTY_FLEX_FLOW_ROW_REVERSE = 0x011b, - MyCSS_PROPERTY_FLEX_FLOW_ROW = 0x0119, - MyCSS_PROPERTY_FLEX_FLOW_COLUMN = 0x003e, MyCSS_PROPERTY_FLEX_FLOW_WRAP = 0x017c, MyCSS_PROPERTY_FLEX_FLOW_NOWRAP = 0x00d7, MyCSS_PROPERTY_FLEX_FLOW_COLUMN_REVERSE = 0x003f, - MyCSS_PROPERTY_FLEX_FLOW_WRAP_REVERSE = 0x017d + MyCSS_PROPERTY_FLEX_FLOW_WRAP_REVERSE = 0x017d, + MyCSS_PROPERTY_FLEX_FLOW_ROW_REVERSE = 0x011b, + MyCSS_PROPERTY_FLEX_FLOW_ROW = 0x0119, + MyCSS_PROPERTY_FLEX_FLOW_COLUMN = 0x003e } typedef mycss_property_flex_flow_t; @@ -1147,6 +1155,7 @@ enum mycss_property_flex_wrap { typedef mycss_property_flex_wrap_t; enum mycss_property_float { + MyCSS_PROPERTY_FLOAT_TOP = 0x0164, MyCSS_PROPERTY_FLOAT_LEFT = 0x00ae, MyCSS_PROPERTY_FLOAT_NONE = 0x00d3, MyCSS_PROPERTY_FLOAT_UNSET = 0x016e, @@ -1155,8 +1164,7 @@ enum mycss_property_float { MyCSS_PROPERTY_FLOAT_RIGHT = 0x0115, MyCSS_PROPERTY_FLOAT_END = 0x0066, MyCSS_PROPERTY_FLOAT_START = 0x0146, - MyCSS_PROPERTY_FLOAT_BOTTOM = 0x002d, - MyCSS_PROPERTY_FLOAT_TOP = 0x0164 + MyCSS_PROPERTY_FLOAT_BOTTOM = 0x002d } typedef mycss_property_float_t; @@ -1187,7 +1195,6 @@ enum mycss_property_font { typedef mycss_property_font_t; enum mycss_property_font_family { - MyCSS_PROPERTY_FONT_FAMILY_SANS_SERIF = 0x0125, MyCSS_PROPERTY_FONT_FAMILY__GENERIC_FAMILY = 0x0194, MyCSS_PROPERTY_FONT_FAMILY_FANTASY = 0x006e, MyCSS_PROPERTY_FONT_FAMILY_UNSE = 0x016d, @@ -1196,7 +1203,8 @@ enum mycss_property_font_family { MyCSS_PROPERTY_FONT_FAMILY__FAMILY_NAME = 0x0193, MyCSS_PROPERTY_FONT_FAMILY_INHERIT = 0x0092, MyCSS_PROPERTY_FONT_FAMILY_MONOSPACE = 0x00cf, - MyCSS_PROPERTY_FONT_FAMILY_INITIAL = 0x0093 + MyCSS_PROPERTY_FONT_FAMILY_INITIAL = 0x0093, + MyCSS_PROPERTY_FONT_FAMILY_SANS_SERIF = 0x0125 } typedef mycss_property_font_family_t; @@ -1220,8 +1228,7 @@ enum mycss_property_font_language_override { typedef mycss_property_font_language_override_t; enum mycss_property_font_size { - MyCSS_PROPERTY_FONT_SIZE_INHERIT = 0x0092, - MyCSS_PROPERTY_FONT_SIZE_SMALLER = 0x0139, + MyCSS_PROPERTY_FONT_SIZE_INITIAL = 0x0093, MyCSS_PROPERTY_FONT_SIZE_SMALL = 0x0138, MyCSS_PROPERTY_FONT_SIZE__LENGTH = 0x0199, MyCSS_PROPERTY_FONT_SIZE_X_SMALL = 0x0188, @@ -1233,39 +1240,40 @@ enum mycss_property_font_size { MyCSS_PROPERTY_FONT_SIZE_LARGER = 0x00ab, MyCSS_PROPERTY_FONT_SIZE_X_LARGE = 0x0184, MyCSS_PROPERTY_FONT_SIZE_XX_LARGE = 0x0180, - MyCSS_PROPERTY_FONT_SIZE_INITIAL = 0x0093 + MyCSS_PROPERTY_FONT_SIZE_INHERIT = 0x0092, + MyCSS_PROPERTY_FONT_SIZE_SMALLER = 0x0139 } typedef mycss_property_font_size_t; enum mycss_property_font_size_adjust { + MyCSS_PROPERTY_FONT_SIZE_ADJUST_INHERIT = 0x0092, + MyCSS_PROPERTY_FONT_SIZE_ADJUST_INITIAL = 0x0093, MyCSS_PROPERTY_FONT_SIZE_ADJUST_UNSET = 0x016e, MyCSS_PROPERTY_FONT_SIZE_ADJUST_NONE = 0x00d3, - MyCSS_PROPERTY_FONT_SIZE_ADJUST__NUMBER = 0x019b, - MyCSS_PROPERTY_FONT_SIZE_ADJUST_INHERIT = 0x0092, - MyCSS_PROPERTY_FONT_SIZE_ADJUST_INITIAL = 0x0093 + MyCSS_PROPERTY_FONT_SIZE_ADJUST__NUMBER = 0x019b } typedef mycss_property_font_size_adjust_t; enum mycss_property_font_stretch { + MyCSS_PROPERTY_FONT_STRETCH_SEMI_EXPANDED = 0x0129, + MyCSS_PROPERTY_FONT_STRETCH_EXTRA_EXPANDED = 0x006c, + MyCSS_PROPERTY_FONT_STRETCH_SEMI_CONDENSED = 0x0128, MyCSS_PROPERTY_FONT_STRETCH_EXPANDED = 0x006a, MyCSS_PROPERTY_FONT_STRETCH_CONDENSED = 0x0043, MyCSS_PROPERTY_FONT_STRETCH_ULTRA_CONDENSED = 0x0167, MyCSS_PROPERTY_FONT_STRETCH_EXTRA_CONDENSED = 0x006b, MyCSS_PROPERTY_FONT_STRETCH_NORMAL = 0x00d5, - MyCSS_PROPERTY_FONT_STRETCH_ULTRA_EXPANDED = 0x0168, - MyCSS_PROPERTY_FONT_STRETCH_SEMI_CONDENSED = 0x0128, - MyCSS_PROPERTY_FONT_STRETCH_SEMI_EXPANDED = 0x0129, - MyCSS_PROPERTY_FONT_STRETCH_EXTRA_EXPANDED = 0x006c + MyCSS_PROPERTY_FONT_STRETCH_ULTRA_EXPANDED = 0x0168 } typedef mycss_property_font_stretch_t; enum mycss_property_font_style { - MyCSS_PROPERTY_FONT_STYLE_UNSET = 0x016e, MyCSS_PROPERTY_FONT_STYLE_NORMAL = 0x00d5, MyCSS_PROPERTY_FONT_STYLE_ITALIC = 0x00a2, MyCSS_PROPERTY_FONT_STYLE_OBLIQUE = 0x00e6, MyCSS_PROPERTY_FONT_STYLE_INHERIT = 0x0092, - MyCSS_PROPERTY_FONT_STYLE_INITIAL = 0x0093 + MyCSS_PROPERTY_FONT_STYLE_INITIAL = 0x0093, + MyCSS_PROPERTY_FONT_STYLE_UNSET = 0x016e } typedef mycss_property_font_style_t; @@ -1277,10 +1285,6 @@ enum mycss_property_font_synthesis { typedef mycss_property_font_synthesis_t; enum mycss_property_font_variant { - MyCSS_PROPERTY_FONT_VARIANT_UNICASE = 0x016c, - MyCSS_PROPERTY_FONT_VARIANT_NORMAL = 0x00d5, - MyCSS_PROPERTY_FONT_VARIANT_ALL_SMALL_CAPS = 0x0014, - MyCSS_PROPERTY_FONT_VARIANT_ORDINAL = 0x00ee, MyCSS_PROPERTY_FONT_VARIANT_SMALL_CAPS = 0x013a, MyCSS_PROPERTY_FONT_VARIANT_PETITE_CAPS = 0x0100, MyCSS_PROPERTY_FONT_VARIANT_HISTORICAL_FORMS = 0x008b, @@ -1290,7 +1294,11 @@ enum mycss_property_font_variant { MyCSS_PROPERTY_FONT_VARIANT_SLASHED_ZERO = 0x0135, MyCSS_PROPERTY_FONT_VARIANT_SUPER = 0x0151, MyCSS_PROPERTY_FONT_VARIANT_SUB = 0x0150, - MyCSS_PROPERTY_FONT_VARIANT_RUBY = 0x011d + MyCSS_PROPERTY_FONT_VARIANT_RUBY = 0x011d, + MyCSS_PROPERTY_FONT_VARIANT_NORMAL = 0x00d5, + MyCSS_PROPERTY_FONT_VARIANT_ALL_SMALL_CAPS = 0x0014, + MyCSS_PROPERTY_FONT_VARIANT_ORDINAL = 0x00ee, + MyCSS_PROPERTY_FONT_VARIANT_UNICASE = 0x016c } typedef mycss_property_font_variant_t; @@ -1301,18 +1309,17 @@ enum mycss_property_font_variant_alternates { typedef mycss_property_font_variant_alternates_t; enum mycss_property_font_variant_caps { - MyCSS_PROPERTY_FONT_VARIANT_CAPS_PETITE_CAPS = 0x0100, MyCSS_PROPERTY_FONT_VARIANT_CAPS_NORMAL = 0x00d5, MyCSS_PROPERTY_FONT_VARIANT_CAPS_UNICASE = 0x016c, MyCSS_PROPERTY_FONT_VARIANT_CAPS_SMALL_CAPS = 0x013a, MyCSS_PROPERTY_FONT_VARIANT_CAPS_ALL_SMALL_CAPS = 0x0014, MyCSS_PROPERTY_FONT_VARIANT_CAPS_ALL_PETITE_CAPS = 0x0012, - MyCSS_PROPERTY_FONT_VARIANT_CAPS_TITLING_CAPS = 0x0163 + MyCSS_PROPERTY_FONT_VARIANT_CAPS_TITLING_CAPS = 0x0163, + MyCSS_PROPERTY_FONT_VARIANT_CAPS_PETITE_CAPS = 0x0100 } typedef mycss_property_font_variant_caps_t; enum mycss_property_font_variant_east_asian { - MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_PROPORTIONAL_WIDTH = 0x010a, MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_RUBY = 0x011d, MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_JIS78 = 0x00a4, MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_NORMAL = 0x00d5, @@ -1321,21 +1328,22 @@ enum mycss_property_font_variant_east_asian { MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_SIMPLIFIED = 0x0133, MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_FULL_WIDTH = 0x0080, MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_TRADITIONAL = 0x0165, - MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_JIS04 = 0x00a3 + MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_JIS04 = 0x00a3, + MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_PROPORTIONAL_WIDTH = 0x010a } typedef mycss_property_font_variant_east_asian_t; enum mycss_property_font_variant_ligatures { - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_CONTEXTUAL = 0x0049, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_COMMON_LIGATURES = 0x0041, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_HISTORICAL_LIGATURES = 0x008c, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_DISCRETIONARY_LIGATURES = 0x0058, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_CONTEXTUAL = 0x00da, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_COMMON_LIGATURES = 0x00d8, MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NONE = 0x00d3, MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NORMAL = 0x00d5, MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_DISCRETIONARY_LIGATURES = 0x00db, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_HISTORICAL_LIGATURES = 0x00de + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_HISTORICAL_LIGATURES = 0x00de, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_CONTEXTUAL = 0x00da, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_COMMON_LIGATURES = 0x00d8, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_CONTEXTUAL = 0x0049, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_COMMON_LIGATURES = 0x0041, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_HISTORICAL_LIGATURES = 0x008c, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_DISCRETIONARY_LIGATURES = 0x0058 } typedef mycss_property_font_variant_ligatures_t; @@ -1358,14 +1366,6 @@ enum mycss_property_font_variant_position { typedef mycss_property_font_variant_position_t; enum mycss_property_font_weight { - MyCSS_PROPERTY_FONT_WEIGHT_600 = 0x0008, - MyCSS_PROPERTY_FONT_WEIGHT_700 = 0x0009, - MyCSS_PROPERTY_FONT_WEIGHT_800 = 0x000a, - MyCSS_PROPERTY_FONT_WEIGHT_900 = 0x000c, - MyCSS_PROPERTY_FONT_WEIGHT_UNSET = 0x016e, - MyCSS_PROPERTY_FONT_WEIGHT_INHERIT = 0x0092, - MyCSS_PROPERTY_FONT_WEIGHT_INITIAL = 0x0093, - MyCSS_PROPERTY_FONT_WEIGHT_500 = 0x0007, MyCSS_PROPERTY_FONT_WEIGHT_BOLDER = 0x0029, MyCSS_PROPERTY_FONT_WEIGHT_LIGHTER = 0x00b0, MyCSS_PROPERTY_FONT_WEIGHT_300 = 0x0005, @@ -1373,7 +1373,15 @@ enum mycss_property_font_weight { MyCSS_PROPERTY_FONT_WEIGHT_200 = 0x0004, MyCSS_PROPERTY_FONT_WEIGHT_100 = 0x0003, MyCSS_PROPERTY_FONT_WEIGHT_BOLD = 0x0028, - MyCSS_PROPERTY_FONT_WEIGHT_NORMAL = 0x00d5 + MyCSS_PROPERTY_FONT_WEIGHT_NORMAL = 0x00d5, + MyCSS_PROPERTY_FONT_WEIGHT_500 = 0x0007, + MyCSS_PROPERTY_FONT_WEIGHT_600 = 0x0008, + MyCSS_PROPERTY_FONT_WEIGHT_700 = 0x0009, + MyCSS_PROPERTY_FONT_WEIGHT_800 = 0x000a, + MyCSS_PROPERTY_FONT_WEIGHT_900 = 0x000c, + MyCSS_PROPERTY_FONT_WEIGHT_UNSET = 0x016e, + MyCSS_PROPERTY_FONT_WEIGHT_INHERIT = 0x0092, + MyCSS_PROPERTY_FONT_WEIGHT_INITIAL = 0x0093 } typedef mycss_property_font_weight_t; @@ -1396,24 +1404,24 @@ enum mycss_property_hanging_punctuation { typedef mycss_property_hanging_punctuation_t; enum mycss_property_height { - MyCSS_PROPERTY_HEIGHT_FIT_CONTENT = 0x0075, - MyCSS_PROPERTY_HEIGHT_UNSET = 0x016e, - MyCSS_PROPERTY_HEIGHT_INHERIT = 0x0092, - MyCSS_PROPERTY_HEIGHT_INITIAL = 0x0093, MyCSS_PROPERTY_HEIGHT_AUTO = 0x0018, MyCSS_PROPERTY_HEIGHT__LENGTH = 0x0199, MyCSS_PROPERTY_HEIGHT_COMPLEX = 0x0042, MyCSS_PROPERTY_HEIGHT_AVAILABLE = 0x0019, MyCSS_PROPERTY_HEIGHT__PERCENTAGE = 0x019c, MyCSS_PROPERTY_HEIGHT_MIN_CONTENT = 0x00cb, - MyCSS_PROPERTY_HEIGHT_MAX_CONTENT = 0x00c5 + MyCSS_PROPERTY_HEIGHT_MAX_CONTENT = 0x00c5, + MyCSS_PROPERTY_HEIGHT_FIT_CONTENT = 0x0075, + MyCSS_PROPERTY_HEIGHT_UNSET = 0x016e, + MyCSS_PROPERTY_HEIGHT_INHERIT = 0x0092, + MyCSS_PROPERTY_HEIGHT_INITIAL = 0x0093 } typedef mycss_property_height_t; enum mycss_property_hyphens { + MyCSS_PROPERTY_HYPHENS_MANUAL = 0x00c1, MyCSS_PROPERTY_HYPHENS_NONE = 0x00d3, - MyCSS_PROPERTY_HYPHENS_AUTO = 0x0018, - MyCSS_PROPERTY_HYPHENS_MANUAL = 0x00c1 + MyCSS_PROPERTY_HYPHENS_AUTO = 0x0018 } typedef mycss_property_hyphens_t; @@ -1435,11 +1443,11 @@ enum mycss_property_indent_edge_reset { typedef mycss_property_indent_edge_reset_t; enum mycss_property_justify_content { + MyCSS_PROPERTY_JUSTIFY_CONTENT_FLEX_START = 0x007a, MyCSS_PROPERTY_JUSTIFY_CONTENT_CENTER = 0x0037, MyCSS_PROPERTY_JUSTIFY_CONTENT_FLEX_END = 0x0079, MyCSS_PROPERTY_JUSTIFY_CONTENT_SPACE_AROUND = 0x0140, - MyCSS_PROPERTY_JUSTIFY_CONTENT_SPACE_BETWEEN = 0x0141, - MyCSS_PROPERTY_JUSTIFY_CONTENT_FLEX_START = 0x007a + MyCSS_PROPERTY_JUSTIFY_CONTENT_SPACE_BETWEEN = 0x0141 } typedef mycss_property_justify_content_t; @@ -1454,10 +1462,10 @@ enum mycss_property_letter_spacing { typedef mycss_property_letter_spacing_t; enum mycss_property_line_break { - MyCSS_PROPERTY_LINE_BREAK_NORMAL = 0x00d5, - MyCSS_PROPERTY_LINE_BREAK_STRICT = 0x014d, MyCSS_PROPERTY_LINE_BREAK_LOOSE = 0x00ba, - MyCSS_PROPERTY_LINE_BREAK_AUTO = 0x0018 + MyCSS_PROPERTY_LINE_BREAK_AUTO = 0x0018, + MyCSS_PROPERTY_LINE_BREAK_STRICT = 0x014d, + MyCSS_PROPERTY_LINE_BREAK_NORMAL = 0x00d5 } typedef mycss_property_line_break_t; @@ -1560,12 +1568,12 @@ enum mycss_property_marker_start { typedef mycss_property_marker_start_t; enum mycss_property_max_height { + MyCSS_PROPERTY_MAX_HEIGHT_INITIAL = 0x0093, MyCSS_PROPERTY_MAX_HEIGHT_INHERIT = 0x0092, MyCSS_PROPERTY_MAX_HEIGHT_NONE = 0x00d3, MyCSS_PROPERTY_MAX_HEIGHT__LENGTH = 0x0199, MyCSS_PROPERTY_MAX_HEIGHT_UNSET = 0x016e, - MyCSS_PROPERTY_MAX_HEIGHT__PERCENTAGE = 0x019c, - MyCSS_PROPERTY_MAX_HEIGHT_INITIAL = 0x0093 + MyCSS_PROPERTY_MAX_HEIGHT__PERCENTAGE = 0x019c } typedef mycss_property_max_height_t; @@ -1575,12 +1583,12 @@ enum mycss_property_max_lines { typedef mycss_property_max_lines_t; enum mycss_property_max_width { - MyCSS_PROPERTY_MAX_WIDTH_NONE = 0x00d3, MyCSS_PROPERTY_MAX_WIDTH__LENGTH = 0x0199, MyCSS_PROPERTY_MAX_WIDTH_UNSET = 0x016e, MyCSS_PROPERTY_MAX_WIDTH__PERCENTAGE = 0x019c, MyCSS_PROPERTY_MAX_WIDTH_INHERIT = 0x0092, - MyCSS_PROPERTY_MAX_WIDTH_INITIAL = 0x0093 + MyCSS_PROPERTY_MAX_WIDTH_INITIAL = 0x0093, + MyCSS_PROPERTY_MAX_WIDTH_NONE = 0x00d3 } typedef mycss_property_max_width_t; @@ -1594,11 +1602,11 @@ enum mycss_property_min_height { typedef mycss_property_min_height_t; enum mycss_property_min_width { - MyCSS_PROPERTY_MIN_WIDTH_UNSET = 0x016e, - MyCSS_PROPERTY_MIN_WIDTH__LENGTH = 0x0199, MyCSS_PROPERTY_MIN_WIDTH_INHERIT = 0x0092, MyCSS_PROPERTY_MIN_WIDTH_INITIAL = 0x0093, - MyCSS_PROPERTY_MIN_WIDTH__PERCENTAGE = 0x019c + MyCSS_PROPERTY_MIN_WIDTH__PERCENTAGE = 0x019c, + MyCSS_PROPERTY_MIN_WIDTH_UNSET = 0x016e, + MyCSS_PROPERTY_MIN_WIDTH__LENGTH = 0x0199 } typedef mycss_property_min_width_t; @@ -1680,17 +1688,17 @@ enum mycss_property_overflow { typedef mycss_property_overflow_t; enum mycss_property_overflow_wrap { - MyCSS_PROPERTY_OVERFLOW_WRAP_NORMAL = 0x00d5, MyCSS_PROPERTY_OVERFLOW_WRAP_BREAK_WORD = 0x0032, - MyCSS_PROPERTY_OVERFLOW_WRAP_BREAK_SPACES = 0x0031 + MyCSS_PROPERTY_OVERFLOW_WRAP_BREAK_SPACES = 0x0031, + MyCSS_PROPERTY_OVERFLOW_WRAP_NORMAL = 0x00d5 } typedef mycss_property_overflow_wrap_t; enum mycss_property_overflow_x { - MyCSS_PROPERTY_OVERFLOW_X_NO_CONTENT = 0x00d9, MyCSS_PROPERTY_OVERFLOW_X_INITIAL = 0x0093, MyCSS_PROPERTY_OVERFLOW_X_INHERIT = 0x0092, MyCSS_PROPERTY_OVERFLOW_X_NO_DISPLAY = 0x00dc, + MyCSS_PROPERTY_OVERFLOW_X_NO_CONTENT = 0x00d9, MyCSS_PROPERTY_OVERFLOW_X_AUTO = 0x0018, MyCSS_PROPERTY_OVERFLOW_X_HIDDEN = 0x0088, MyCSS_PROPERTY_OVERFLOW_X_VISIBLE = 0x0177, @@ -1783,23 +1791,23 @@ enum mycss_property_perspective { typedef mycss_property_perspective_t; enum mycss_property_perspective_origin { - MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_LEFT = 0x00ae, MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_RIGHT = 0x0115, MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_TOP = 0x0164, MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_BOTTOM = 0x002d, - MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_CENTER = 0x0037 + MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_CENTER = 0x0037, + MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_LEFT = 0x00ae } typedef mycss_property_perspective_origin_t; enum mycss_property_position { + MyCSS_PROPERTY_POSITION_INITIAL = 0x0093, + MyCSS_PROPERTY_POSITION_INHERIT = 0x0092, + MyCSS_PROPERTY_POSITION_UNSET = 0x016e, MyCSS_PROPERTY_POSITION_ABSOLUTE = 0x000e, MyCSS_PROPERTY_POSITION_RELATIVE = 0x010f, MyCSS_PROPERTY_POSITION_FIXED = 0x0076, MyCSS_PROPERTY_POSITION_STATIC = 0x0147, - MyCSS_PROPERTY_POSITION_STICKY = 0x014b, - MyCSS_PROPERTY_POSITION_INITIAL = 0x0093, - MyCSS_PROPERTY_POSITION_INHERIT = 0x0092, - MyCSS_PROPERTY_POSITION_UNSET = 0x016e + MyCSS_PROPERTY_POSITION_STICKY = 0x014b } typedef mycss_property_position_t; @@ -1821,10 +1829,10 @@ enum mycss_property_region_fragment { typedef mycss_property_region_fragment_t; enum mycss_property_resize { - MyCSS_PROPERTY_RESIZE_VERTICAL = 0x0172, - MyCSS_PROPERTY_RESIZE_HORIZONTAL = 0x008d, MyCSS_PROPERTY_RESIZE_NONE = 0x00d3, - MyCSS_PROPERTY_RESIZE_BOTH = 0x002c + MyCSS_PROPERTY_RESIZE_BOTH = 0x002c, + MyCSS_PROPERTY_RESIZE_VERTICAL = 0x0172, + MyCSS_PROPERTY_RESIZE_HORIZONTAL = 0x008d } typedef mycss_property_resize_t; @@ -1947,18 +1955,18 @@ enum mycss_property_stroke_dasharray { typedef mycss_property_stroke_dasharray_t; enum mycss_property_stroke_linecap { - MyCSS_PROPERTY_STROKE_LINECAP_BUTT = 0x0033, MyCSS_PROPERTY_STROKE_LINECAP_SQUARE = 0x0143, MyCSS_PROPERTY_STROKE_LINECAP_INHERIT = 0x0092, - MyCSS_PROPERTY_STROKE_LINECAP_ROUND = 0x0118 + MyCSS_PROPERTY_STROKE_LINECAP_ROUND = 0x0118, + MyCSS_PROPERTY_STROKE_LINECAP_BUTT = 0x0033 } typedef mycss_property_stroke_linecap_t; enum mycss_property_stroke_linejoin { - MyCSS_PROPERTY_STROKE_LINEJOIN_ROUND = 0x0118, - MyCSS_PROPERTY_STROKE_LINEJOIN_MITER = 0x00cc, MyCSS_PROPERTY_STROKE_LINEJOIN_BEVEL = 0x0023, - MyCSS_PROPERTY_STROKE_LINEJOIN_INHERIT = 0x0092 + MyCSS_PROPERTY_STROKE_LINEJOIN_INHERIT = 0x0092, + MyCSS_PROPERTY_STROKE_LINEJOIN_MITER = 0x00cc, + MyCSS_PROPERTY_STROKE_LINEJOIN_ROUND = 0x0118 } typedef mycss_property_stroke_linejoin_t; @@ -1969,45 +1977,45 @@ enum mycss_property_table_layout { typedef mycss_property_table_layout_t; enum mycss_property_text_align { - MyCSS_PROPERTY_TEXT_ALIGN_START = 0x0146, MyCSS_PROPERTY_TEXT_ALIGN_INITIAL = 0x0093, + MyCSS_PROPERTY_TEXT_ALIGN_MATCH_PARENT = 0x00c3, MyCSS_PROPERTY_TEXT_ALIGN_END = 0x0066, MyCSS_PROPERTY_TEXT_ALIGN_JUSTIFY_ALL = 0x00a8, MyCSS_PROPERTY_TEXT_ALIGN_LEFT = 0x00ae, - MyCSS_PROPERTY_TEXT_ALIGN_JUSTIFY = 0x00a7, - MyCSS_PROPERTY_TEXT_ALIGN_MATCH_PARENT = 0x00c3, - MyCSS_PROPERTY_TEXT_ALIGN_UNSET = 0x016e, - MyCSS_PROPERTY_TEXT_ALIGN_RIGHT = 0x0115, MyCSS_PROPERTY_TEXT_ALIGN_CENTER = 0x0037, - MyCSS_PROPERTY_TEXT_ALIGN_INHERIT = 0x0092 + MyCSS_PROPERTY_TEXT_ALIGN_RIGHT = 0x0115, + MyCSS_PROPERTY_TEXT_ALIGN_UNSET = 0x016e, + MyCSS_PROPERTY_TEXT_ALIGN_INHERIT = 0x0092, + MyCSS_PROPERTY_TEXT_ALIGN_JUSTIFY = 0x00a7, + MyCSS_PROPERTY_TEXT_ALIGN_START = 0x0146 } typedef mycss_property_text_align_t; enum mycss_property_text_align_all { - MyCSS_PROPERTY_TEXT_ALIGN_ALL_START = 0x0146, MyCSS_PROPERTY_TEXT_ALIGN_ALL_END = 0x0066, - MyCSS_PROPERTY_TEXT_ALIGN_ALL_CENTER = 0x0037, - MyCSS_PROPERTY_TEXT_ALIGN_ALL_LEFT = 0x00ae, + MyCSS_PROPERTY_TEXT_ALIGN_ALL_START = 0x0146, + MyCSS_PROPERTY_TEXT_ALIGN_ALL_INITIAL = 0x0093, + MyCSS_PROPERTY_TEXT_ALIGN_ALL_INHERIT = 0x0092, MyCSS_PROPERTY_TEXT_ALIGN_ALL_UNSET = 0x016e, MyCSS_PROPERTY_TEXT_ALIGN_ALL_RIGHT = 0x0115, + MyCSS_PROPERTY_TEXT_ALIGN_ALL_CENTER = 0x0037, + MyCSS_PROPERTY_TEXT_ALIGN_ALL_LEFT = 0x00ae, MyCSS_PROPERTY_TEXT_ALIGN_ALL_JUSTIFY = 0x00a7, - MyCSS_PROPERTY_TEXT_ALIGN_ALL_INHERIT = 0x0092, - MyCSS_PROPERTY_TEXT_ALIGN_ALL_INITIAL = 0x0093, MyCSS_PROPERTY_TEXT_ALIGN_ALL_MATCH_PARENT = 0x00c3 } typedef mycss_property_text_align_all_t; enum mycss_property_text_align_last { MyCSS_PROPERTY_TEXT_ALIGN_LAST_START = 0x0146, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_CENTER = 0x0037, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_UNSET = 0x016e, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_INITIAL = 0x0093, MyCSS_PROPERTY_TEXT_ALIGN_LAST_LEFT = 0x00ae, + MyCSS_PROPERTY_TEXT_ALIGN_LAST_CENTER = 0x0037, MyCSS_PROPERTY_TEXT_ALIGN_LAST_RIGHT = 0x0115, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_JUSTIFY = 0x00a7, + MyCSS_PROPERTY_TEXT_ALIGN_LAST_INITIAL = 0x0093, + MyCSS_PROPERTY_TEXT_ALIGN_LAST_UNSET = 0x016e, MyCSS_PROPERTY_TEXT_ALIGN_LAST_INHERIT = 0x0092, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_AUTO = 0x0018, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_END = 0x0066 + MyCSS_PROPERTY_TEXT_ALIGN_LAST_JUSTIFY = 0x00a7, + MyCSS_PROPERTY_TEXT_ALIGN_LAST_END = 0x0066, + MyCSS_PROPERTY_TEXT_ALIGN_LAST_AUTO = 0x0018 } typedef mycss_property_text_align_last_t; @@ -2019,35 +2027,35 @@ enum mycss_property_text_combine_upright { typedef mycss_property_text_combine_upright_t; enum mycss_property_text_decoration_color { - MyCSS_PROPERTY_TEXT_DECORATION_COLOR_UNSET = 0x016e, MyCSS_PROPERTY_TEXT_DECORATION_COLOR_INHERIT = 0x0092, MyCSS_PROPERTY_TEXT_DECORATION_COLOR_INITIAL = 0x0093, - MyCSS_PROPERTY_TEXT_DECORATION_COLOR_CURRENTCOLOR = 0x0050 + MyCSS_PROPERTY_TEXT_DECORATION_COLOR_CURRENTCOLOR = 0x0050, + MyCSS_PROPERTY_TEXT_DECORATION_COLOR_UNSET = 0x016e } typedef mycss_property_text_decoration_color_t; enum mycss_property_text_decoration_line { - MyCSS_PROPERTY_TEXT_DECORATION_LINE_LINE_THROUGH = 0x00b4, - MyCSS_PROPERTY_TEXT_DECORATION_LINE_OVERLINE = 0x00f3, MyCSS_PROPERTY_TEXT_DECORATION_LINE_UNSET = 0x016e, MyCSS_PROPERTY_TEXT_DECORATION_LINE_UNDERLINE = 0x016a, MyCSS_PROPERTY_TEXT_DECORATION_LINE_INITIAL = 0x0093, MyCSS_PROPERTY_TEXT_DECORATION_LINE_BLINK = 0x0025, MyCSS_PROPERTY_TEXT_DECORATION_LINE_INHERIT = 0x0092, - MyCSS_PROPERTY_TEXT_DECORATION_LINE_NONE = 0x00d3 + MyCSS_PROPERTY_TEXT_DECORATION_LINE_NONE = 0x00d3, + MyCSS_PROPERTY_TEXT_DECORATION_LINE_LINE_THROUGH = 0x00b4, + MyCSS_PROPERTY_TEXT_DECORATION_LINE_OVERLINE = 0x00f3 } typedef mycss_property_text_decoration_line_t; enum mycss_property_text_decoration_skip { + MyCSS_PROPERTY_TEXT_DECORATION_SKIP_NONE = 0x00d3, + MyCSS_PROPERTY_TEXT_DECORATION_SKIP_INK = 0x0094, + MyCSS_PROPERTY_TEXT_DECORATION_SKIP_UNSET = 0x016e, MyCSS_PROPERTY_TEXT_DECORATION_SKIP_INHERIT = 0x0092, MyCSS_PROPERTY_TEXT_DECORATION_SKIP_INITIAL = 0x0093, MyCSS_PROPERTY_TEXT_DECORATION_SKIP_BOX_DECORATION = 0x002e, MyCSS_PROPERTY_TEXT_DECORATION_SKIP_SPACES = 0x013f, MyCSS_PROPERTY_TEXT_DECORATION_SKIP_OBJECTS = 0x00e5, - MyCSS_PROPERTY_TEXT_DECORATION_SKIP_EDGES = 0x0063, - MyCSS_PROPERTY_TEXT_DECORATION_SKIP_INK = 0x0094, - MyCSS_PROPERTY_TEXT_DECORATION_SKIP_NONE = 0x00d3, - MyCSS_PROPERTY_TEXT_DECORATION_SKIP_UNSET = 0x016e + MyCSS_PROPERTY_TEXT_DECORATION_SKIP_EDGES = 0x0063 } typedef mycss_property_text_decoration_skip_t; @@ -2077,14 +2085,14 @@ enum mycss_property_text_emphasis_position { typedef mycss_property_text_emphasis_position_t; enum mycss_property_text_emphasis_style { - MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_CIRCLE = 0x0038, - MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_DOT = 0x0059, - MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_NONE = 0x00d3, MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_OPEN = 0x00ea, MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_FILLED = 0x0071, MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_DOUBLE_CIRCLE = 0x005c, MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_SESAMEINITIAL = 0x012c, - MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_TRIANGLE = 0x0166 + MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_TRIANGLE = 0x0166, + MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_CIRCLE = 0x0038, + MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_DOT = 0x0059, + MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_NONE = 0x00d3 } typedef mycss_property_text_emphasis_style_t; @@ -2095,10 +2103,10 @@ enum mycss_property_text_indent { typedef mycss_property_text_indent_t; enum mycss_property_text_justify { - MyCSS_PROPERTY_TEXT_JUSTIFY_NONE = 0x00d3, MyCSS_PROPERTY_TEXT_JUSTIFY_AUTO = 0x0018, + MyCSS_PROPERTY_TEXT_JUSTIFY_INTER_CHARACTER = 0x009d, MyCSS_PROPERTY_TEXT_JUSTIFY_INTER_WORD = 0x009e, - MyCSS_PROPERTY_TEXT_JUSTIFY_INTER_CHARACTER = 0x009d + MyCSS_PROPERTY_TEXT_JUSTIFY_NONE = 0x00d3 } typedef mycss_property_text_justify_t; @@ -2158,6 +2166,7 @@ enum mycss_property_top { typedef mycss_property_top_t; enum mycss_property_touch_action { + MyCSS_PROPERTY_TOUCH_ACTION_NONE = 0x00d3, MyCSS_PROPERTY_TOUCH_ACTION_PAN_RIGHT = 0x00fb, MyCSS_PROPERTY_TOUCH_ACTION_PAN_UP = 0x00fc, MyCSS_PROPERTY_TOUCH_ACTION_PAN_LEFT = 0x00fa, @@ -2165,8 +2174,7 @@ enum mycss_property_touch_action { MyCSS_PROPERTY_TOUCH_ACTION_AUTO = 0x0018, MyCSS_PROPERTY_TOUCH_ACTION_PAN_Y = 0x00fe, MyCSS_PROPERTY_TOUCH_ACTION_PAN_DOWN = 0x00f9, - MyCSS_PROPERTY_TOUCH_ACTION_MANIPULATION = 0x00c0, - MyCSS_PROPERTY_TOUCH_ACTION_NONE = 0x00d3 + MyCSS_PROPERTY_TOUCH_ACTION_MANIPULATION = 0x00c0 } typedef mycss_property_touch_action_t; @@ -2205,13 +2213,13 @@ enum mycss_property_transition_property { typedef mycss_property_transition_property_t; enum mycss_property_transition_timing_function { - MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_LINEAR = 0x00b2, MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_EASE = 0x005e, MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_EASE_IN = 0x005f, MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_EASE_OUT = 0x0061, MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_STEP_END = 0x0149, MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_STEP_START = 0x014a, - MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_EASE_IN_OUT = 0x0060 + MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_EASE_IN_OUT = 0x0060, + MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_LINEAR = 0x00b2 } typedef mycss_property_transition_timing_function_t; @@ -2320,21 +2328,21 @@ enum mycss_property_voice_stress { typedef mycss_property_voice_stress_t; enum mycss_property_voice_volume { - MyCSS_PROPERTY_VOICE_VOLUME_LOUD = 0x00bb, - MyCSS_PROPERTY_VOICE_VOLUME_MEDIUM = 0x00c6, - MyCSS_PROPERTY_VOICE_VOLUME_X_LOUD = 0x0185, MyCSS_PROPERTY_VOICE_VOLUME_X_SOFT = 0x0189, MyCSS_PROPERTY_VOICE_VOLUME_SILENT = 0x0132, - MyCSS_PROPERTY_VOICE_VOLUME_SOFT = 0x013c + MyCSS_PROPERTY_VOICE_VOLUME_SOFT = 0x013c, + MyCSS_PROPERTY_VOICE_VOLUME_LOUD = 0x00bb, + MyCSS_PROPERTY_VOICE_VOLUME_MEDIUM = 0x00c6, + MyCSS_PROPERTY_VOICE_VOLUME_X_LOUD = 0x0185 } typedef mycss_property_voice_volume_t; enum mycss_property_white_space { + MyCSS_PROPERTY_WHITE_SPACE_PRE = 0x0103, MyCSS_PROPERTY_WHITE_SPACE_NORMAL = 0x00d5, MyCSS_PROPERTY_WHITE_SPACE_NOWRAP = 0x00d7, MyCSS_PROPERTY_WHITE_SPACE_PRE_WRAP = 0x0107, - MyCSS_PROPERTY_WHITE_SPACE_PRE_LINE = 0x0106, - MyCSS_PROPERTY_WHITE_SPACE_PRE = 0x0103 + MyCSS_PROPERTY_WHITE_SPACE_PRE_LINE = 0x0106 } typedef mycss_property_white_space_t; @@ -2360,9 +2368,9 @@ enum mycss_property_will_change { typedef mycss_property_will_change_t; enum mycss_property_word_break { - MyCSS_PROPERTY_WORD_BREAK_BREAK_ALL = 0x0030, MyCSS_PROPERTY_WORD_BREAK_KEEP_ALL = 0x00a9, - MyCSS_PROPERTY_WORD_BREAK_NORMAL = 0x00d5 + MyCSS_PROPERTY_WORD_BREAK_NORMAL = 0x00d5, + MyCSS_PROPERTY_WORD_BREAK_BREAK_ALL = 0x0030 } typedef mycss_property_word_break_t; @@ -2373,8 +2381,8 @@ typedef mycss_property_word_spacing_t; enum mycss_property_word_wrap { MyCSS_PROPERTY_WORD_WRAP_NORMAL = 0x00d5, - MyCSS_PROPERTY_WORD_WRAP_BREAK_SPACES = 0x0031, - MyCSS_PROPERTY_WORD_WRAP_BREAK_WORD = 0x0032 + MyCSS_PROPERTY_WORD_WRAP_BREAK_WORD = 0x0032, + MyCSS_PROPERTY_WORD_WRAP_BREAK_SPACES = 0x0031 } typedef mycss_property_word_wrap_t; @@ -2405,10 +2413,10 @@ enum mycss_property_writing_mode { typedef mycss_property_writing_mode_t; enum mycss_property_z_index { + MyCSS_PROPERTY_Z_INDEX_AUTO = 0x0018, MyCSS_PROPERTY_Z_INDEX_UNSET = 0x016e, MyCSS_PROPERTY_Z_INDEX_INHERIT = 0x0092, - MyCSS_PROPERTY_Z_INDEX_INITIAL = 0x0093, - MyCSS_PROPERTY_Z_INDEX_AUTO = 0x0018 + MyCSS_PROPERTY_Z_INDEX_INITIAL = 0x0093 } typedef mycss_property_z_index_t; diff --git a/source/mycss/declaration/entry_destroy.c b/source/mycss/declaration/entry_destroy.c index d00729e..fe29f31 100644 --- a/source/mycss/declaration/entry_destroy.c +++ b/source/mycss/declaration/entry_destroy.c @@ -67,6 +67,11 @@ mycss_declaration_entry_t * mycss_declaration_entry_destroy_border_width(mycss_d return mycss_declaration_entry_destroy_padding(declaration, decl_entry, self_destroy); } +mycss_declaration_entry_t * mycss_declaration_entry_destroy_border_radius(mycss_declaration_t* declaration, mycss_declaration_entry_t* decl_entry, bool self_destroy) +{ + return mycss_declaration_entry_destroy_padding(declaration, decl_entry, self_destroy); +} + mycss_declaration_entry_t * mycss_declaration_entry_destroy_border_style(mycss_declaration_t* declaration, mycss_declaration_entry_t* decl_entry, bool self_destroy) { return mycss_declaration_entry_destroy_padding(declaration, decl_entry, self_destroy); diff --git a/source/mycss/declaration/serialization.c b/source/mycss/declaration/serialization.c index f6b297f..3e07579 100644 --- a/source/mycss/declaration/serialization.c +++ b/source/mycss/declaration/serialization.c @@ -312,6 +312,79 @@ bool mycss_declaration_serialization_font(mycss_entry_t* entry, mycss_declaratio return true; } +bool mycss_declaration_serialization_border_radius(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, + mycss_callback_serialization_f callback, void* context) +{ + if(dec_entry == NULL) + return false; + + if(dec_entry->value == NULL) + return mycss_declaration_serialization_undef(entry, dec_entry, callback, context); + + mycss_values_shorthand_four_t *value = (mycss_values_shorthand_four_t*)dec_entry->value; + mycss_values_shorthand_two_type_t *short_two_type; + + bool o_e = false; + + if(value->one) { + o_e = true; + short_two_type = value->one->value; + mycss_property_serialization_value(short_two_type->type_one, short_two_type->one, callback, context); + } + + if(value->two) { + if(o_e) callback(" ", 1, context); else o_e = true; + + short_two_type = value->two->value; + mycss_property_serialization_value(short_two_type->type_one, short_two_type->one, callback, context); + } + + if(value->three) { + if(o_e) callback(" ", 1, context); else o_e = true; + + short_two_type = value->three->value; + mycss_property_serialization_value(short_two_type->type_one, short_two_type->one, callback, context); + } + + if(value->four) { + if(o_e) callback(" ", 1, context); else o_e = true; + + short_two_type = value->four->value; + mycss_property_serialization_value(short_two_type->type_one, short_two_type->one, callback, context); + } + + callback(" / ", 3, context); + + if(value->one && ((mycss_values_shorthand_two_type_t*)(value->one->value))->two) { + o_e = true; + short_two_type = value->one->value; + mycss_property_serialization_value(short_two_type->type_two, short_two_type->two, callback, context); + } + + if(value->two && ((mycss_values_shorthand_two_type_t*)(value->two->value))->two) { + if(o_e) callback(" ", 1, context); else o_e = true; + + short_two_type = value->two->value; + mycss_property_serialization_value(short_two_type->type_two, short_two_type->two, callback, context); + } + + if(value->three && ((mycss_values_shorthand_two_type_t*)(value->three->value))->two) { + if(o_e) callback(" ", 1, context); else o_e = true; + + short_two_type = value->three->value; + mycss_property_serialization_value(short_two_type->type_two, short_two_type->two, callback, context); + } + + if(value->four && ((mycss_values_shorthand_two_type_t*)(value->four->value))->two) { + if(o_e) callback(" ", 1, context); else o_e = true; + + short_two_type = value->four->value; + mycss_property_serialization_value(short_two_type->type_two, short_two_type->two, callback, context); + } + + return true; +} + bool mycss_declaration_serialization_text_decoration_line(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context) { diff --git a/source/mycss/declaration/serialization.h b/source/mycss/declaration/serialization.h index f62736e..fc0eb84 100644 --- a/source/mycss/declaration/serialization.h +++ b/source/mycss/declaration/serialization.h @@ -42,6 +42,7 @@ bool mycss_declaration_serialization_shorthand_four(mycss_entry_t* entry, mycss_ bool mycss_declaration_serialization_shorthand_two(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); bool mycss_declaration_serialization_shorthand_two_type(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); bool mycss_declaration_serialization_type_list(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); +bool mycss_declaration_serialization_border_radius(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); bool mycss_declaration_serialization_text_decoration(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); bool mycss_declaration_serialization_text_decoration_line(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); bool mycss_declaration_serialization_text_decoration_skip(mycss_entry_t* entry, mycss_declaration_entry_t* dec_entry, mycss_callback_serialization_f callback, void* context); diff --git a/source/mycss/declaration/serialization_resources.h b/source/mycss/declaration/serialization_resources.h index 43eaafe..d24acc0 100644 --- a/source/mycss/declaration/serialization_resources.h +++ b/source/mycss/declaration/serialization_resources.h @@ -69,7 +69,7 @@ static mycss_declaration_serialization_f mycss_declaration_serialization_map_by_ mycss_declaration_serialization_undef, mycss_declaration_serialization_undef, mycss_declaration_serialization_undef, - mycss_declaration_serialization_undef, + mycss_declaration_serialization_border_radius, mycss_declaration_serialization_undef, mycss_declaration_serialization_undef, mycss_declaration_serialization_undef, diff --git a/source/mycss/property/const.h b/source/mycss/property/const.h index 58e3b25..54a1c4a 100644 --- a/source/mycss/property/const.h +++ b/source/mycss/property/const.h @@ -343,12 +343,12 @@ enum mycss_property_value { typedef mycss_property_value_t; enum mycss_property_align_content { - MyCSS_PROPERTY_ALIGN_CONTENT_CENTER = 0x0037, - MyCSS_PROPERTY_ALIGN_CONTENT_FLEX_END = 0x0079, - MyCSS_PROPERTY_ALIGN_CONTENT_FLEX_START = 0x007a, MyCSS_PROPERTY_ALIGN_CONTENT_STRETCH = 0x014c, MyCSS_PROPERTY_ALIGN_CONTENT_SPACE_AROUND = 0x0140, - MyCSS_PROPERTY_ALIGN_CONTENT_SPACE_BETWEEN = 0x0141 + MyCSS_PROPERTY_ALIGN_CONTENT_SPACE_BETWEEN = 0x0141, + MyCSS_PROPERTY_ALIGN_CONTENT_CENTER = 0x0037, + MyCSS_PROPERTY_ALIGN_CONTENT_FLEX_END = 0x0079, + MyCSS_PROPERTY_ALIGN_CONTENT_FLEX_START = 0x007a } typedef mycss_property_align_content_t; @@ -362,12 +362,12 @@ enum mycss_property_align_items { typedef mycss_property_align_items_t; enum mycss_property_align_self { + MyCSS_PROPERTY_ALIGN_SELF_CENTER = 0x0037, + MyCSS_PROPERTY_ALIGN_SELF_FLEX_END = 0x0079, MyCSS_PROPERTY_ALIGN_SELF_AUTO = 0x0018, MyCSS_PROPERTY_ALIGN_SELF_FLEX_START = 0x007a, MyCSS_PROPERTY_ALIGN_SELF_STRETCH = 0x014c, - MyCSS_PROPERTY_ALIGN_SELF_BASELINE = 0x0022, - MyCSS_PROPERTY_ALIGN_SELF_CENTER = 0x0037, - MyCSS_PROPERTY_ALIGN_SELF_FLEX_END = 0x0079 + MyCSS_PROPERTY_ALIGN_SELF_BASELINE = 0x0022 } typedef mycss_property_align_self_t; @@ -469,11 +469,11 @@ enum mycss_property_background_color { typedef mycss_property_background_color_t; enum mycss_property_background_image { + MyCSS_PROPERTY_BACKGROUND_IMAGE_NONE = 0x00d3, MyCSS_PROPERTY_BACKGROUND_IMAGE__IMAGE = 0x0195, MyCSS_PROPERTY_BACKGROUND_IMAGE_UNSET = 0x016e, MyCSS_PROPERTY_BACKGROUND_IMAGE_INHERIT = 0x0092, - MyCSS_PROPERTY_BACKGROUND_IMAGE_INITIAL = 0x0093, - MyCSS_PROPERTY_BACKGROUND_IMAGE_NONE = 0x00d3 + MyCSS_PROPERTY_BACKGROUND_IMAGE_INITIAL = 0x0093 } typedef mycss_property_background_image_t; @@ -500,15 +500,15 @@ enum mycss_property_background_position { typedef mycss_property_background_position_t; enum mycss_property_background_repeat { - MyCSS_PROPERTY_BACKGROUND_REPEAT_SPACE = 0x013e, - MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT = 0x0110, - MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT_X = 0x0111, MyCSS_PROPERTY_BACKGROUND_REPEAT_ROUND = 0x0118, MyCSS_PROPERTY_BACKGROUND_REPEAT_UNSET = 0x016e, MyCSS_PROPERTY_BACKGROUND_REPEAT_INHERIT = 0x0092, MyCSS_PROPERTY_BACKGROUND_REPEAT_NO_REPEAT = 0x00e0, MyCSS_PROPERTY_BACKGROUND_REPEAT_INITIAL = 0x0093, - MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT_Y = 0x0112 + MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT_Y = 0x0112, + MyCSS_PROPERTY_BACKGROUND_REPEAT_SPACE = 0x013e, + MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT = 0x0110, + MyCSS_PROPERTY_BACKGROUND_REPEAT_REPEAT_X = 0x0111 } typedef mycss_property_background_repeat_t; @@ -534,32 +534,30 @@ enum mycss_property_bookmark_state { typedef mycss_property_bookmark_state_t; enum mycss_property_border_bottom_color { - MyCSS_PROPERTY_BORDER_BOTTOM_COLOR_INITIAL = 0x0093, MyCSS_PROPERTY_BORDER_BOTTOM_COLOR_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_BOTTOM_COLOR__COLOR = 0x018f, - MyCSS_PROPERTY_BORDER_BOTTOM_COLOR_INHERIT = 0x0092 + MyCSS_PROPERTY_BORDER_BOTTOM_COLOR_INHERIT = 0x0092, + MyCSS_PROPERTY_BORDER_BOTTOM_COLOR_INITIAL = 0x0093 } typedef mycss_property_border_bottom_color_t; enum mycss_property_border_bottom_left_radius { + MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS__LENGTH = 0x0199, MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS_UNSET = 0x016e + MyCSS_PROPERTY_BORDER_BOTTOM_LEFT_RADIUS_INITIAL = 0x0093 } typedef mycss_property_border_bottom_left_radius_t; enum mycss_property_border_bottom_right_radius { + MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS__LENGTH = 0x0199, MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS_INHERIT = 0x0092, MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS_UNSET = 0x016e, - MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS__LENGTH = 0x0199 + MyCSS_PROPERTY_BORDER_BOTTOM_RIGHT_RADIUS_UNSET = 0x016e } typedef mycss_property_border_bottom_right_radius_t; enum mycss_property_border_bottom_style { - MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_NONE = 0x00d3, MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_HIDDEN = 0x0088, MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_DOTTED = 0x005a, MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_DASHED = 0x0052, @@ -570,17 +568,19 @@ enum mycss_property_border_bottom_style { MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_OUTSET = 0x00ef, MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_SOLID = 0x013d + MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_SOLID = 0x013d, + MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_INITIAL = 0x0093, + MyCSS_PROPERTY_BORDER_BOTTOM_STYLE_NONE = 0x00d3 } typedef mycss_property_border_bottom_style_t; enum mycss_property_border_bottom_width { + MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_THIN = 0x0162, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH__LENGTH = 0x0199, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_THICK = 0x0161, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_MEDIUM = 0x00c6, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_THIN = 0x0162, MyCSS_PROPERTY_BORDER_BOTTOM_WIDTH_INITIAL = 0x0093 } typedef mycss_property_border_bottom_width_t; @@ -591,11 +591,19 @@ enum mycss_property_border_collapse { } typedef mycss_property_border_collapse_t; +enum mycss_property_border_color { + MyCSS_PROPERTY_BORDER_COLOR_UNSET = 0x016e, + MyCSS_PROPERTY_BORDER_COLOR__COLOR = 0x018f, + MyCSS_PROPERTY_BORDER_COLOR_INHERIT = 0x0092, + MyCSS_PROPERTY_BORDER_COLOR_INITIAL = 0x0093 +} +typedef mycss_property_border_color_t; + enum mycss_property_border_image_repeat { + MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_ROUND = 0x0118, MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_REPEAT = 0x0110, MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_STRETCH = 0x014c, - MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_SPACE = 0x013e, - MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_ROUND = 0x0118 + MyCSS_PROPERTY_BORDER_IMAGE_REPEAT_SPACE = 0x013e } typedef mycss_property_border_image_repeat_t; @@ -610,10 +618,10 @@ enum mycss_property_border_image_width { typedef mycss_property_border_image_width_t; enum mycss_property_border_left_color { + MyCSS_PROPERTY_BORDER_LEFT_COLOR_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_LEFT_COLOR__COLOR = 0x018f, MyCSS_PROPERTY_BORDER_LEFT_COLOR_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_LEFT_COLOR_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_LEFT_COLOR_UNSET = 0x016e + MyCSS_PROPERTY_BORDER_LEFT_COLOR_INITIAL = 0x0093 } typedef mycss_property_border_left_color_t; @@ -654,6 +662,8 @@ enum mycss_property_border_right_color { typedef mycss_property_border_right_color_t; enum mycss_property_border_right_style { + MyCSS_PROPERTY_BORDER_RIGHT_STYLE_SOLID = 0x013d, + MyCSS_PROPERTY_BORDER_RIGHT_STYLE_INITIAL = 0x0093, MyCSS_PROPERTY_BORDER_RIGHT_STYLE_HIDDEN = 0x0088, MyCSS_PROPERTY_BORDER_RIGHT_STYLE_DOTTED = 0x005a, MyCSS_PROPERTY_BORDER_RIGHT_STYLE_DASHED = 0x0052, @@ -664,20 +674,18 @@ enum mycss_property_border_right_style { MyCSS_PROPERTY_BORDER_RIGHT_STYLE_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_RIGHT_STYLE_OUTSET = 0x00ef, MyCSS_PROPERTY_BORDER_RIGHT_STYLE_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_RIGHT_STYLE_NONE = 0x00d3, - MyCSS_PROPERTY_BORDER_RIGHT_STYLE_SOLID = 0x013d, - MyCSS_PROPERTY_BORDER_RIGHT_STYLE_INITIAL = 0x0093 + MyCSS_PROPERTY_BORDER_RIGHT_STYLE_NONE = 0x00d3 } typedef mycss_property_border_right_style_t; enum mycss_property_border_right_width { + MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_INHERIT = 0x0092, MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_THIN = 0x0162, MyCSS_PROPERTY_BORDER_RIGHT_WIDTH__LENGTH = 0x0199, MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_THICK = 0x0161, MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_MEDIUM = 0x00c6, - MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_INHERIT = 0x0092 + MyCSS_PROPERTY_BORDER_RIGHT_WIDTH_INITIAL = 0x0093 } typedef mycss_property_border_right_width_t; @@ -707,18 +715,18 @@ enum mycss_property_border_top_color { typedef mycss_property_border_top_color_t; enum mycss_property_border_top_left_radius { + MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS_INITIAL = 0x0093, MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS__LENGTH = 0x0199, - MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS_INITIAL = 0x0093 + MyCSS_PROPERTY_BORDER_TOP_LEFT_RADIUS_INHERIT = 0x0092 } typedef mycss_property_border_top_left_radius_t; enum mycss_property_border_top_right_radius { - MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS_INITIAL = 0x0093, MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS_UNSET = 0x016e, - MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS__LENGTH = 0x0199 + MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS__LENGTH = 0x0199, + MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS_INHERIT = 0x0092, + MyCSS_PROPERTY_BORDER_TOP_RIGHT_RADIUS_INITIAL = 0x0093 } typedef mycss_property_border_top_right_radius_t; @@ -740,24 +748,24 @@ enum mycss_property_border_top_style { typedef mycss_property_border_top_style_t; enum mycss_property_border_top_width { + MyCSS_PROPERTY_BORDER_TOP_WIDTH_MEDIUM = 0x00c6, + MyCSS_PROPERTY_BORDER_TOP_WIDTH__LENGTH = 0x0199, + MyCSS_PROPERTY_BORDER_TOP_WIDTH_THICK = 0x0161, MyCSS_PROPERTY_BORDER_TOP_WIDTH_UNSET = 0x016e, MyCSS_PROPERTY_BORDER_TOP_WIDTH_INHERIT = 0x0092, MyCSS_PROPERTY_BORDER_TOP_WIDTH_THIN = 0x0162, - MyCSS_PROPERTY_BORDER_TOP_WIDTH_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_TOP_WIDTH_MEDIUM = 0x00c6, - MyCSS_PROPERTY_BORDER_TOP_WIDTH__LENGTH = 0x0199, - MyCSS_PROPERTY_BORDER_TOP_WIDTH_THICK = 0x0161 + MyCSS_PROPERTY_BORDER_TOP_WIDTH_INITIAL = 0x0093 } typedef mycss_property_border_top_width_t; enum mycss_property_border_width { + MyCSS_PROPERTY_BORDER_WIDTH__LENGTH = 0x0199, + MyCSS_PROPERTY_BORDER_WIDTH_INITIAL = 0x0093, + MyCSS_PROPERTY_BORDER_WIDTH_THIN = 0x0162, MyCSS_PROPERTY_BORDER_WIDTH_THICK = 0x0161, MyCSS_PROPERTY_BORDER_WIDTH_MEDIUM = 0x00c6, MyCSS_PROPERTY_BORDER_WIDTH_UNSET = 0x016e, - MyCSS_PROPERTY_BORDER_WIDTH_INHERIT = 0x0092, - MyCSS_PROPERTY_BORDER_WIDTH__LENGTH = 0x0199, - MyCSS_PROPERTY_BORDER_WIDTH_INITIAL = 0x0093, - MyCSS_PROPERTY_BORDER_WIDTH_THIN = 0x0162 + MyCSS_PROPERTY_BORDER_WIDTH_INHERIT = 0x0092 } typedef mycss_property_border_width_t; @@ -835,8 +843,8 @@ enum mycss_property_break_inside { typedef mycss_property_break_inside_t; enum mycss_property_caption_side { - MyCSS_PROPERTY_CAPTION_SIDE_TOP = 0x0164, - MyCSS_PROPERTY_CAPTION_SIDE_BOTTOM = 0x002d + MyCSS_PROPERTY_CAPTION_SIDE_BOTTOM = 0x002d, + MyCSS_PROPERTY_CAPTION_SIDE_TOP = 0x0164 } typedef mycss_property_caption_side_t; @@ -851,21 +859,21 @@ enum mycss_property_caret_color { typedef mycss_property_caret_color_t; enum mycss_property_caret_shape { + MyCSS_PROPERTY_CARET_SHAPE_BAR = 0x0021, MyCSS_PROPERTY_CARET_SHAPE_UNDERSCORE = 0x016b, MyCSS_PROPERTY_CARET_SHAPE_AUTO = 0x0018, - MyCSS_PROPERTY_CARET_SHAPE_BLOCK = 0x0026, - MyCSS_PROPERTY_CARET_SHAPE_BAR = 0x0021 + MyCSS_PROPERTY_CARET_SHAPE_BLOCK = 0x0026 } typedef mycss_property_caret_shape_t; enum mycss_property_clear { + MyCSS_PROPERTY_CLEAR_RIGHT = 0x0115, + MyCSS_PROPERTY_CLEAR_BOTH = 0x002c, + MyCSS_PROPERTY_CLEAR_UNSET = 0x016e, MyCSS_PROPERTY_CLEAR_LEFT = 0x00ae, MyCSS_PROPERTY_CLEAR_NONE = 0x00d3, MyCSS_PROPERTY_CLEAR_INHERIT = 0x0092, - MyCSS_PROPERTY_CLEAR_INITIAL = 0x0093, - MyCSS_PROPERTY_CLEAR_RIGHT = 0x0115, - MyCSS_PROPERTY_CLEAR_BOTH = 0x002c, - MyCSS_PROPERTY_CLEAR_UNSET = 0x016e + MyCSS_PROPERTY_CLEAR_INITIAL = 0x0093 } typedef mycss_property_clear_t; @@ -899,18 +907,18 @@ enum mycss_property_color_adjust { typedef mycss_property_color_adjust_t; enum mycss_property_color_interpolation { - MyCSS_PROPERTY_COLOR_INTERPOLATION_AUTO = 0x0018, MyCSS_PROPERTY_COLOR_INTERPOLATION_SRGB = 0x0144, MyCSS_PROPERTY_COLOR_INTERPOLATION_INHERIT = 0x0092, - MyCSS_PROPERTY_COLOR_INTERPOLATION_LINEARRGB = 0x00b3 + MyCSS_PROPERTY_COLOR_INTERPOLATION_LINEARRGB = 0x00b3, + MyCSS_PROPERTY_COLOR_INTERPOLATION_AUTO = 0x0018 } typedef mycss_property_color_interpolation_t; enum mycss_property_color_interpolation_filters { - MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_INHERIT = 0x0092, MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_LINEARRGB = 0x00b3, MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_AUTO = 0x0018, - MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_SRGB = 0x0144 + MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_SRGB = 0x0144, + MyCSS_PROPERTY_COLOR_INTERPOLATION_FILTERS_INHERIT = 0x0092 } typedef mycss_property_color_interpolation_filters_t; @@ -928,9 +936,9 @@ enum mycss_property_column_count { typedef mycss_property_column_count_t; enum mycss_property_column_fill { + MyCSS_PROPERTY_COLUMN_FILL_BALANCE = 0x001f, MyCSS_PROPERTY_COLUMN_FILL_AUTO = 0x0018, - MyCSS_PROPERTY_COLUMN_FILL_BALANCE_ALL = 0x0020, - MyCSS_PROPERTY_COLUMN_FILL_BALANCE = 0x001f + MyCSS_PROPERTY_COLUMN_FILL_BALANCE_ALL = 0x0020 } typedef mycss_property_column_fill_t; @@ -1007,6 +1015,11 @@ enum mycss_property_cue_before { typedef mycss_property_cue_before_t; enum mycss_property_cursor { + MyCSS_PROPERTY_CURSOR_CELL = 0x0036, + MyCSS_PROPERTY_CURSOR_DEFAULT = 0x0053, + MyCSS_PROPERTY_CURSOR_HELP = 0x0087, + MyCSS_PROPERTY_CURSOR_POINTER = 0x0102, + MyCSS_PROPERTY_CURSOR_CONTEXT_MENU = 0x004a, MyCSS_PROPERTY_CURSOR_AUTO = 0x0018, MyCSS_PROPERTY_CURSOR_NONE = 0x00d3, MyCSS_PROPERTY_CURSOR_WAIT = 0x0178, @@ -1040,12 +1053,7 @@ enum mycss_property_cursor { MyCSS_PROPERTY_CURSOR_ROW_RESIZE = 0x011a, MyCSS_PROPERTY_CURSOR_ALL_SCROLL = 0x0013, MyCSS_PROPERTY_CURSOR_ZOOM_OUT = 0x018e, - MyCSS_PROPERTY_CURSOR_INITIAL = 0x0093, - MyCSS_PROPERTY_CURSOR_CELL = 0x0036, - MyCSS_PROPERTY_CURSOR_DEFAULT = 0x0053, - MyCSS_PROPERTY_CURSOR_HELP = 0x0087, - MyCSS_PROPERTY_CURSOR_POINTER = 0x0102, - MyCSS_PROPERTY_CURSOR_CONTEXT_MENU = 0x004a + MyCSS_PROPERTY_CURSOR_INITIAL = 0x0093 } typedef mycss_property_cursor_t; @@ -1057,13 +1065,6 @@ typedef mycss_property_direction_t; enum mycss_property_display { MyCSS_PROPERTY_DISPLAY_GRID = 0x0084, - MyCSS_PROPERTY_DISPLAY_INLINE_FLEX = 0x0097, - MyCSS_PROPERTY_DISPLAY_INLINE_BLOCK = 0x0096, - MyCSS_PROPERTY_DISPLAY_INLINE_TABLE = 0x009a, - MyCSS_PROPERTY_DISPLAY_RUBY_BASE_CONTAINER = 0x011f, - MyCSS_PROPERTY_DISPLAY_RUBY_TEXT_CONTAINER = 0x0121, - MyCSS_PROPERTY_DISPLAY_INLINE_LIST_ITEM = 0x0099, - MyCSS_PROPERTY_DISPLAY_INLINE_GRID = 0x0098, MyCSS_PROPERTY_DISPLAY_TABLE = 0x0154, MyCSS_PROPERTY_DISPLAY_RUBY_BASE = 0x011e, MyCSS_PROPERTY_DISPLAY_NONE = 0x00d3, @@ -1087,7 +1088,14 @@ enum mycss_property_display { MyCSS_PROPERTY_DISPLAY_CONTENTS = 0x0046, MyCSS_PROPERTY_DISPLAY_LIST_ITEM = 0x00b7, MyCSS_PROPERTY_DISPLAY_TABLE_ROW = 0x015b, - MyCSS_PROPERTY_DISPLAY_INITIAL = 0x0093 + MyCSS_PROPERTY_DISPLAY_INITIAL = 0x0093, + MyCSS_PROPERTY_DISPLAY_INLINE_FLEX = 0x0097, + MyCSS_PROPERTY_DISPLAY_INLINE_BLOCK = 0x0096, + MyCSS_PROPERTY_DISPLAY_INLINE_TABLE = 0x009a, + MyCSS_PROPERTY_DISPLAY_RUBY_BASE_CONTAINER = 0x011f, + MyCSS_PROPERTY_DISPLAY_RUBY_TEXT_CONTAINER = 0x0121, + MyCSS_PROPERTY_DISPLAY_INLINE_LIST_ITEM = 0x0099, + MyCSS_PROPERTY_DISPLAY_INLINE_GRID = 0x0098 } typedef mycss_property_display_t; @@ -1103,9 +1111,9 @@ enum mycss_property_fill_opacity { typedef mycss_property_fill_opacity_t; enum mycss_property_fill_rule { - MyCSS_PROPERTY_FILL_RULE_EVENODD = 0x0067, + MyCSS_PROPERTY_FILL_RULE_NONZERO = 0x00d4, MyCSS_PROPERTY_FILL_RULE_INHERIT = 0x0092, - MyCSS_PROPERTY_FILL_RULE_NONZERO = 0x00d4 + MyCSS_PROPERTY_FILL_RULE_EVENODD = 0x0067 } typedef mycss_property_fill_rule_t; @@ -1115,27 +1123,27 @@ enum mycss_property_flex { typedef mycss_property_flex_t; enum mycss_property_flex_basis { - MyCSS_PROPERTY_FLEX_BASIS_AUTO = 0x0018, - MyCSS_PROPERTY_FLEX_BASIS_CONTENT = 0x0045 + MyCSS_PROPERTY_FLEX_BASIS_CONTENT = 0x0045, + MyCSS_PROPERTY_FLEX_BASIS_AUTO = 0x0018 } typedef mycss_property_flex_basis_t; enum mycss_property_flex_direction { - MyCSS_PROPERTY_FLEX_DIRECTION_COLUMN = 0x003e, - MyCSS_PROPERTY_FLEX_DIRECTION_ROW = 0x0119, MyCSS_PROPERTY_FLEX_DIRECTION_ROW_REVERSE = 0x011b, - MyCSS_PROPERTY_FLEX_DIRECTION_COLUMN_REVERSE = 0x003f + MyCSS_PROPERTY_FLEX_DIRECTION_COLUMN_REVERSE = 0x003f, + MyCSS_PROPERTY_FLEX_DIRECTION_ROW = 0x0119, + MyCSS_PROPERTY_FLEX_DIRECTION_COLUMN = 0x003e } typedef mycss_property_flex_direction_t; enum mycss_property_flex_flow { - MyCSS_PROPERTY_FLEX_FLOW_ROW_REVERSE = 0x011b, - MyCSS_PROPERTY_FLEX_FLOW_ROW = 0x0119, - MyCSS_PROPERTY_FLEX_FLOW_COLUMN = 0x003e, MyCSS_PROPERTY_FLEX_FLOW_WRAP = 0x017c, MyCSS_PROPERTY_FLEX_FLOW_NOWRAP = 0x00d7, MyCSS_PROPERTY_FLEX_FLOW_COLUMN_REVERSE = 0x003f, - MyCSS_PROPERTY_FLEX_FLOW_WRAP_REVERSE = 0x017d + MyCSS_PROPERTY_FLEX_FLOW_WRAP_REVERSE = 0x017d, + MyCSS_PROPERTY_FLEX_FLOW_ROW_REVERSE = 0x011b, + MyCSS_PROPERTY_FLEX_FLOW_ROW = 0x0119, + MyCSS_PROPERTY_FLEX_FLOW_COLUMN = 0x003e } typedef mycss_property_flex_flow_t; @@ -1147,6 +1155,7 @@ enum mycss_property_flex_wrap { typedef mycss_property_flex_wrap_t; enum mycss_property_float { + MyCSS_PROPERTY_FLOAT_TOP = 0x0164, MyCSS_PROPERTY_FLOAT_LEFT = 0x00ae, MyCSS_PROPERTY_FLOAT_NONE = 0x00d3, MyCSS_PROPERTY_FLOAT_UNSET = 0x016e, @@ -1155,8 +1164,7 @@ enum mycss_property_float { MyCSS_PROPERTY_FLOAT_RIGHT = 0x0115, MyCSS_PROPERTY_FLOAT_END = 0x0066, MyCSS_PROPERTY_FLOAT_START = 0x0146, - MyCSS_PROPERTY_FLOAT_BOTTOM = 0x002d, - MyCSS_PROPERTY_FLOAT_TOP = 0x0164 + MyCSS_PROPERTY_FLOAT_BOTTOM = 0x002d } typedef mycss_property_float_t; @@ -1187,7 +1195,6 @@ enum mycss_property_font { typedef mycss_property_font_t; enum mycss_property_font_family { - MyCSS_PROPERTY_FONT_FAMILY_SANS_SERIF = 0x0125, MyCSS_PROPERTY_FONT_FAMILY__GENERIC_FAMILY = 0x0194, MyCSS_PROPERTY_FONT_FAMILY_FANTASY = 0x006e, MyCSS_PROPERTY_FONT_FAMILY_UNSE = 0x016d, @@ -1196,7 +1203,8 @@ enum mycss_property_font_family { MyCSS_PROPERTY_FONT_FAMILY__FAMILY_NAME = 0x0193, MyCSS_PROPERTY_FONT_FAMILY_INHERIT = 0x0092, MyCSS_PROPERTY_FONT_FAMILY_MONOSPACE = 0x00cf, - MyCSS_PROPERTY_FONT_FAMILY_INITIAL = 0x0093 + MyCSS_PROPERTY_FONT_FAMILY_INITIAL = 0x0093, + MyCSS_PROPERTY_FONT_FAMILY_SANS_SERIF = 0x0125 } typedef mycss_property_font_family_t; @@ -1220,8 +1228,7 @@ enum mycss_property_font_language_override { typedef mycss_property_font_language_override_t; enum mycss_property_font_size { - MyCSS_PROPERTY_FONT_SIZE_INHERIT = 0x0092, - MyCSS_PROPERTY_FONT_SIZE_SMALLER = 0x0139, + MyCSS_PROPERTY_FONT_SIZE_INITIAL = 0x0093, MyCSS_PROPERTY_FONT_SIZE_SMALL = 0x0138, MyCSS_PROPERTY_FONT_SIZE__LENGTH = 0x0199, MyCSS_PROPERTY_FONT_SIZE_X_SMALL = 0x0188, @@ -1233,39 +1240,40 @@ enum mycss_property_font_size { MyCSS_PROPERTY_FONT_SIZE_LARGER = 0x00ab, MyCSS_PROPERTY_FONT_SIZE_X_LARGE = 0x0184, MyCSS_PROPERTY_FONT_SIZE_XX_LARGE = 0x0180, - MyCSS_PROPERTY_FONT_SIZE_INITIAL = 0x0093 + MyCSS_PROPERTY_FONT_SIZE_INHERIT = 0x0092, + MyCSS_PROPERTY_FONT_SIZE_SMALLER = 0x0139 } typedef mycss_property_font_size_t; enum mycss_property_font_size_adjust { + MyCSS_PROPERTY_FONT_SIZE_ADJUST_INHERIT = 0x0092, + MyCSS_PROPERTY_FONT_SIZE_ADJUST_INITIAL = 0x0093, MyCSS_PROPERTY_FONT_SIZE_ADJUST_UNSET = 0x016e, MyCSS_PROPERTY_FONT_SIZE_ADJUST_NONE = 0x00d3, - MyCSS_PROPERTY_FONT_SIZE_ADJUST__NUMBER = 0x019b, - MyCSS_PROPERTY_FONT_SIZE_ADJUST_INHERIT = 0x0092, - MyCSS_PROPERTY_FONT_SIZE_ADJUST_INITIAL = 0x0093 + MyCSS_PROPERTY_FONT_SIZE_ADJUST__NUMBER = 0x019b } typedef mycss_property_font_size_adjust_t; enum mycss_property_font_stretch { + MyCSS_PROPERTY_FONT_STRETCH_SEMI_EXPANDED = 0x0129, + MyCSS_PROPERTY_FONT_STRETCH_EXTRA_EXPANDED = 0x006c, + MyCSS_PROPERTY_FONT_STRETCH_SEMI_CONDENSED = 0x0128, MyCSS_PROPERTY_FONT_STRETCH_EXPANDED = 0x006a, MyCSS_PROPERTY_FONT_STRETCH_CONDENSED = 0x0043, MyCSS_PROPERTY_FONT_STRETCH_ULTRA_CONDENSED = 0x0167, MyCSS_PROPERTY_FONT_STRETCH_EXTRA_CONDENSED = 0x006b, MyCSS_PROPERTY_FONT_STRETCH_NORMAL = 0x00d5, - MyCSS_PROPERTY_FONT_STRETCH_ULTRA_EXPANDED = 0x0168, - MyCSS_PROPERTY_FONT_STRETCH_SEMI_CONDENSED = 0x0128, - MyCSS_PROPERTY_FONT_STRETCH_SEMI_EXPANDED = 0x0129, - MyCSS_PROPERTY_FONT_STRETCH_EXTRA_EXPANDED = 0x006c + MyCSS_PROPERTY_FONT_STRETCH_ULTRA_EXPANDED = 0x0168 } typedef mycss_property_font_stretch_t; enum mycss_property_font_style { - MyCSS_PROPERTY_FONT_STYLE_UNSET = 0x016e, MyCSS_PROPERTY_FONT_STYLE_NORMAL = 0x00d5, MyCSS_PROPERTY_FONT_STYLE_ITALIC = 0x00a2, MyCSS_PROPERTY_FONT_STYLE_OBLIQUE = 0x00e6, MyCSS_PROPERTY_FONT_STYLE_INHERIT = 0x0092, - MyCSS_PROPERTY_FONT_STYLE_INITIAL = 0x0093 + MyCSS_PROPERTY_FONT_STYLE_INITIAL = 0x0093, + MyCSS_PROPERTY_FONT_STYLE_UNSET = 0x016e } typedef mycss_property_font_style_t; @@ -1277,10 +1285,6 @@ enum mycss_property_font_synthesis { typedef mycss_property_font_synthesis_t; enum mycss_property_font_variant { - MyCSS_PROPERTY_FONT_VARIANT_UNICASE = 0x016c, - MyCSS_PROPERTY_FONT_VARIANT_NORMAL = 0x00d5, - MyCSS_PROPERTY_FONT_VARIANT_ALL_SMALL_CAPS = 0x0014, - MyCSS_PROPERTY_FONT_VARIANT_ORDINAL = 0x00ee, MyCSS_PROPERTY_FONT_VARIANT_SMALL_CAPS = 0x013a, MyCSS_PROPERTY_FONT_VARIANT_PETITE_CAPS = 0x0100, MyCSS_PROPERTY_FONT_VARIANT_HISTORICAL_FORMS = 0x008b, @@ -1290,7 +1294,11 @@ enum mycss_property_font_variant { MyCSS_PROPERTY_FONT_VARIANT_SLASHED_ZERO = 0x0135, MyCSS_PROPERTY_FONT_VARIANT_SUPER = 0x0151, MyCSS_PROPERTY_FONT_VARIANT_SUB = 0x0150, - MyCSS_PROPERTY_FONT_VARIANT_RUBY = 0x011d + MyCSS_PROPERTY_FONT_VARIANT_RUBY = 0x011d, + MyCSS_PROPERTY_FONT_VARIANT_NORMAL = 0x00d5, + MyCSS_PROPERTY_FONT_VARIANT_ALL_SMALL_CAPS = 0x0014, + MyCSS_PROPERTY_FONT_VARIANT_ORDINAL = 0x00ee, + MyCSS_PROPERTY_FONT_VARIANT_UNICASE = 0x016c } typedef mycss_property_font_variant_t; @@ -1301,18 +1309,17 @@ enum mycss_property_font_variant_alternates { typedef mycss_property_font_variant_alternates_t; enum mycss_property_font_variant_caps { - MyCSS_PROPERTY_FONT_VARIANT_CAPS_PETITE_CAPS = 0x0100, MyCSS_PROPERTY_FONT_VARIANT_CAPS_NORMAL = 0x00d5, MyCSS_PROPERTY_FONT_VARIANT_CAPS_UNICASE = 0x016c, MyCSS_PROPERTY_FONT_VARIANT_CAPS_SMALL_CAPS = 0x013a, MyCSS_PROPERTY_FONT_VARIANT_CAPS_ALL_SMALL_CAPS = 0x0014, MyCSS_PROPERTY_FONT_VARIANT_CAPS_ALL_PETITE_CAPS = 0x0012, - MyCSS_PROPERTY_FONT_VARIANT_CAPS_TITLING_CAPS = 0x0163 + MyCSS_PROPERTY_FONT_VARIANT_CAPS_TITLING_CAPS = 0x0163, + MyCSS_PROPERTY_FONT_VARIANT_CAPS_PETITE_CAPS = 0x0100 } typedef mycss_property_font_variant_caps_t; enum mycss_property_font_variant_east_asian { - MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_PROPORTIONAL_WIDTH = 0x010a, MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_RUBY = 0x011d, MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_JIS78 = 0x00a4, MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_NORMAL = 0x00d5, @@ -1321,21 +1328,22 @@ enum mycss_property_font_variant_east_asian { MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_SIMPLIFIED = 0x0133, MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_FULL_WIDTH = 0x0080, MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_TRADITIONAL = 0x0165, - MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_JIS04 = 0x00a3 + MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_JIS04 = 0x00a3, + MyCSS_PROPERTY_FONT_VARIANT_EAST_ASIAN_PROPORTIONAL_WIDTH = 0x010a } typedef mycss_property_font_variant_east_asian_t; enum mycss_property_font_variant_ligatures { - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_CONTEXTUAL = 0x0049, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_COMMON_LIGATURES = 0x0041, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_HISTORICAL_LIGATURES = 0x008c, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_DISCRETIONARY_LIGATURES = 0x0058, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_CONTEXTUAL = 0x00da, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_COMMON_LIGATURES = 0x00d8, MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NONE = 0x00d3, MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NORMAL = 0x00d5, MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_DISCRETIONARY_LIGATURES = 0x00db, - MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_HISTORICAL_LIGATURES = 0x00de + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_HISTORICAL_LIGATURES = 0x00de, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_CONTEXTUAL = 0x00da, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_NO_COMMON_LIGATURES = 0x00d8, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_CONTEXTUAL = 0x0049, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_COMMON_LIGATURES = 0x0041, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_HISTORICAL_LIGATURES = 0x008c, + MyCSS_PROPERTY_FONT_VARIANT_LIGATURES_DISCRETIONARY_LIGATURES = 0x0058 } typedef mycss_property_font_variant_ligatures_t; @@ -1358,14 +1366,6 @@ enum mycss_property_font_variant_position { typedef mycss_property_font_variant_position_t; enum mycss_property_font_weight { - MyCSS_PROPERTY_FONT_WEIGHT_600 = 0x0008, - MyCSS_PROPERTY_FONT_WEIGHT_700 = 0x0009, - MyCSS_PROPERTY_FONT_WEIGHT_800 = 0x000a, - MyCSS_PROPERTY_FONT_WEIGHT_900 = 0x000c, - MyCSS_PROPERTY_FONT_WEIGHT_UNSET = 0x016e, - MyCSS_PROPERTY_FONT_WEIGHT_INHERIT = 0x0092, - MyCSS_PROPERTY_FONT_WEIGHT_INITIAL = 0x0093, - MyCSS_PROPERTY_FONT_WEIGHT_500 = 0x0007, MyCSS_PROPERTY_FONT_WEIGHT_BOLDER = 0x0029, MyCSS_PROPERTY_FONT_WEIGHT_LIGHTER = 0x00b0, MyCSS_PROPERTY_FONT_WEIGHT_300 = 0x0005, @@ -1373,7 +1373,15 @@ enum mycss_property_font_weight { MyCSS_PROPERTY_FONT_WEIGHT_200 = 0x0004, MyCSS_PROPERTY_FONT_WEIGHT_100 = 0x0003, MyCSS_PROPERTY_FONT_WEIGHT_BOLD = 0x0028, - MyCSS_PROPERTY_FONT_WEIGHT_NORMAL = 0x00d5 + MyCSS_PROPERTY_FONT_WEIGHT_NORMAL = 0x00d5, + MyCSS_PROPERTY_FONT_WEIGHT_500 = 0x0007, + MyCSS_PROPERTY_FONT_WEIGHT_600 = 0x0008, + MyCSS_PROPERTY_FONT_WEIGHT_700 = 0x0009, + MyCSS_PROPERTY_FONT_WEIGHT_800 = 0x000a, + MyCSS_PROPERTY_FONT_WEIGHT_900 = 0x000c, + MyCSS_PROPERTY_FONT_WEIGHT_UNSET = 0x016e, + MyCSS_PROPERTY_FONT_WEIGHT_INHERIT = 0x0092, + MyCSS_PROPERTY_FONT_WEIGHT_INITIAL = 0x0093 } typedef mycss_property_font_weight_t; @@ -1396,24 +1404,24 @@ enum mycss_property_hanging_punctuation { typedef mycss_property_hanging_punctuation_t; enum mycss_property_height { - MyCSS_PROPERTY_HEIGHT_FIT_CONTENT = 0x0075, - MyCSS_PROPERTY_HEIGHT_UNSET = 0x016e, - MyCSS_PROPERTY_HEIGHT_INHERIT = 0x0092, - MyCSS_PROPERTY_HEIGHT_INITIAL = 0x0093, MyCSS_PROPERTY_HEIGHT_AUTO = 0x0018, MyCSS_PROPERTY_HEIGHT__LENGTH = 0x0199, MyCSS_PROPERTY_HEIGHT_COMPLEX = 0x0042, MyCSS_PROPERTY_HEIGHT_AVAILABLE = 0x0019, MyCSS_PROPERTY_HEIGHT__PERCENTAGE = 0x019c, MyCSS_PROPERTY_HEIGHT_MIN_CONTENT = 0x00cb, - MyCSS_PROPERTY_HEIGHT_MAX_CONTENT = 0x00c5 + MyCSS_PROPERTY_HEIGHT_MAX_CONTENT = 0x00c5, + MyCSS_PROPERTY_HEIGHT_FIT_CONTENT = 0x0075, + MyCSS_PROPERTY_HEIGHT_UNSET = 0x016e, + MyCSS_PROPERTY_HEIGHT_INHERIT = 0x0092, + MyCSS_PROPERTY_HEIGHT_INITIAL = 0x0093 } typedef mycss_property_height_t; enum mycss_property_hyphens { + MyCSS_PROPERTY_HYPHENS_MANUAL = 0x00c1, MyCSS_PROPERTY_HYPHENS_NONE = 0x00d3, - MyCSS_PROPERTY_HYPHENS_AUTO = 0x0018, - MyCSS_PROPERTY_HYPHENS_MANUAL = 0x00c1 + MyCSS_PROPERTY_HYPHENS_AUTO = 0x0018 } typedef mycss_property_hyphens_t; @@ -1435,11 +1443,11 @@ enum mycss_property_indent_edge_reset { typedef mycss_property_indent_edge_reset_t; enum mycss_property_justify_content { + MyCSS_PROPERTY_JUSTIFY_CONTENT_FLEX_START = 0x007a, MyCSS_PROPERTY_JUSTIFY_CONTENT_CENTER = 0x0037, MyCSS_PROPERTY_JUSTIFY_CONTENT_FLEX_END = 0x0079, MyCSS_PROPERTY_JUSTIFY_CONTENT_SPACE_AROUND = 0x0140, - MyCSS_PROPERTY_JUSTIFY_CONTENT_SPACE_BETWEEN = 0x0141, - MyCSS_PROPERTY_JUSTIFY_CONTENT_FLEX_START = 0x007a + MyCSS_PROPERTY_JUSTIFY_CONTENT_SPACE_BETWEEN = 0x0141 } typedef mycss_property_justify_content_t; @@ -1454,10 +1462,10 @@ enum mycss_property_letter_spacing { typedef mycss_property_letter_spacing_t; enum mycss_property_line_break { - MyCSS_PROPERTY_LINE_BREAK_NORMAL = 0x00d5, - MyCSS_PROPERTY_LINE_BREAK_STRICT = 0x014d, MyCSS_PROPERTY_LINE_BREAK_LOOSE = 0x00ba, - MyCSS_PROPERTY_LINE_BREAK_AUTO = 0x0018 + MyCSS_PROPERTY_LINE_BREAK_AUTO = 0x0018, + MyCSS_PROPERTY_LINE_BREAK_STRICT = 0x014d, + MyCSS_PROPERTY_LINE_BREAK_NORMAL = 0x00d5 } typedef mycss_property_line_break_t; @@ -1560,12 +1568,12 @@ enum mycss_property_marker_start { typedef mycss_property_marker_start_t; enum mycss_property_max_height { + MyCSS_PROPERTY_MAX_HEIGHT_INITIAL = 0x0093, MyCSS_PROPERTY_MAX_HEIGHT_INHERIT = 0x0092, MyCSS_PROPERTY_MAX_HEIGHT_NONE = 0x00d3, MyCSS_PROPERTY_MAX_HEIGHT__LENGTH = 0x0199, MyCSS_PROPERTY_MAX_HEIGHT_UNSET = 0x016e, - MyCSS_PROPERTY_MAX_HEIGHT__PERCENTAGE = 0x019c, - MyCSS_PROPERTY_MAX_HEIGHT_INITIAL = 0x0093 + MyCSS_PROPERTY_MAX_HEIGHT__PERCENTAGE = 0x019c } typedef mycss_property_max_height_t; @@ -1575,12 +1583,12 @@ enum mycss_property_max_lines { typedef mycss_property_max_lines_t; enum mycss_property_max_width { - MyCSS_PROPERTY_MAX_WIDTH_NONE = 0x00d3, MyCSS_PROPERTY_MAX_WIDTH__LENGTH = 0x0199, MyCSS_PROPERTY_MAX_WIDTH_UNSET = 0x016e, MyCSS_PROPERTY_MAX_WIDTH__PERCENTAGE = 0x019c, MyCSS_PROPERTY_MAX_WIDTH_INHERIT = 0x0092, - MyCSS_PROPERTY_MAX_WIDTH_INITIAL = 0x0093 + MyCSS_PROPERTY_MAX_WIDTH_INITIAL = 0x0093, + MyCSS_PROPERTY_MAX_WIDTH_NONE = 0x00d3 } typedef mycss_property_max_width_t; @@ -1594,11 +1602,11 @@ enum mycss_property_min_height { typedef mycss_property_min_height_t; enum mycss_property_min_width { - MyCSS_PROPERTY_MIN_WIDTH_UNSET = 0x016e, - MyCSS_PROPERTY_MIN_WIDTH__LENGTH = 0x0199, MyCSS_PROPERTY_MIN_WIDTH_INHERIT = 0x0092, MyCSS_PROPERTY_MIN_WIDTH_INITIAL = 0x0093, - MyCSS_PROPERTY_MIN_WIDTH__PERCENTAGE = 0x019c + MyCSS_PROPERTY_MIN_WIDTH__PERCENTAGE = 0x019c, + MyCSS_PROPERTY_MIN_WIDTH_UNSET = 0x016e, + MyCSS_PROPERTY_MIN_WIDTH__LENGTH = 0x0199 } typedef mycss_property_min_width_t; @@ -1680,17 +1688,17 @@ enum mycss_property_overflow { typedef mycss_property_overflow_t; enum mycss_property_overflow_wrap { - MyCSS_PROPERTY_OVERFLOW_WRAP_NORMAL = 0x00d5, MyCSS_PROPERTY_OVERFLOW_WRAP_BREAK_WORD = 0x0032, - MyCSS_PROPERTY_OVERFLOW_WRAP_BREAK_SPACES = 0x0031 + MyCSS_PROPERTY_OVERFLOW_WRAP_BREAK_SPACES = 0x0031, + MyCSS_PROPERTY_OVERFLOW_WRAP_NORMAL = 0x00d5 } typedef mycss_property_overflow_wrap_t; enum mycss_property_overflow_x { - MyCSS_PROPERTY_OVERFLOW_X_NO_CONTENT = 0x00d9, MyCSS_PROPERTY_OVERFLOW_X_INITIAL = 0x0093, MyCSS_PROPERTY_OVERFLOW_X_INHERIT = 0x0092, MyCSS_PROPERTY_OVERFLOW_X_NO_DISPLAY = 0x00dc, + MyCSS_PROPERTY_OVERFLOW_X_NO_CONTENT = 0x00d9, MyCSS_PROPERTY_OVERFLOW_X_AUTO = 0x0018, MyCSS_PROPERTY_OVERFLOW_X_HIDDEN = 0x0088, MyCSS_PROPERTY_OVERFLOW_X_VISIBLE = 0x0177, @@ -1783,23 +1791,23 @@ enum mycss_property_perspective { typedef mycss_property_perspective_t; enum mycss_property_perspective_origin { - MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_LEFT = 0x00ae, MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_RIGHT = 0x0115, MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_TOP = 0x0164, MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_BOTTOM = 0x002d, - MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_CENTER = 0x0037 + MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_CENTER = 0x0037, + MyCSS_PROPERTY_PERSPECTIVE_ORIGIN_LEFT = 0x00ae } typedef mycss_property_perspective_origin_t; enum mycss_property_position { + MyCSS_PROPERTY_POSITION_INITIAL = 0x0093, + MyCSS_PROPERTY_POSITION_INHERIT = 0x0092, + MyCSS_PROPERTY_POSITION_UNSET = 0x016e, MyCSS_PROPERTY_POSITION_ABSOLUTE = 0x000e, MyCSS_PROPERTY_POSITION_RELATIVE = 0x010f, MyCSS_PROPERTY_POSITION_FIXED = 0x0076, MyCSS_PROPERTY_POSITION_STATIC = 0x0147, - MyCSS_PROPERTY_POSITION_STICKY = 0x014b, - MyCSS_PROPERTY_POSITION_INITIAL = 0x0093, - MyCSS_PROPERTY_POSITION_INHERIT = 0x0092, - MyCSS_PROPERTY_POSITION_UNSET = 0x016e + MyCSS_PROPERTY_POSITION_STICKY = 0x014b } typedef mycss_property_position_t; @@ -1821,10 +1829,10 @@ enum mycss_property_region_fragment { typedef mycss_property_region_fragment_t; enum mycss_property_resize { - MyCSS_PROPERTY_RESIZE_VERTICAL = 0x0172, - MyCSS_PROPERTY_RESIZE_HORIZONTAL = 0x008d, MyCSS_PROPERTY_RESIZE_NONE = 0x00d3, - MyCSS_PROPERTY_RESIZE_BOTH = 0x002c + MyCSS_PROPERTY_RESIZE_BOTH = 0x002c, + MyCSS_PROPERTY_RESIZE_VERTICAL = 0x0172, + MyCSS_PROPERTY_RESIZE_HORIZONTAL = 0x008d } typedef mycss_property_resize_t; @@ -1947,18 +1955,18 @@ enum mycss_property_stroke_dasharray { typedef mycss_property_stroke_dasharray_t; enum mycss_property_stroke_linecap { - MyCSS_PROPERTY_STROKE_LINECAP_BUTT = 0x0033, MyCSS_PROPERTY_STROKE_LINECAP_SQUARE = 0x0143, MyCSS_PROPERTY_STROKE_LINECAP_INHERIT = 0x0092, - MyCSS_PROPERTY_STROKE_LINECAP_ROUND = 0x0118 + MyCSS_PROPERTY_STROKE_LINECAP_ROUND = 0x0118, + MyCSS_PROPERTY_STROKE_LINECAP_BUTT = 0x0033 } typedef mycss_property_stroke_linecap_t; enum mycss_property_stroke_linejoin { - MyCSS_PROPERTY_STROKE_LINEJOIN_ROUND = 0x0118, - MyCSS_PROPERTY_STROKE_LINEJOIN_MITER = 0x00cc, MyCSS_PROPERTY_STROKE_LINEJOIN_BEVEL = 0x0023, - MyCSS_PROPERTY_STROKE_LINEJOIN_INHERIT = 0x0092 + MyCSS_PROPERTY_STROKE_LINEJOIN_INHERIT = 0x0092, + MyCSS_PROPERTY_STROKE_LINEJOIN_MITER = 0x00cc, + MyCSS_PROPERTY_STROKE_LINEJOIN_ROUND = 0x0118 } typedef mycss_property_stroke_linejoin_t; @@ -1969,45 +1977,45 @@ enum mycss_property_table_layout { typedef mycss_property_table_layout_t; enum mycss_property_text_align { - MyCSS_PROPERTY_TEXT_ALIGN_START = 0x0146, MyCSS_PROPERTY_TEXT_ALIGN_INITIAL = 0x0093, + MyCSS_PROPERTY_TEXT_ALIGN_MATCH_PARENT = 0x00c3, MyCSS_PROPERTY_TEXT_ALIGN_END = 0x0066, MyCSS_PROPERTY_TEXT_ALIGN_JUSTIFY_ALL = 0x00a8, MyCSS_PROPERTY_TEXT_ALIGN_LEFT = 0x00ae, - MyCSS_PROPERTY_TEXT_ALIGN_JUSTIFY = 0x00a7, - MyCSS_PROPERTY_TEXT_ALIGN_MATCH_PARENT = 0x00c3, - MyCSS_PROPERTY_TEXT_ALIGN_UNSET = 0x016e, - MyCSS_PROPERTY_TEXT_ALIGN_RIGHT = 0x0115, MyCSS_PROPERTY_TEXT_ALIGN_CENTER = 0x0037, - MyCSS_PROPERTY_TEXT_ALIGN_INHERIT = 0x0092 + MyCSS_PROPERTY_TEXT_ALIGN_RIGHT = 0x0115, + MyCSS_PROPERTY_TEXT_ALIGN_UNSET = 0x016e, + MyCSS_PROPERTY_TEXT_ALIGN_INHERIT = 0x0092, + MyCSS_PROPERTY_TEXT_ALIGN_JUSTIFY = 0x00a7, + MyCSS_PROPERTY_TEXT_ALIGN_START = 0x0146 } typedef mycss_property_text_align_t; enum mycss_property_text_align_all { - MyCSS_PROPERTY_TEXT_ALIGN_ALL_START = 0x0146, MyCSS_PROPERTY_TEXT_ALIGN_ALL_END = 0x0066, - MyCSS_PROPERTY_TEXT_ALIGN_ALL_CENTER = 0x0037, - MyCSS_PROPERTY_TEXT_ALIGN_ALL_LEFT = 0x00ae, + MyCSS_PROPERTY_TEXT_ALIGN_ALL_START = 0x0146, + MyCSS_PROPERTY_TEXT_ALIGN_ALL_INITIAL = 0x0093, + MyCSS_PROPERTY_TEXT_ALIGN_ALL_INHERIT = 0x0092, MyCSS_PROPERTY_TEXT_ALIGN_ALL_UNSET = 0x016e, MyCSS_PROPERTY_TEXT_ALIGN_ALL_RIGHT = 0x0115, + MyCSS_PROPERTY_TEXT_ALIGN_ALL_CENTER = 0x0037, + MyCSS_PROPERTY_TEXT_ALIGN_ALL_LEFT = 0x00ae, MyCSS_PROPERTY_TEXT_ALIGN_ALL_JUSTIFY = 0x00a7, - MyCSS_PROPERTY_TEXT_ALIGN_ALL_INHERIT = 0x0092, - MyCSS_PROPERTY_TEXT_ALIGN_ALL_INITIAL = 0x0093, MyCSS_PROPERTY_TEXT_ALIGN_ALL_MATCH_PARENT = 0x00c3 } typedef mycss_property_text_align_all_t; enum mycss_property_text_align_last { MyCSS_PROPERTY_TEXT_ALIGN_LAST_START = 0x0146, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_CENTER = 0x0037, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_UNSET = 0x016e, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_INITIAL = 0x0093, MyCSS_PROPERTY_TEXT_ALIGN_LAST_LEFT = 0x00ae, + MyCSS_PROPERTY_TEXT_ALIGN_LAST_CENTER = 0x0037, MyCSS_PROPERTY_TEXT_ALIGN_LAST_RIGHT = 0x0115, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_JUSTIFY = 0x00a7, + MyCSS_PROPERTY_TEXT_ALIGN_LAST_INITIAL = 0x0093, + MyCSS_PROPERTY_TEXT_ALIGN_LAST_UNSET = 0x016e, MyCSS_PROPERTY_TEXT_ALIGN_LAST_INHERIT = 0x0092, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_AUTO = 0x0018, - MyCSS_PROPERTY_TEXT_ALIGN_LAST_END = 0x0066 + MyCSS_PROPERTY_TEXT_ALIGN_LAST_JUSTIFY = 0x00a7, + MyCSS_PROPERTY_TEXT_ALIGN_LAST_END = 0x0066, + MyCSS_PROPERTY_TEXT_ALIGN_LAST_AUTO = 0x0018 } typedef mycss_property_text_align_last_t; @@ -2019,35 +2027,35 @@ enum mycss_property_text_combine_upright { typedef mycss_property_text_combine_upright_t; enum mycss_property_text_decoration_color { - MyCSS_PROPERTY_TEXT_DECORATION_COLOR_UNSET = 0x016e, MyCSS_PROPERTY_TEXT_DECORATION_COLOR_INHERIT = 0x0092, MyCSS_PROPERTY_TEXT_DECORATION_COLOR_INITIAL = 0x0093, - MyCSS_PROPERTY_TEXT_DECORATION_COLOR_CURRENTCOLOR = 0x0050 + MyCSS_PROPERTY_TEXT_DECORATION_COLOR_CURRENTCOLOR = 0x0050, + MyCSS_PROPERTY_TEXT_DECORATION_COLOR_UNSET = 0x016e } typedef mycss_property_text_decoration_color_t; enum mycss_property_text_decoration_line { - MyCSS_PROPERTY_TEXT_DECORATION_LINE_LINE_THROUGH = 0x00b4, - MyCSS_PROPERTY_TEXT_DECORATION_LINE_OVERLINE = 0x00f3, MyCSS_PROPERTY_TEXT_DECORATION_LINE_UNSET = 0x016e, MyCSS_PROPERTY_TEXT_DECORATION_LINE_UNDERLINE = 0x016a, MyCSS_PROPERTY_TEXT_DECORATION_LINE_INITIAL = 0x0093, MyCSS_PROPERTY_TEXT_DECORATION_LINE_BLINK = 0x0025, MyCSS_PROPERTY_TEXT_DECORATION_LINE_INHERIT = 0x0092, - MyCSS_PROPERTY_TEXT_DECORATION_LINE_NONE = 0x00d3 + MyCSS_PROPERTY_TEXT_DECORATION_LINE_NONE = 0x00d3, + MyCSS_PROPERTY_TEXT_DECORATION_LINE_LINE_THROUGH = 0x00b4, + MyCSS_PROPERTY_TEXT_DECORATION_LINE_OVERLINE = 0x00f3 } typedef mycss_property_text_decoration_line_t; enum mycss_property_text_decoration_skip { + MyCSS_PROPERTY_TEXT_DECORATION_SKIP_NONE = 0x00d3, + MyCSS_PROPERTY_TEXT_DECORATION_SKIP_INK = 0x0094, + MyCSS_PROPERTY_TEXT_DECORATION_SKIP_UNSET = 0x016e, MyCSS_PROPERTY_TEXT_DECORATION_SKIP_INHERIT = 0x0092, MyCSS_PROPERTY_TEXT_DECORATION_SKIP_INITIAL = 0x0093, MyCSS_PROPERTY_TEXT_DECORATION_SKIP_BOX_DECORATION = 0x002e, MyCSS_PROPERTY_TEXT_DECORATION_SKIP_SPACES = 0x013f, MyCSS_PROPERTY_TEXT_DECORATION_SKIP_OBJECTS = 0x00e5, - MyCSS_PROPERTY_TEXT_DECORATION_SKIP_EDGES = 0x0063, - MyCSS_PROPERTY_TEXT_DECORATION_SKIP_INK = 0x0094, - MyCSS_PROPERTY_TEXT_DECORATION_SKIP_NONE = 0x00d3, - MyCSS_PROPERTY_TEXT_DECORATION_SKIP_UNSET = 0x016e + MyCSS_PROPERTY_TEXT_DECORATION_SKIP_EDGES = 0x0063 } typedef mycss_property_text_decoration_skip_t; @@ -2077,14 +2085,14 @@ enum mycss_property_text_emphasis_position { typedef mycss_property_text_emphasis_position_t; enum mycss_property_text_emphasis_style { - MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_CIRCLE = 0x0038, - MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_DOT = 0x0059, - MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_NONE = 0x00d3, MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_OPEN = 0x00ea, MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_FILLED = 0x0071, MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_DOUBLE_CIRCLE = 0x005c, MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_SESAMEINITIAL = 0x012c, - MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_TRIANGLE = 0x0166 + MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_TRIANGLE = 0x0166, + MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_CIRCLE = 0x0038, + MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_DOT = 0x0059, + MyCSS_PROPERTY_TEXT_EMPHASIS_STYLE_NONE = 0x00d3 } typedef mycss_property_text_emphasis_style_t; @@ -2095,10 +2103,10 @@ enum mycss_property_text_indent { typedef mycss_property_text_indent_t; enum mycss_property_text_justify { - MyCSS_PROPERTY_TEXT_JUSTIFY_NONE = 0x00d3, MyCSS_PROPERTY_TEXT_JUSTIFY_AUTO = 0x0018, + MyCSS_PROPERTY_TEXT_JUSTIFY_INTER_CHARACTER = 0x009d, MyCSS_PROPERTY_TEXT_JUSTIFY_INTER_WORD = 0x009e, - MyCSS_PROPERTY_TEXT_JUSTIFY_INTER_CHARACTER = 0x009d + MyCSS_PROPERTY_TEXT_JUSTIFY_NONE = 0x00d3 } typedef mycss_property_text_justify_t; @@ -2158,6 +2166,7 @@ enum mycss_property_top { typedef mycss_property_top_t; enum mycss_property_touch_action { + MyCSS_PROPERTY_TOUCH_ACTION_NONE = 0x00d3, MyCSS_PROPERTY_TOUCH_ACTION_PAN_RIGHT = 0x00fb, MyCSS_PROPERTY_TOUCH_ACTION_PAN_UP = 0x00fc, MyCSS_PROPERTY_TOUCH_ACTION_PAN_LEFT = 0x00fa, @@ -2165,8 +2174,7 @@ enum mycss_property_touch_action { MyCSS_PROPERTY_TOUCH_ACTION_AUTO = 0x0018, MyCSS_PROPERTY_TOUCH_ACTION_PAN_Y = 0x00fe, MyCSS_PROPERTY_TOUCH_ACTION_PAN_DOWN = 0x00f9, - MyCSS_PROPERTY_TOUCH_ACTION_MANIPULATION = 0x00c0, - MyCSS_PROPERTY_TOUCH_ACTION_NONE = 0x00d3 + MyCSS_PROPERTY_TOUCH_ACTION_MANIPULATION = 0x00c0 } typedef mycss_property_touch_action_t; @@ -2205,13 +2213,13 @@ enum mycss_property_transition_property { typedef mycss_property_transition_property_t; enum mycss_property_transition_timing_function { - MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_LINEAR = 0x00b2, MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_EASE = 0x005e, MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_EASE_IN = 0x005f, MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_EASE_OUT = 0x0061, MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_STEP_END = 0x0149, MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_STEP_START = 0x014a, - MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_EASE_IN_OUT = 0x0060 + MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_EASE_IN_OUT = 0x0060, + MyCSS_PROPERTY_TRANSITION_TIMING_FUNCTION_LINEAR = 0x00b2 } typedef mycss_property_transition_timing_function_t; @@ -2320,21 +2328,21 @@ enum mycss_property_voice_stress { typedef mycss_property_voice_stress_t; enum mycss_property_voice_volume { - MyCSS_PROPERTY_VOICE_VOLUME_LOUD = 0x00bb, - MyCSS_PROPERTY_VOICE_VOLUME_MEDIUM = 0x00c6, - MyCSS_PROPERTY_VOICE_VOLUME_X_LOUD = 0x0185, MyCSS_PROPERTY_VOICE_VOLUME_X_SOFT = 0x0189, MyCSS_PROPERTY_VOICE_VOLUME_SILENT = 0x0132, - MyCSS_PROPERTY_VOICE_VOLUME_SOFT = 0x013c + MyCSS_PROPERTY_VOICE_VOLUME_SOFT = 0x013c, + MyCSS_PROPERTY_VOICE_VOLUME_LOUD = 0x00bb, + MyCSS_PROPERTY_VOICE_VOLUME_MEDIUM = 0x00c6, + MyCSS_PROPERTY_VOICE_VOLUME_X_LOUD = 0x0185 } typedef mycss_property_voice_volume_t; enum mycss_property_white_space { + MyCSS_PROPERTY_WHITE_SPACE_PRE = 0x0103, MyCSS_PROPERTY_WHITE_SPACE_NORMAL = 0x00d5, MyCSS_PROPERTY_WHITE_SPACE_NOWRAP = 0x00d7, MyCSS_PROPERTY_WHITE_SPACE_PRE_WRAP = 0x0107, - MyCSS_PROPERTY_WHITE_SPACE_PRE_LINE = 0x0106, - MyCSS_PROPERTY_WHITE_SPACE_PRE = 0x0103 + MyCSS_PROPERTY_WHITE_SPACE_PRE_LINE = 0x0106 } typedef mycss_property_white_space_t; @@ -2360,9 +2368,9 @@ enum mycss_property_will_change { typedef mycss_property_will_change_t; enum mycss_property_word_break { - MyCSS_PROPERTY_WORD_BREAK_BREAK_ALL = 0x0030, MyCSS_PROPERTY_WORD_BREAK_KEEP_ALL = 0x00a9, - MyCSS_PROPERTY_WORD_BREAK_NORMAL = 0x00d5 + MyCSS_PROPERTY_WORD_BREAK_NORMAL = 0x00d5, + MyCSS_PROPERTY_WORD_BREAK_BREAK_ALL = 0x0030 } typedef mycss_property_word_break_t; @@ -2373,8 +2381,8 @@ typedef mycss_property_word_spacing_t; enum mycss_property_word_wrap { MyCSS_PROPERTY_WORD_WRAP_NORMAL = 0x00d5, - MyCSS_PROPERTY_WORD_WRAP_BREAK_SPACES = 0x0031, - MyCSS_PROPERTY_WORD_WRAP_BREAK_WORD = 0x0032 + MyCSS_PROPERTY_WORD_WRAP_BREAK_WORD = 0x0032, + MyCSS_PROPERTY_WORD_WRAP_BREAK_SPACES = 0x0031 } typedef mycss_property_word_wrap_t; @@ -2405,10 +2413,10 @@ enum mycss_property_writing_mode { typedef mycss_property_writing_mode_t; enum mycss_property_z_index { + MyCSS_PROPERTY_Z_INDEX_AUTO = 0x0018, MyCSS_PROPERTY_Z_INDEX_UNSET = 0x016e, MyCSS_PROPERTY_Z_INDEX_INHERIT = 0x0092, - MyCSS_PROPERTY_Z_INDEX_INITIAL = 0x0093, - MyCSS_PROPERTY_Z_INDEX_AUTO = 0x0018 + MyCSS_PROPERTY_Z_INDEX_INITIAL = 0x0093 } typedef mycss_property_z_index_t; diff --git a/source/mycss/property/parser.c b/source/mycss/property/parser.c index e3f59f4..df52e9e 100644 --- a/source/mycss/property/parser.c +++ b/source/mycss/property/parser.c @@ -620,9 +620,160 @@ bool mycss_property_parser_border_left_style(mycss_entry_t* entry, mycss_token_t } /* border radius */ +static mycss_declaration_entry_t * mycss_property_parser_border_radius_shared(mycss_entry_t* entry, mycss_token_t* token, myhtml_string_t* str) +{ + void *value = NULL; + unsigned int value_type = 0; + + if(mycss_property_shared_length_percentage(entry, token, &value, &value_type, str)) + { + mycss_declaration_entry_t* decl = mycss_declaration_entry_create(entry->declaration, NULL); + + mycss_values_shorthand_two_type_t *short_two_type = mycss_values_create(entry, sizeof(mycss_values_shorthand_two_type_t)); + + short_two_type->one = value; + short_two_type->type_one = value_type; + + decl->value = short_two_type; + return decl; + } + + return NULL; +} + +static bool mycss_property_parser_border_radius_two_shared(mycss_entry_t* entry, mycss_token_t* token, + mycss_values_shorthand_two_type_t *short_two_type, myhtml_string_t* str) +{ + if(mycss_property_shared_length_percentage(entry, token, &short_two_type->two, &short_two_type->type_two, str)) { + return true; + } + + return false; +} + +bool mycss_property_parser_border_radius_two(mycss_entry_t* entry, mycss_token_t* token, bool last_response) +{ + if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE) + return true; + + mycss_declaration_entry_t* dec_entry = entry->declaration->entry_last; + mycss_values_shorthand_four_t *value = dec_entry->value; + + if(mycss_property_shared_check_declaration_end(entry, token)) { + return true; + } + + myhtml_string_t str = {0}; + + if(((mycss_values_shorthand_two_type_t*)(value->one->value))->two == NULL) + { + if(mycss_property_parser_border_radius_two_shared(entry, token, value->one->value, &str)) + return mycss_property_parser_destroy_string(&str, true); + } + else if(value->two && ((mycss_values_shorthand_two_type_t*)(value->two->value))->two == NULL) + { + if(mycss_property_parser_border_radius_two_shared(entry, token, value->two->value, &str)) + return mycss_property_parser_destroy_string(&str, true); + } + else if(value->three && ((mycss_values_shorthand_two_type_t*)(value->three->value))->two == NULL) + { + if(mycss_property_parser_border_radius_two_shared(entry, token, value->three->value, &str)) + return mycss_property_parser_destroy_string(&str, true); + } + else if(value->four && ((mycss_values_shorthand_two_type_t*)(value->four->value))->two == NULL) + { + if(mycss_property_parser_border_radius_two_shared(entry, token, value->four->value, &str)) + return mycss_property_parser_destroy_string(&str, mycss_property_shared_switch_to_find_important(entry)); + } + + return mycss_property_parser_destroy_string(&str, mycss_property_shared_switch_to_parse_error(entry)); +} + +static bool mycss_property_parser_border_wait_two(mycss_entry_t* entry, mycss_token_t* token, bool last_response) +{ + if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE) + return true; + + if(mycss_property_shared_check_declaration_end(entry, token)) { + return mycss_property_shared_switch_to_find_important(entry); + } + + if(token->type == MyCSS_TOKEN_TYPE_DELIM && *token->data == '/') { + entry->parser = mycss_property_parser_border_radius_two; + return true; + } + + return mycss_property_shared_switch_to_parse_error(entry); +} + bool mycss_property_parser_border_radius(mycss_entry_t* entry, mycss_token_t* token, bool last_response) { - return mycss_property_shared_switch_to_parse_error(entry); + if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE) + return true; + + mycss_declaration_entry_t* dec_entry = entry->declaration->entry_last; + + if(dec_entry->value == NULL) + dec_entry->value = mycss_values_create(entry, sizeof(mycss_values_shorthand_four_t)); + + mycss_values_shorthand_four_t *value = dec_entry->value; + + if(mycss_property_shared_check_declaration_end(entry, token)) + { + if(value->one == NULL) + return mycss_property_shared_switch_to_parse_error(entry); + + return true; + } + + myhtml_string_t str = {0}; + + if(value->one == NULL) + { + if((value->one = mycss_property_parser_border_radius_shared(entry, token, &str))) { + value->one->type = MyCSS_PROPERTY_TYPE_BORDER_TOP_LEFT_RADIUS; + return mycss_property_parser_destroy_string(&str, true); + } + + unsigned int value_type = 0; + + if(mycss_property_shared_default(entry, token, &value_type, &str)) { + return mycss_property_parser_destroy_string(&str, mycss_property_shared_switch_to_find_important(entry)); + } + } + else if(value->two == NULL) + { + if((value->two = mycss_property_parser_border_radius_shared(entry, token, &str))) { + value->two->type = MyCSS_PROPERTY_TYPE_BORDER_TOP_RIGHT_RADIUS; + return mycss_property_parser_destroy_string(&str, true); + } + } + else if(value->three == NULL) + { + if((value->three = mycss_property_parser_border_radius_shared(entry, token, &str))) { + value->three->type = MyCSS_PROPERTY_TYPE_BORDER_BOTTOM_RIGHT_RADIUS; + return mycss_property_parser_destroy_string(&str, true); + } + } + else if(value->four == NULL) + { + if((value->four = mycss_property_parser_border_radius_shared(entry, token, &str))) { + value->four->type = MyCSS_PROPERTY_TYPE_BORDER_BOTTOM_LEFT_RADIUS; + + entry->parser = mycss_property_parser_border_wait_two; + return mycss_property_parser_destroy_string(&str, true); + } + } + + if(token->type == MyCSS_TOKEN_TYPE_DELIM && *token->data == '/') { + if(value->one == NULL) + return mycss_property_shared_switch_to_parse_error(entry); + + entry->parser = mycss_property_parser_border_wait_two; + return mycss_property_parser_destroy_string(&str, true); + } + + return mycss_property_parser_destroy_string(&str, mycss_property_shared_switch_to_parse_error(entry)); } bool mycss_property_parser_border_top_right_radius(mycss_entry_t* entry, mycss_token_t* token, bool last_response)