forked from AuroraMiddleware/gtk
add a css style test for font: smaller
This commit is contained in:
parent
447325b1e4
commit
caa804613d
@ -32,6 +32,7 @@ test_data = \
|
||||
adjacent-states.ui adjacent-states.css adjacent-states.nodes \
|
||||
colornames.ui colornames.css colornames.nodes \
|
||||
currentcolor.ui currentcolor.css currentcolor.nodes \
|
||||
font.ui font.css font.nodes \
|
||||
gradient.ui gradient.css gradient.nodes \
|
||||
inherit.ui inherit.css inherit.nodes \
|
||||
label.ui label.css label.nodes \
|
||||
|
7
testsuite/css/style/font.css
Normal file
7
testsuite/css/style/font.css
Normal file
@ -0,0 +1,7 @@
|
||||
box {
|
||||
font: "Comic Sans 10";
|
||||
}
|
||||
|
||||
label {
|
||||
font: smaller;
|
||||
}
|
12
testsuite/css/style/font.nodes
Normal file
12
testsuite/css/style/font.nodes
Normal file
@ -0,0 +1,12 @@
|
||||
[window.background:dir(ltr)]
|
||||
decoration:dir(ltr)
|
||||
box.horizontal:dir(ltr)
|
||||
font-size: 10px; /* font.css:2:23 */
|
||||
font-family: "\"Comic Sans 10\""; /* font.css:2:23 */
|
||||
font-style: normal; /* font.css:2:23 */
|
||||
font-variant: normal; /* font.css:2:23 */
|
||||
font-weight: normal; /* font.css:2:23 */
|
||||
font-stretch: normal; /* font.css:2:23 */
|
||||
|
||||
label:dir(ltr)
|
||||
font-size: 8.3333333333333339px; /* font.css:6:20 */
|
19
testsuite/css/style/font.ui
Normal file
19
testsuite/css/style/font.ui
Normal file
@ -0,0 +1,19 @@
|
||||
<?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>
|
Loading…
Reference in New Issue
Block a user