reftests: Add reftest for new pseudoclass support

This commit is contained in:
Benjamin Otte 2014-07-21 01:00:40 +02:00
parent 41a16b475b
commit bed70f2bcf
4 changed files with 61 additions and 0 deletions

View File

@ -305,6 +305,9 @@ testdata = \
paned-undersized.css \
paned-undersized.ref.ui \
paned-undersized.ui \
pseudoclass-on-parent.css \
pseudoclass-on-parent.ref.ui \
pseudoclass-on-parent.ui \
quit-mnemonic.css \
quit-mnemonic.ref.ui \
quit-mnemonic.ui \

View File

@ -0,0 +1,7 @@
:active {
color: blue;
}
:active * {
color: red;
}

View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.1 -->
<interface>
<requires lib="gtk+" version="3.12"/>
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkToggleButton" id="togglebutton1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="active">True</property>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">I should be red.</property>
<attributes>
<attribute name="foreground" value="#ffff00000000"/>
</attributes>
</object>
</child>
</object>
</child>
</object>
</interface>

View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.18.1 -->
<interface>
<requires lib="gtk+" version="3.12"/>
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<child>
<object class="GtkToggleButton" id="togglebutton1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">True</property>
<property name="active">True</property>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">I should be red.</property>
</object>
</child>
</object>
</child>
</object>
</interface>