summaryrefslogtreecommitdiff
path: root/testsuite/reftests/box-order.css
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2015-02-10 02:53:28 +0100
committerBenjamin Otte <otte@redhat.com>2015-03-18 15:23:31 +0100
commit2670ae443651ed1fc8da5b9fd8fa88b7564725cb (patch)
tree2f5bc61272226306201ce9cad535bf4f1627ebd3 /testsuite/reftests/box-order.css
parent2694545468cdcee127d2b17d9b01d51f2cd8ce6f (diff)
downloadgtk+-2670ae443651ed1fc8da5b9fd8fa88b7564725cb.tar.gz
reftests: Add a reftest for box sibling ordering
Diffstat (limited to 'testsuite/reftests/box-order.css')
-rw-r--r--testsuite/reftests/box-order.css32
1 files changed, 32 insertions, 0 deletions
diff --git a/testsuite/reftests/box-order.css b/testsuite/reftests/box-order.css
new file mode 100644
index 0000000000..b4ab59b7d4
--- /dev/null
+++ b/testsuite/reftests/box-order.css
@@ -0,0 +1,32 @@
+* {
+ all: unset;
+ color: transparent;
+}
+
+GtkBox *:nth-child(1) {
+ background-color: red;
+}
+
+GtkBox *:nth-child(2) {
+ background-color: orange;
+}
+
+GtkBox *:nth-child(3) {
+ background-color: yellow;
+}
+
+GtkBox *:nth-child(4) {
+ background-color: lime;
+}
+
+GtkBox *:nth-child(5) {
+ background-color: blue;
+}
+
+GtkBox *:nth-child(6) {
+ background-color: indigo;
+}
+
+GtkBox *:nth-child(7) {
+ background-color: darkViolet;
+}