From a4ed154b037aaf03f8c166a711c326a030225eed Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 24 Mar 2016 08:24:45 -0400 Subject: add a css style test for font: smaller --- testsuite/css/style/Makefile.am | 1 + testsuite/css/style/font.css | 7 +++++++ testsuite/css/style/font.nodes | 12 ++++++++++++ testsuite/css/style/font.ui | 19 +++++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 testsuite/css/style/font.css create mode 100644 testsuite/css/style/font.nodes create mode 100644 testsuite/css/style/font.ui (limited to 'testsuite') diff --git a/testsuite/css/style/Makefile.am b/testsuite/css/style/Makefile.am index 86cdc1a348..bfdb22bad7 100644 --- a/testsuite/css/style/Makefile.am +++ b/testsuite/css/style/Makefile.am @@ -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 \ diff --git a/testsuite/css/style/font.css b/testsuite/css/style/font.css new file mode 100644 index 0000000000..86b2ba08b1 --- /dev/null +++ b/testsuite/css/style/font.css @@ -0,0 +1,7 @@ +box { + font: "Comic Sans 10"; +} + +label { + font: smaller; +} diff --git a/testsuite/css/style/font.nodes b/testsuite/css/style/font.nodes new file mode 100644 index 0000000000..02044b4466 --- /dev/null +++ b/testsuite/css/style/font.nodes @@ -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 */ diff --git a/testsuite/css/style/font.ui b/testsuite/css/style/font.ui new file mode 100644 index 0000000000..f1b397c08c --- /dev/null +++ b/testsuite/css/style/font.ui @@ -0,0 +1,19 @@ + + + + + False + popup + + + True + + + True + Hello World! + + + + + + -- cgit v1.2.1