[gtk/nana-4/gtk-dont-color-labels-directly-gtk4: 2/2] reftests: Fix css-multi-state test



commit 7b9a8d79544f7aba5ad08492a955a49116fc03a8
Author: Timm Bäder <mail baedert org>
Date:   Fri Nov 29 11:23:10 2019 +0100

    reftests: Fix css-multi-state test
    
    Properly unset theme CSS and use the right selector for the toggle
    buttons.

 testsuite/reftests/css-multi-state.css | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/testsuite/reftests/css-multi-state.css b/testsuite/reftests/css-multi-state.css
index cd834ff1ff..50b6a77fd1 100644
--- a/testsuite/reftests/css-multi-state.css
+++ b/testsuite/reftests/css-multi-state.css
@@ -1,9 +1,13 @@
-GtkToggleButton:checked,
+* {
+  all: unset;
+}
+
+button.toggle:checked,
 #reference:disabled {
   color: lime;
 }
 
-GtkToggleButton:checked,
+button.toggle:checked,
 #reference:checked {
   color: blue;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]