mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 12:41:07 +00:00
ad199e4cf9
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.
19 lines
195 B
CSS
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;
|
|
}
|