diff --git a/testsuite/reftests/Makefile.am b/testsuite/reftests/Makefile.am index 0183508cb1..69ef0cdfce 100644 --- a/testsuite/reftests/Makefile.am +++ b/testsuite/reftests/Makefile.am @@ -194,6 +194,9 @@ testdata = \ color-transition.css \ color-transition.ref.ui \ color-transition.ui \ + css-em-label-size.css \ + css-em-label-size.ui \ + css-em-label-size.ref.ui \ css-currentcolor-alpha.css \ css-currentcolor-alpha.ui \ css-currentcolor-alpha.ref.ui \ diff --git a/testsuite/reftests/css-em-label-size.css b/testsuite/reftests/css-em-label-size.css new file mode 100644 index 0000000000..8859aa2294 --- /dev/null +++ b/testsuite/reftests/css-em-label-size.css @@ -0,0 +1,37 @@ +window { + -gtk-dpi: 96; + font-size: 12px; +} + +.test label:last-child { + color: red; + font-size: 1em; +} + +.px { + font-size: 12px; +} + +.pt { + font-size: 12pt; +} + +.in { + font-size: 0.25in; +} + +.cm { + font-size: 0.635cm; /* quarter inch */ +} + +.mm { + font-size: 6.35mm; /* quarter inch */ +} + +.em { + font-size: 1.5em; +} + +.ex { + font-size: 2.5ex; +} diff --git a/testsuite/reftests/css-em-label-size.ref.ui b/testsuite/reftests/css-em-label-size.ref.ui new file mode 100644 index 0000000000..d05210dffa --- /dev/null +++ b/testsuite/reftests/css-em-label-size.ref.ui @@ -0,0 +1,382 @@ + + + + + + False + popup + + + True + False + True + 300> + + + True + False + px + 100> + + + 0 + 0 + + + + + True + False + pt + + + 0 + 1 + + + + + True + False + in + + + 0 + 2 + + + + + True + False + cm + + + 0 + 3 + + + + + True + False + mm + + + 0 + 4 + + + + + True + False + em + + + 0 + 5 + + + + + True + False + ex + + + 0 + 6 + + + + + True + False + + + True + False + ███ + + + + + + False + True + 0 + + + + + True + False + ███ + + + + + + + False + True + 1 + + + + + 1 + 0 + + + + + True + False + + + True + False + ███ + + + + + + False + True + 0 + + + + + True + False + ███ + + + + + + + False + True + 1 + + + + + 1 + 1 + + + + + True + False + + + True + False + ███ + + + + + + False + True + 0 + + + + + True + False + ███ + + + + + + + False + True + 1 + + + + + 1 + 2 + + + + + True + False + + + True + False + ███ + + + + + + False + True + 0 + + + + + True + False + ███ + + + + + + + False + True + 1 + + + + + 1 + 3 + + + + + True + False + + + True + False + ███ + + + + + + False + True + 0 + + + + + True + False + ███ + + + + + + + False + True + 1 + + + + + 1 + 4 + + + + + True + False + + + True + False + ███ + + + + + + False + True + 0 + + + + + True + False + ███ + + + + + + + False + True + 1 + + + + + 1 + 5 + + + + + True + False + + + True + False + ███ + + + + + + False + True + 0 + + + + + True + False + ███ + + + + + + + False + True + 1 + + + + + 1 + 6 + + + + + + diff --git a/testsuite/reftests/css-em-label-size.ui b/testsuite/reftests/css-em-label-size.ui new file mode 100644 index 0000000000..9ff96e4d81 --- /dev/null +++ b/testsuite/reftests/css-em-label-size.ui @@ -0,0 +1,357 @@ + + + + + + False + popup + + + True + False + True + 300> + + + True + False + px + 100> + + + 0 + 0 + + + + + True + False + pt + + + 0 + 1 + + + + + True + False + in + + + 0 + 2 + + + + + True + False + cm + + + 0 + 3 + + + + + True + False + mm + + + 0 + 4 + + + + + True + False + em + + + 0 + 5 + + + + + True + False + ex + + + 0 + 6 + + + + + True + False + + + True + False + ███ + + + False + True + 0 + + + + + True + False + ███ + + + False + True + 1 + + + + + + 1 + 0 + + + + + True + False + + + True + False + ███ + + + False + True + 0 + + + + + True + False + ███ + + + False + True + 1 + + + + + + 1 + 1 + + + + + True + False + + + True + False + ███ + + + False + True + 0 + + + + + True + False + ███ + + + False + True + 1 + + + + + + 1 + 2 + + + + + True + False + + + True + False + ███ + + + False + True + 0 + + + + + True + False + ███ + + + False + True + 1 + + + + + + 1 + 3 + + + + + True + False + + + True + False + ███ + + + False + True + 0 + + + + + True + False + ███ + + + False + True + 1 + + + + + + 1 + 4 + + + + + True + False + + + True + False + ███ + + + False + True + 0 + + + + + True + False + ███ + + + False + True + 1 + + + + + + 1 + 5 + + + + + True + False + + + True + False + ███ + + + False + True + 0 + + + + + True + False + ███ + + + False + True + 1 + + + + + + 1 + 6 + + + + + + +