css: Mark outline properties as affecting clip when they do

This commit is contained in:
Benjamin Otte 2016-02-21 00:56:31 +01:00
parent 966dd56e45
commit 23b3774e6b

View File

@ -1380,7 +1380,7 @@ _gtk_css_style_property_init_properties (void)
GTK_CSS_PROPERTY_OUTLINE_STYLE, GTK_CSS_PROPERTY_OUTLINE_STYLE,
GTK_TYPE_BORDER_STYLE, GTK_TYPE_BORDER_STYLE,
0, 0,
GTK_CSS_AFFECTS_OUTLINE, GTK_CSS_AFFECTS_OUTLINE | GTK_CSS_AFFECTS_CLIP,
parse_border_style, parse_border_style,
query_border_style, query_border_style,
assign_border_style, assign_border_style,
@ -1398,7 +1398,7 @@ _gtk_css_style_property_init_properties (void)
GTK_CSS_PROPERTY_OUTLINE_OFFSET, GTK_CSS_PROPERTY_OUTLINE_OFFSET,
G_TYPE_INT, G_TYPE_INT,
0, 0,
GTK_CSS_AFFECTS_OUTLINE, GTK_CSS_AFFECTS_OUTLINE | GTK_CSS_AFFECTS_CLIP,
outline_parse, outline_parse,
query_length_as_int, query_length_as_int,
assign_length_from_int, assign_length_from_int,
@ -1447,8 +1447,8 @@ _gtk_css_style_property_init_properties (void)
NULL, NULL,
_gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX), _gtk_css_corner_value_new (_gtk_css_number_value_new (0, GTK_CSS_PX),
_gtk_css_number_value_new (0, GTK_CSS_PX))); _gtk_css_number_value_new (0, GTK_CSS_PX)));
_gtk_style_property_add_alias ("-gtk-outline-bottom-left-radius", "outline-bottom-left-radius"); _gtk_style_property_add_alias ("-gtk-outline-bottom-left-radius", "outline-bottom-left-radius");
gtk_css_style_property_register ("background-clip", gtk_css_style_property_register ("background-clip",
GTK_CSS_PROPERTY_BACKGROUND_CLIP, GTK_CSS_PROPERTY_BACKGROUND_CLIP,
G_TYPE_NONE, G_TYPE_NONE,