gtk/testsuite/reftests/gtk-image-effect-inherit.css
Benjamin Otte 9be26ee99a reftests: I can't count in CSS
nth-child() is 1-indexed, not 0-indexed.

It doesn't matter for this test really, but better do it right to not confuse
poor developers who wonder why the first image is highlighted when nth-child(0)
clearly states "none".
2013-09-07 00:23:38 +02:00

12 lines
168 B
CSS

GtkBox > :nth-child(1) {
-gtk-image-effect: none;
}
GtkBox > :nth-child(2) {
-gtk-image-effect: highlight;
}
GtkBox > :nth-child(3) {
-gtk-image-effect: dim;
}