Commit 82a571e0 authored by Matthias Clasen's avatar Matthias Clasen

Add a css style test for font inheritance

parent 905ab53c
......@@ -25,6 +25,7 @@ test_css_style_SOURCES = \
test_data = \
label.ui label.css label.nodes \
EXTRA_DIST += $(test_in_files) $(test_data)
@import "reset-to-defaults.css";
box {
font: "Comic Sans";
window visible=0 state=dir-ltr classes=background
decoration visible=1 state=dir-ltr
box visible=1 state=dir-ltr classes=horizontal
font-family: "\"Comic Sans\"" (label.css:4:20)
label visible=1 state=dir-ltr
font-family: "\"Comic Sans\"" (reset-to-defaults.css:2:12)
<?xml version="1.0" encoding="UTF-8"?>
<!-- interface-requires gtk+ 3.0 -->
<object class="GtkWindow" id="window1">
<property name="can_focus">False</property>
<property name="type">popup</property>
<object class="GtkBox">
<property name="visible">True</property>
<object class="GtkLabel">
<property name="visible">True</property>
<property name="label" translatable="yes">Hello World!</property>
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