[gtk: 2/3] reftests: Fix css-multi-state test
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk: 2/3] reftests: Fix css-multi-state test
- Date: Fri, 29 Nov 2019 11:53:53 +0000 (UTC)
commit 5bdd25627fd115a3e3f0bf3f32eeb6ee221db6de
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]