Commit 83eb36a8 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Add CSS node tests for checkbutton rtl flipping

parent 121aec6d
......@@ -28,18 +28,20 @@ test_css_nodes_SOURCES = \
$(NULL)
test_data = \
box.ltr.ui box.ltr.nodes \
box.rtl.ui box.rtl.nodes \
buttons.ui buttons.nodes \
entries.ui entries.nodes \
expander.ltr.ui expander.ltr.nodes \
expander.rtl.ui expander.rtl.nodes \
levelbar.ltr.ui levelbar.ltr.nodes \
levelbar.rtl.ui levelbar.rtl.nodes \
notebook.ui notebook.nodes \
paned.ltr.ui paned.ltr.nodes \
paned.rtl.ui paned.rtl.nodes \
progressbar.ui progressbar.nodes \
box.ltr.ui box.ltr.nodes \
box.rtl.ui box.rtl.nodes \
buttons.ui buttons.nodes \
checkbutton.ltr.ui checkbutton.ltr.nodes \
checkbutton.rtl.ui checkbutton.rtl.nodes \
entries.ui entries.nodes \
expander.ltr.ui expander.ltr.nodes \
expander.rtl.ui expander.rtl.nodes \
levelbar.ltr.ui levelbar.ltr.nodes \
levelbar.rtl.ui levelbar.rtl.nodes \
notebook.ui notebook.nodes \
paned.ltr.ui paned.ltr.nodes \
paned.rtl.ui paned.rtl.nodes \
progressbar.ui progressbar.nodes \
$(NULL)
EXTRA_DIST += $(test_in_files) $(test_data)
......
[window.background:dir(ltr)]
decoration:dir(ltr)
box.vertical:dir(ltr)
checkbutton:dir(ltr)
check:dir(ltr)
label:dir(ltr)
radiobutton:dir(ltr):checked
radio:dir(ltr):checked
label:dir(ltr)
<?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="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkCheckButton">
<property name="visible">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label">label</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkRadioButton">
<property name="visible">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label">label</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>
[window.background:dir(rtl)]
decoration:dir(ltr)
box.vertical:dir(rtl)
checkbutton:dir(rtl)
label:dir(ltr)
check:dir(rtl)
radiobutton:dir(rtl):checked
label:dir(ltr)
radio:dir(rtl):checked
<?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="GtkBox">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkCheckButton">
<property name="visible">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label">label</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkRadioButton">
<property name="visible">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label">label</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment