forked from AuroraMiddleware/gtk
Add css node tests for paned node ordering
This commit is contained in:
parent
fb77ebe17e
commit
a0fdbff938
@ -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)
|
||||
|
||||
|
6
testsuite/css/nodes/paned.ltr.nodes
Normal file
6
testsuite/css/nodes/paned.ltr.nodes
Normal 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)
|
26
testsuite/css/nodes/paned.ltr.ui
Normal file
26
testsuite/css/nodes/paned.ltr.ui
Normal 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>
|
6
testsuite/css/nodes/paned.rtl.nodes
Normal file
6
testsuite/css/nodes/paned.rtl.nodes
Normal 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)
|
26
testsuite/css/nodes/paned.rtl.ui
Normal file
26
testsuite/css/nodes/paned.rtl.ui
Normal 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>
|
Loading…
Reference in New Issue
Block a user