gtk/testsuite/reftests/style-context-save-inheritance.css
Benjamin Otte ad199e4cf9 stylecontext: Use correct parent style for lookups
After 3a337156d1 style lookups still used
the parent context's style as the parent style, even though after a
gtk_style_context_save() the root style of the style context is the
proper parent.

Testcase attached.
2015-01-07 14:26:48 +01:00

19 lines
195 B
CSS

@import "reset-to-defaults.css";
.background {
color: red;
}
GtkLabel {
color: green;
}
GtkLabel:link,
GtkLabel:visited {
color: inherit;
}
#reference, #reference * {
color: green;
}