From 8205a304e85fb8bb95d2722df0416c6f4de17ddf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 2 Mar 2016 15:20:31 -0500 Subject: [PATCH] Add a css node test for comboboxes --- testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/combobox.nodes | 39 ++++++++++++++++++++++++++++++ testsuite/css/nodes/combobox.ui | 33 +++++++++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 testsuite/css/nodes/combobox.nodes create mode 100644 testsuite/css/nodes/combobox.ui diff --git a/testsuite/css/nodes/Makefile.am b/testsuite/css/nodes/Makefile.am index 358a14cd62..55bd39d06f 100644 --- a/testsuite/css/nodes/Makefile.am +++ b/testsuite/css/nodes/Makefile.am @@ -35,6 +35,7 @@ test_data = \ buttons.ui buttons.nodes \ checkbutton.ltr.ui checkbutton.ltr.nodes \ checkbutton.rtl.ui checkbutton.rtl.nodes \ + combobox.ui combobox.nodes \ entries.ui entries.nodes \ expander.ltr.ui expander.ltr.nodes \ expander.rtl.ui expander.rtl.nodes \ diff --git a/testsuite/css/nodes/combobox.nodes b/testsuite/css/nodes/combobox.nodes new file mode 100644 index 0000000000..024cf5dd70 --- /dev/null +++ b/testsuite/css/nodes/combobox.nodes @@ -0,0 +1,39 @@ +[window.background:dir(ltr)] + decoration:dir(ltr) + [box.horizontal:dir(ltr)] + combobox:dir(ltr) + box.linked.horizontal:dir(ltr) + button.combo:dir(ltr) + box.horizontal:dir(ltr) + cellview:dir(ltr) + arrow:dir(ltr) + [window.background.popup:dir(ltr)] + decoration:dir(ltr) + [menu#gtk-combobox-popup-menu:dir(ltr)] + [arrow.top:dir(ltr)] + menuitem:dir(ltr) + cellview:dir(ltr) + menuitem:dir(ltr) + cellview:dir(ltr) + menuitem:dir(ltr) + cellview:dir(ltr) + [arrow.bottom:dir(ltr)] + combobox:dir(ltr) + box.linked.horizontal:dir(ltr) + entry.combo:dir(ltr) + undershoot.left:dir(ltr) + undershoot.right:dir(ltr) + button.combo:dir(ltr) + box.horizontal:dir(ltr) + arrow:dir(ltr) + [window.background.popup:dir(ltr)] + decoration:dir(ltr) + [menu#gtk-combobox-popup-menu:dir(ltr)] + [arrow.top:dir(ltr)] + menuitem:dir(ltr) + cellview:dir(ltr) + menuitem:dir(ltr) + cellview:dir(ltr) + menuitem:dir(ltr) + cellview:dir(ltr) + [arrow.bottom:dir(ltr)] diff --git a/testsuite/css/nodes/combobox.ui b/testsuite/css/nodes/combobox.ui new file mode 100644 index 0000000000..a6be038c41 --- /dev/null +++ b/testsuite/css/nodes/combobox.ui @@ -0,0 +1,33 @@ + + + + + False + popup + + + + + True + + One + Two + Three + + + + + + True + True + + One + Two + Three + + + + + + +