reftests: Add a test for latest commit

We want to make sure we notice when we mess up label attribute ordering
again...
This commit is contained in:
Benjamin Otte 2012-01-06 05:15:18 +01:00
parent d6bb8a63aa
commit b73ede690d
4 changed files with 51 additions and 0 deletions

View File

@ -124,6 +124,9 @@ EXTRA_DIST += \
grid-spacing3.css \
grid-spacing3.ref.ui \
grid-spacing3.ui \
label-attribute-preference.css \
label-attribute-preference.ref.ui \
label-attribute-preference.ui \
label-shadows.css \
label-shadows.ref.ui \
label-shadows.ui \

View File

@ -0,0 +1,4 @@
* {
-GtkWidget-link-color: blue;
-GtkWidget-visited-link-color: blue;
}

View File

@ -0,0 +1,24 @@
<?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="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Hello linky World</property>
<attributes>
<attribute name="foreground" value="#000080000000" start="1" end="3"/>
<attribute name="foreground" value="#ffff00000000" start="3" end="8"/>
<attribute name="foreground" value="#0000ffff0000" start="8" end="9"/>
<attribute name="foreground" value="#00000000ffff" start="9" end="10"/>
<attribute name="foreground" value="#ffff80008000" start="10" end="14"/>
<attribute name="foreground" value="#8000ffff8000" start="14" end="16"/>
<attribute name="underline" value="True" start="6" end="11"/>
</attributes>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,20 @@
<?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="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="use-markup">True</property>
<property name="label" translatable="yes">H&lt;span color="#008000"&gt;ell&lt;/span&gt;o &lt;a href="http://example.com"&gt;l&lt;span color="#00FF00"&gt;in&lt;/span&gt;ky&lt;/a&gt; &lt;span color="#80FF80"&gt;Worl&lt;/span&gt;d</property>
<attributes>
<attribute name="foreground" value="#ffff00000000" start="3" end="8"/>
<attribute name="foreground" value="#ffff80008000" start="10" end="14"/>
</attributes>
</object>
</child>
</object>
</interface>