mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
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:
parent
93d80380ee
commit
339cb1fe6b
@ -213,12 +213,6 @@ testdata = \
|
||||
css-match-name.css \
|
||||
css-match-name.ref.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.ref.ui \
|
||||
css-match-siblings.ui \
|
||||
|
@ -1,4 +1,4 @@
|
||||
GtkLabel {
|
||||
label {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
|
2
testsuite/reftests/css-match-import.css
vendored
2
testsuite/reftests/css-match-import.css
vendored
@ -1,6 +1,6 @@
|
||||
@import url("css-match-import-import.css");
|
||||
|
||||
GtkLabel {
|
||||
label {
|
||||
color: purple;
|
||||
}
|
||||
|
||||
|
@ -7,6 +7,6 @@
|
||||
color: red;
|
||||
}
|
||||
|
||||
GtkLabel:insensitive {
|
||||
label:insensitive {
|
||||
color: inherit;
|
||||
}
|
||||
|
@ -1,10 +0,0 @@
|
||||
@import "reset-to-defaults.css";
|
||||
|
||||
GtkNotebook * GtkLabel {
|
||||
color: blue
|
||||
}
|
||||
|
||||
/* for reference */
|
||||
#blue {
|
||||
color: blue
|
||||
}
|
@ -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>
|
@ -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>
|
@ -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
|
||||
}
|
@ -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>
|
@ -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>
|
@ -3,17 +3,17 @@
|
||||
color: red
|
||||
}
|
||||
|
||||
* ~ * ~ GtkLabel,
|
||||
* ~ * ~ label,
|
||||
#lime {
|
||||
color: lime;
|
||||
}
|
||||
|
||||
* ~ * + GtkLabel ~ *,
|
||||
* ~ * + label ~ *,
|
||||
#blue {
|
||||
color: blue;
|
||||
}
|
||||
|
||||
* + GtkLabel ~ * ~ GtkLabel + *,
|
||||
* + label ~ * ~ label + *,
|
||||
#purple {
|
||||
color: purple;
|
||||
}
|
||||
|
@ -4,11 +4,11 @@
|
||||
font: Monospace;
|
||||
}
|
||||
|
||||
GtkEntry #padded {
|
||||
entry #padded {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.progressbar {
|
||||
progress {
|
||||
background-color: rgba(0,0,0,0);
|
||||
background-image: none;
|
||||
border-color: rgba(0,0,0,0);
|
||||
|
@ -11,6 +11,6 @@
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
GtkImage {
|
||||
image {
|
||||
background: lime;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
@import "reset-to-defaults.css";
|
||||
|
||||
GtkIconView, GtkImage {
|
||||
GtkIconView, image {
|
||||
background-color: blue;
|
||||
}
|
||||
|
@ -6,6 +6,6 @@ GtkBox {
|
||||
background: red; /* should also never be seen */
|
||||
}
|
||||
|
||||
GtkLabel {
|
||||
label {
|
||||
background: green;
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
@import "reset-to-defaults.css";
|
||||
|
||||
GtkLabel {
|
||||
label {
|
||||
font-size: 40px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
GtkLabel {
|
||||
label {
|
||||
engine: none;
|
||||
text-shadow: 1px 1px red;
|
||||
}
|
||||
|
@ -3,6 +3,6 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
GtkPaned GtkLabel {
|
||||
GtkPaned label {
|
||||
background-color: pink
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
100% { text-shadow: 20px 20px tomato; }
|
||||
}
|
||||
|
||||
GtkLabel {
|
||||
label {
|
||||
font-size: 40px;
|
||||
animation-name: foo;
|
||||
animation-duration: 100s;
|
||||
|
@ -1,6 +1,6 @@
|
||||
@import "reset-to-defaults.css";
|
||||
|
||||
GtkLabel {
|
||||
label {
|
||||
font-size: 40px;
|
||||
text-shadow: 20px 20px tomato;
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
GtkLabel {
|
||||
label {
|
||||
opacity: 0;
|
||||
}
|
||||
|
@ -7,11 +7,11 @@ GtkWidget {
|
||||
border-right-width: 5px;
|
||||
}
|
||||
|
||||
GtkEntry {
|
||||
entry {
|
||||
border-width: 10px 20px;
|
||||
}
|
||||
|
||||
.entry {
|
||||
entry {
|
||||
border-left-width: 10px;
|
||||
border-right-width: 10px;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
GtkLabel {
|
||||
label {
|
||||
background-image: none;
|
||||
background-color: purple;
|
||||
color: white;
|
||||
|
@ -4,12 +4,12 @@
|
||||
color: red;
|
||||
}
|
||||
|
||||
GtkLabel {
|
||||
label {
|
||||
color: green;
|
||||
}
|
||||
|
||||
GtkLabel:link,
|
||||
GtkLabel:visited {
|
||||
label:link,
|
||||
label:visited {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
background-color: white;
|
||||
}
|
||||
|
||||
GtkImage, GtkLabel, .menuitem {
|
||||
image, label, .menuitem {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user