reftests: Add a reftest for color resolving errors

This checks the fixes in the last two commits.
This commit is contained in:
Benjamin Otte 2013-03-28 23:17:32 +01:00
parent cbee390148
commit 0a82b79012
4 changed files with 34 additions and 0 deletions

View File

@ -62,6 +62,9 @@ EXTRA_DIST += \
background-window-transparent.css \
background-window-transparent.ref.ui \
background-window-transparent.ui \
bad-color-names.css \
bad-color-names.ref.ui \
bad-color-names.ui \
reference-background-origin.png \
border-color-default.css \
border-color-default.ref.ui \

View File

@ -0,0 +1,11 @@
@define-color nonexistant @idonotexist;
@define-color self @self;
@define-color cycle @cycle1;
@define-color cycle1 @cycle2;
@define-color cycle2 @cycle1;
.background {
background: linear-gradient(to bottom, @nonexistant, @self, @cycle, @undefinedcolor);
}

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="width_request">10</property>
<property name="height_request">10</property>
<property name="can_focus">False</property>
<property name="type">popup</property>
</object>
</interface>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="width_request">10</property>
<property name="height_request">10</property>
<property name="can_focus">False</property>
<property name="type">popup</property>
</object>
</interface>