Add css node tests for paned node ordering

This commit is contained in:
Matthias Clasen 2016-01-13 00:41:44 -05:00
parent fb77ebe17e
commit a0fdbff938
5 changed files with 66 additions and 0 deletions

View File

@ -34,6 +34,8 @@ test_data = \
entries.ui entries.nodes \
levelbar.ui levelbar.nodes \
notebook.ui notebook.nodes \
paned.ltr.ui paned.ltr.nodes \
paned.rtl.ui paned.rtl.nodes \
progressbar.ui progressbar.nodes \
$(NULL)

View File

@ -0,0 +1,6 @@
[window.background:dir(ltr)]
decoration:dir(ltr)
paned.horizontal:dir(ltr)
label#label1:dir(ltr)
separator:dir(ltr)
label#label2:dir(ltr)

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkPaned">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="name">label1</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="name">label2</property>
</object>
</child>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,6 @@
[window.background:dir(rtl)]
decoration:dir(ltr)
paned.horizontal:dir(rtl)
label#label2:dir(ltr)
separator:dir(rtl)
label#label1:dir(ltr)

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkPaned">
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="name">label1</property>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="name">label2</property>
</object>
</child>
</object>
</child>
</object>
</interface>