summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2014-08-28 12:50:49 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2014-08-28 13:41:40 +0100
commit5ad60caa3c35f86c11545b53052acdb6b9f7a76f (patch)
tree5f325bfcd9fbb3a73c456fd6d119dd33b0a21c39 /testsuite
parentf05e9d26120824fac8f952fd6fb34aecfe7b96e4 (diff)
downloadgtk+-5ad60caa3c35f86c11545b53052acdb6b9f7a76f.tar.gz
css: Implement font-stretch
The font-stretch CSS property is defined in the Level 3 CSS Fonts module, available at: http://dev.w3.org/csswg/css-fonts/#propdef-font-stretch It allows defining a normal, condensed, or expanded face to the font description. Pango already supports it, so this is literally just the CSS parser machinery needed to bridge our CSS to the FontDescription API. https://bugzilla.gnome.org/show_bug.cgi?id=735593
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/css/parser/declarations-valid-02.ref.css1
-rw-r--r--testsuite/css/parser/declarations-valid-03.ref.css1
-rw-r--r--testsuite/css/parser/declarations-valid-04.ref.css1
-rw-r--r--testsuite/css/parser/declarations-valid-08.ref.css1
-rw-r--r--testsuite/css/parser/value-inherit-shorthand.ref.css1
-rw-r--r--testsuite/css/parser/value-inherit.css1
-rw-r--r--testsuite/css/parser/value-initial-shorthand.ref.css1
7 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/css/parser/declarations-valid-02.ref.css b/testsuite/css/parser/declarations-valid-02.ref.css
index 0a74680b0e..4cafd4eafa 100644
--- a/testsuite/css/parser/declarations-valid-02.ref.css
+++ b/testsuite/css/parser/declarations-valid-02.ref.css
@@ -1,6 +1,7 @@
* {
font-family: "Sans";
font-size: 15px;
+ font-stretch: normal;
font-style: normal;
font-variant: normal;
font-weight: normal;
diff --git a/testsuite/css/parser/declarations-valid-03.ref.css b/testsuite/css/parser/declarations-valid-03.ref.css
index 0a74680b0e..4cafd4eafa 100644
--- a/testsuite/css/parser/declarations-valid-03.ref.css
+++ b/testsuite/css/parser/declarations-valid-03.ref.css
@@ -1,6 +1,7 @@
* {
font-family: "Sans";
font-size: 15px;
+ font-stretch: normal;
font-style: normal;
font-variant: normal;
font-weight: normal;
diff --git a/testsuite/css/parser/declarations-valid-04.ref.css b/testsuite/css/parser/declarations-valid-04.ref.css
index 2d8582d21a..92389ab5ea 100644
--- a/testsuite/css/parser/declarations-valid-04.ref.css
+++ b/testsuite/css/parser/declarations-valid-04.ref.css
@@ -1,6 +1,7 @@
* {
font-family: initial;
font-size: initial;
+ font-stretch: normal;
font-style: normal;
font-variant: normal;
font-weight: bold;
diff --git a/testsuite/css/parser/declarations-valid-08.ref.css b/testsuite/css/parser/declarations-valid-08.ref.css
index 0a74680b0e..4cafd4eafa 100644
--- a/testsuite/css/parser/declarations-valid-08.ref.css
+++ b/testsuite/css/parser/declarations-valid-08.ref.css
@@ -1,6 +1,7 @@
* {
font-family: "Sans";
font-size: 15px;
+ font-stretch: normal;
font-style: normal;
font-variant: normal;
font-weight: normal;
diff --git a/testsuite/css/parser/value-inherit-shorthand.ref.css b/testsuite/css/parser/value-inherit-shorthand.ref.css
index 4343ba4466..07822f7f05 100644
--- a/testsuite/css/parser/value-inherit-shorthand.ref.css
+++ b/testsuite/css/parser/value-inherit-shorthand.ref.css
@@ -17,6 +17,7 @@
border-top-width: inherit;
font-family: inherit;
font-size: inherit;
+ font-stretch: inherit;
font-style: inherit;
font-variant: inherit;
font-weight: inherit;
diff --git a/testsuite/css/parser/value-inherit.css b/testsuite/css/parser/value-inherit.css
index 777bbac0d1..6e18ed8289 100644
--- a/testsuite/css/parser/value-inherit.css
+++ b/testsuite/css/parser/value-inherit.css
@@ -29,6 +29,7 @@
engine: inherit;
font-family: inherit;
font-size: inherit;
+ font-stretch: inherit;
font-style: inherit;
font-variant: inherit;
font-weight: inherit;
diff --git a/testsuite/css/parser/value-initial-shorthand.ref.css b/testsuite/css/parser/value-initial-shorthand.ref.css
index e6273e3d49..f71e9db3d8 100644
--- a/testsuite/css/parser/value-initial-shorthand.ref.css
+++ b/testsuite/css/parser/value-initial-shorthand.ref.css
@@ -17,6 +17,7 @@
border-top-width: initial;
font-family: initial;
font-size: initial;
+ font-stretch: initial;
font-style: initial;
font-variant: initial;
font-weight: initial;