mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 13:11:13 +00:00
reftests: test rem size
This commit is contained in:
parent
92a496fdec
commit
871b19f9dd
11
testsuite/reftests/css-rem-label-size.css
Normal file
11
testsuite/reftests/css-rem-label-size.css
Normal file
@ -0,0 +1,11 @@
|
||||
* {
|
||||
color: tomato;
|
||||
}
|
||||
|
||||
.ref {
|
||||
font-size: 2em;
|
||||
}
|
||||
|
||||
.test label {
|
||||
font-size: 2rem;
|
||||
}
|
19
testsuite/reftests/css-rem-label-size.ref.ui
Normal file
19
testsuite/reftests/css-rem-label-size.ref.ui
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.20.0 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.20"/>
|
||||
<object class="GtkWindow">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="type">popup</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">███</property>
|
||||
</object>
|
||||
</child>
|
||||
<style>
|
||||
<class name="ref"/>
|
||||
</style>
|
||||
</object>
|
||||
</interface>
|
19
testsuite/reftests/css-rem-label-size.ui
Normal file
19
testsuite/reftests/css-rem-label-size.ui
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Generated with glade 3.20.0 -->
|
||||
<interface>
|
||||
<requires lib="gtk+" version="3.20"/>
|
||||
<object class="GtkWindow">
|
||||
<property name="can_focus">False</property>
|
||||
<property name="type">popup</property>
|
||||
<child>
|
||||
<object class="GtkLabel">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">False</property>
|
||||
<property name="label" translatable="yes">███</property>
|
||||
</object>
|
||||
</child>
|
||||
<style>
|
||||
<class name="test"/>
|
||||
</style>
|
||||
</object>
|
||||
</interface>
|
Loading…
Reference in New Issue
Block a user