Fix reftests

Multiple reftests were damaged by the element name transition.
Repair them. The region reftests are no longer needed, since
we no longer do regions.
This commit is contained in:
Matthias Clasen 2015-10-27 18:56:05 -04:00
parent 93d80380ee
commit 339cb1fe6b
25 changed files with 24 additions and 260 deletions

View File

@ -213,12 +213,6 @@ testdata = \
css-match-name.css \ css-match-name.css \
css-match-name.ref.ui \ css-match-name.ref.ui \
css-match-name.ui \ css-match-name.ui \
css-match-region-matches-star.css \
css-match-region-matches-star.ui \
css-match-region-matches-star.ref.ui \
css-match-regions.css \
css-match-regions.ref.ui \
css-match-regions.ui \
css-match-siblings.css \ css-match-siblings.css \
css-match-siblings.ref.ui \ css-match-siblings.ref.ui \
css-match-siblings.ui \ css-match-siblings.ui \

View File

@ -1,4 +1,4 @@
GtkLabel { label {
color: blue; color: blue;
} }

View File

@ -1,6 +1,6 @@
@import url("css-match-import-import.css"); @import url("css-match-import-import.css");
GtkLabel { label {
color: purple; color: purple;
} }

View File

@ -7,6 +7,6 @@
color: red; color: red;
} }
GtkLabel:insensitive { label:insensitive {
color: inherit; color: inherit;
} }

View File

@ -1,10 +0,0 @@
@import "reset-to-defaults.css";
GtkNotebook * GtkLabel {
color: blue
}
/* for reference */
#blue {
color: blue
}

View File

@ -1,32 +0,0 @@
<?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="GtkNotebook" id="notebook1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Page 1</property>
</object>
</child>
<child type="tab">
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Page 1</property>
<property name="name">blue</property>
</object>
<packing>
<property name="tab_fill">False</property>
</packing>
</child>
</object>
</child>
</object>
</interface>

View File

@ -1,31 +0,0 @@
<?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="GtkNotebook" id="notebook1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Page 1</property>
</object>
</child>
<child type="tab">
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Page 1</property>
</object>
<packing>
<property name="tab_fill">False</property>
</packing>
</child>
</object>
</child>
</object>
</interface>

View File

@ -1,18 +0,0 @@
@import "reset-to-defaults.css";
* {
-GtkNotebook-tab-overlap: 0; /* work around a notebook tab rendering bug */
color: blue;
}
.notebook tab GtkLabel {
color: blue
}
.notebook tab tab GtkLabel {
color: red
}
/* for reference */
#red {
color: red
}

View File

@ -1,71 +0,0 @@
<?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="GtkNotebook" id="notebook1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Normal</property>
</object>
</child>
<child type="tab">
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Red</property>
<property name="name">red</property>
</object>
<packing>
<property name="tab_fill">False</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Normal</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child type="tab">
<object class="GtkNotebook" id="notebook2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Red</property>
<property name="name">red</property>
</object>
</child>
<child type="tab">
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Red</property>
<property name="name">red</property>
</object>
<packing>
<property name="tab_fill">False</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
<property name="tab_fill">False</property>
</packing>
</child>
</object>
</child>
</object>
</interface>

View File

@ -1,68 +0,0 @@
<?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="GtkNotebook" id="notebook1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkLabel" id="label4">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Normal</property>
</object>
</child>
<child type="tab">
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Red</property>
</object>
<packing>
<property name="tab_fill">False</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label5">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Normal</property>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child type="tab">
<object class="GtkNotebook" id="notebook2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkLabel" id="label3">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Red</property>
</object>
</child>
<child type="tab">
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="label" translatable="yes">Red</property>
</object>
<packing>
<property name="tab_fill">False</property>
</packing>
</child>
</object>
<packing>
<property name="position">1</property>
<property name="tab_fill">False</property>
</packing>
</child>
</object>
</child>
</object>
</interface>

View File

@ -3,17 +3,17 @@
color: red color: red
} }
* ~ * ~ GtkLabel, * ~ * ~ label,
#lime { #lime {
color: lime; color: lime;
} }
* ~ * + GtkLabel ~ *, * ~ * + label ~ *,
#blue { #blue {
color: blue; color: blue;
} }
* + GtkLabel ~ * ~ GtkLabel + *, * + label ~ * ~ label + *,
#purple { #purple {
color: purple; color: purple;
} }

View File

@ -4,11 +4,11 @@
font: Monospace; font: Monospace;
} }
GtkEntry #padded { entry #padded {
padding: 10px; padding: 10px;
} }
.progressbar { progress {
background-color: rgba(0,0,0,0); background-color: rgba(0,0,0,0);
background-image: none; background-image: none;
border-color: rgba(0,0,0,0); border-color: rgba(0,0,0,0);

View File

@ -11,6 +11,6 @@
font-size: 20px; font-size: 20px;
} }
GtkImage { image {
background: lime; background: lime;
} }

View File

@ -1,5 +1,5 @@
@import "reset-to-defaults.css"; @import "reset-to-defaults.css";
GtkIconView, GtkImage { GtkIconView, image {
background-color: blue; background-color: blue;
} }

View File

@ -6,6 +6,6 @@ GtkBox {
background: red; /* should also never be seen */ background: red; /* should also never be seen */
} }
GtkLabel { label {
background: green; background: green;
} }

View File

@ -1,6 +1,6 @@
@import "reset-to-defaults.css"; @import "reset-to-defaults.css";
GtkLabel { label {
font-size: 40px; font-size: 40px;
font-style: italic; font-style: italic;
} }

View File

@ -1,4 +1,4 @@
GtkLabel { label {
engine: none; engine: none;
text-shadow: 1px 1px red; text-shadow: 1px 1px red;
} }

View File

@ -3,6 +3,6 @@
padding: 0; padding: 0;
} }
GtkPaned GtkLabel { GtkPaned label {
background-color: pink background-color: pink
} }

View File

@ -5,7 +5,7 @@
100% { text-shadow: 20px 20px tomato; } 100% { text-shadow: 20px 20px tomato; }
} }
GtkLabel { label {
font-size: 40px; font-size: 40px;
animation-name: foo; animation-name: foo;
animation-duration: 100s; animation-duration: 100s;

View File

@ -1,6 +1,6 @@
@import "reset-to-defaults.css"; @import "reset-to-defaults.css";
GtkLabel { label {
font-size: 40px; font-size: 40px;
text-shadow: 20px 20px tomato; text-shadow: 20px 20px tomato;
} }

View File

@ -1,3 +1,3 @@
GtkLabel { label {
opacity: 0; opacity: 0;
} }

View File

@ -7,11 +7,11 @@ GtkWidget {
border-right-width: 5px; border-right-width: 5px;
} }
GtkEntry { entry {
border-width: 10px 20px; border-width: 10px 20px;
} }
.entry { entry {
border-left-width: 10px; border-left-width: 10px;
border-right-width: 10px; border-right-width: 10px;
} }

View File

@ -1,4 +1,4 @@
GtkLabel { label {
background-image: none; background-image: none;
background-color: purple; background-color: purple;
color: white; color: white;

View File

@ -4,12 +4,12 @@
color: red; color: red;
} }
GtkLabel { label {
color: green; color: green;
} }
GtkLabel:link, label:link,
GtkLabel:visited { label:visited {
color: inherit; color: inherit;
} }

View File

@ -20,7 +20,7 @@
background-color: white; background-color: white;
} }
GtkImage, GtkLabel, .menuitem { image, label, .menuitem {
background-color: transparent; background-color: transparent;
} }