From 9be26ee99a5d213e403b9a2127c336ea0d3df32b Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sat, 7 Sep 2013 00:23:38 +0200 Subject: [PATCH] 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". --- testsuite/reftests/gtk-image-effect-inherit.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/testsuite/reftests/gtk-image-effect-inherit.css b/testsuite/reftests/gtk-image-effect-inherit.css index a1c40be053..2a6b04121f 100644 --- a/testsuite/reftests/gtk-image-effect-inherit.css +++ b/testsuite/reftests/gtk-image-effect-inherit.css @@ -1,11 +1,11 @@ -GtkBox > :nth-child(0) { +GtkBox > :nth-child(1) { -gtk-image-effect: none; } -GtkBox > :nth-child(1) { +GtkBox > :nth-child(2) { -gtk-image-effect: highlight; } -GtkBox > :nth-child(2) { +GtkBox > :nth-child(3) { -gtk-image-effect: dim; }