Commit ed5ebc07 authored by Matthias Clasen's avatar Matthias Clasen

Add a css style test for currentColor

parent 33be60b0
......@@ -25,9 +25,10 @@ test_css_style_SOURCES = \
test-css-style.c
test_data = \
inherit.ui inherit.css inherit.nodes \
label.ui label.css label.nodes \
nth-child.ui nth-child.css nth-child.nodes \
currentcolor.ui currentcolor.css currentcolor.nodes \
inherit.ui inherit.css inherit.nodes \
label.ui label.css label.nodes \
nth-child.ui nth-child.css nth-child.nodes \
$(NULL)
EXTRA_DIST += $(test_in_files) $(test_data)
......
@import "reset-to-defaults.css";
box {
color: red;
}
label {
background-color: currentColor;
}
window visible=0 state=dir-ltr classes=background
decoration visible=1 state=dir-ltr
box visible=1 state=dir-ltr classes=horizontal
color: rgb(255,0,0) (currentcolor.css:4:12)
label visible=1 state=dir-ltr
color: rgb(255,0,0) (reset-to-defaults.css:2:12)
background-color: rgb(255,0,0) (currentcolor.css:8:32)
<?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="GtkBox">
<property name="visible">True</property>
<child>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label" translatable="yes">Hello World!</property>
</object>
</child>
</object>
</child>
</object>
</interface>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment