[gtk+] Update all css parser tests
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Update all css parser tests
- Date: Wed, 18 Oct 2017 15:30:58 +0000 (UTC)
commit 91497348bf1ea90ef1056bdc8727bbea645c21e3
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 15 11:52:03 2017 +0800
Update all css parser tests
I have not tracked down in detail where all these changes originate,
this commit just gets things back to working again.
testsuite/css/parser/animation-crash-3.12.ref.css | 2 +
testsuite/css/parser/at-invalid-02.errors | 1 -
.../css/parser/background-position-errors.ref.css | 2 +
testsuite/css/parser/background-position.ref.css | 42 +++++++++++++++
testsuite/css/parser/border-infloop-3.12.ref.css | 2 +
.../css/parser/border-radius-shorthand.ref.css | 39 ++++++++++++++
testsuite/css/parser/border.ref.css | 21 +++++++
testsuite/css/parser/calc-errors.ref.css | 56 ++++++++++++++++++++
testsuite/css/parser/colors-errors.ref.css | 23 ++++++++
.../css/parser/declarations-invalid-01.ref.css | 2 +
.../css/parser/declarations-invalid-08.errors | 2 +-
.../css/parser/declarations-invalid-08.ref.css | 2 +
testsuite/css/parser/declarations-valid-01.ref.css | 2 +
testsuite/css/parser/declarations-valid-02.ref.css | 2 +-
testsuite/css/parser/declarations-valid-03.ref.css | 2 +-
testsuite/css/parser/declarations-valid-04.ref.css | 2 +-
testsuite/css/parser/declarations-valid-06.ref.css | 2 +
testsuite/css/parser/declarations-valid-07.ref.css | 2 +
testsuite/css/parser/declarations-valid-08.ref.css | 2 +-
testsuite/css/parser/declarations-valid-18.ref.css | 2 +-
testsuite/css/parser/declarations.ref.css | 42 +++++++++++++++
testsuite/css/parser/does-not-exist.errors | 2 +-
testsuite/css/parser/does-not-exist.ref.css | 2 +
testsuite/css/parser/font-variant.ref.css | 35 +++++++++++--
.../parser/freed-string-in-error-messages.ref.css | 2 +
testsuite/css/parser/integer.ref.css | 36 +++++++++++++
testsuite/css/parser/property-name-errors.errors | 4 +-
testsuite/css/parser/property-name-errors.ref.css | 2 +
.../radial-background-position-error.ref.css | 2 +
testsuite/css/parser/radial-positions.ref.css | 8 +++
.../text-shadow-invalid-but-worked-in-3.12.ref.css | 5 ++
.../css/parser/value-inherit-shorthand.ref.css | 2 +-
.../css/parser/value-initial-shorthand.ref.css | 2 +-
testsuite/css/parser/value-none.errors | 1 -
testsuite/css/parser/value-none.ref.css | 6 ++
35 files changed, 343 insertions(+), 18 deletions(-)
---
diff --git a/testsuite/css/parser/animation-crash-3.12.ref.css
b/testsuite/css/parser/animation-crash-3.12.ref.css
index e69de29..a0534f7 100644
--- a/testsuite/css/parser/animation-crash-3.12.ref.css
+++ b/testsuite/css/parser/animation-crash-3.12.ref.css
@@ -0,0 +1,2 @@
+* {
+}
diff --git a/testsuite/css/parser/at-invalid-02.errors b/testsuite/css/parser/at-invalid-02.errors
index 38d1ec9..9cf27d4 100644
--- a/testsuite/css/parser/at-invalid-02.errors
+++ b/testsuite/css/parser/at-invalid-02.errors
@@ -1,2 +1 @@
-at-invalid-02.css:1: error: GTK_CSS_PROVIDER_ERROR_DEPRECATED
at-invalid-02.css:1: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/testsuite/css/parser/background-position-errors.ref.css
b/testsuite/css/parser/background-position-errors.ref.css
index e69de29..f1d0d70 100644
--- a/testsuite/css/parser/background-position-errors.ref.css
+++ b/testsuite/css/parser/background-position-errors.ref.css
@@ -0,0 +1,2 @@
+a {
+}
diff --git a/testsuite/css/parser/background-position.ref.css
b/testsuite/css/parser/background-position.ref.css
index f36bd04..a496921 100644
--- a/testsuite/css/parser/background-position.ref.css
+++ b/testsuite/css/parser/background-position.ref.css
@@ -2,6 +2,9 @@ a {
background-position: top;
}
+b {
+}
+
c {
background-position: left top;
}
@@ -10,10 +13,16 @@ d {
background-position: right top;
}
+e {
+}
+
f {
background-position: top;
}
+g {
+}
+
h {
background-position: left;
}
@@ -22,6 +31,12 @@ i {
background-position: left top;
}
+j {
+}
+
+k {
+}
+
l {
background-position: left bottom;
}
@@ -42,6 +57,12 @@ p {
background-position: right top;
}
+q {
+}
+
+r {
+}
+
s {
background-position: right bottom;
}
@@ -58,6 +79,9 @@ v {
background-position: bottom;
}
+w {
+}
+
x {
background-position: left bottom;
}
@@ -66,10 +90,16 @@ y {
background-position: right bottom;
}
+z {
+}
+
ab {
background-position: bottom;
}
+bb {
+}
+
cb {
background-position: center;
}
@@ -78,6 +108,12 @@ db {
background-position: top;
}
+eb {
+}
+
+fb {
+}
+
gb {
background-position: bottom;
}
@@ -98,6 +134,12 @@ kb {
background-position: 25% top;
}
+lb {
+}
+
+mb {
+}
+
nb {
background-position: 25% bottom;
}
diff --git a/testsuite/css/parser/border-infloop-3.12.ref.css
b/testsuite/css/parser/border-infloop-3.12.ref.css
index e69de29..a0534f7 100644
--- a/testsuite/css/parser/border-infloop-3.12.ref.css
+++ b/testsuite/css/parser/border-infloop-3.12.ref.css
@@ -0,0 +1,2 @@
+* {
+}
diff --git a/testsuite/css/parser/border-radius-shorthand.ref.css
b/testsuite/css/parser/border-radius-shorthand.ref.css
index 51a211d..2c45670 100644
--- a/testsuite/css/parser/border-radius-shorthand.ref.css
+++ b/testsuite/css/parser/border-radius-shorthand.ref.css
@@ -102,3 +102,42 @@ o {
border-top-left-radius: 1px 0;
border-top-right-radius: 1px 0;
}
+
+ea {
+}
+
+eb {
+}
+
+ec {
+}
+
+ed {
+}
+
+ee {
+}
+
+ef {
+}
+
+eg {
+}
+
+eh {
+}
+
+ei {
+}
+
+ej {
+}
+
+ek {
+}
+
+el {
+}
+
+em {
+}
diff --git a/testsuite/css/parser/border.ref.css b/testsuite/css/parser/border.ref.css
index a8c6092..2f2ab01 100644
--- a/testsuite/css/parser/border.ref.css
+++ b/testsuite/css/parser/border.ref.css
@@ -22,6 +22,27 @@ f {
border-image-width: 1px 2px 3 4px;
}
+g {
+}
+
+h {
+}
+
+i {
+}
+
+j {
+}
+
+k {
+}
+
+l {
+}
+
+m {
+}
+
n {
border-image-width: 1 2;
}
diff --git a/testsuite/css/parser/calc-errors.ref.css b/testsuite/css/parser/calc-errors.ref.css
index e69de29..3966afd 100644
--- a/testsuite/css/parser/calc-errors.ref.css
+++ b/testsuite/css/parser/calc-errors.ref.css
@@ -0,0 +1,56 @@
+a {
+}
+
+b {
+}
+
+c {
+}
+
+d {
+}
+
+e {
+}
+
+f {
+}
+
+g {
+}
+
+h {
+}
+
+i {
+}
+
+j {
+}
+
+k {
+}
+
+l {
+}
+
+m {
+}
+
+n {
+}
+
+o {
+}
+
+p {
+}
+
+q {
+}
+
+r {
+}
+
+s {
+}
diff --git a/testsuite/css/parser/colors-errors.ref.css b/testsuite/css/parser/colors-errors.ref.css
index e69de29..cfb1eff 100644
--- a/testsuite/css/parser/colors-errors.ref.css
+++ b/testsuite/css/parser/colors-errors.ref.css
@@ -0,0 +1,23 @@
+a {
+}
+
+b {
+}
+
+c {
+}
+
+d {
+}
+
+e {
+}
+
+f {
+}
+
+g {
+}
+
+h {
+}
diff --git a/testsuite/css/parser/declarations-invalid-01.ref.css
b/testsuite/css/parser/declarations-invalid-01.ref.css
index e69de29..a0534f7 100644
--- a/testsuite/css/parser/declarations-invalid-01.ref.css
+++ b/testsuite/css/parser/declarations-invalid-01.ref.css
@@ -0,0 +1,2 @@
+* {
+}
diff --git a/testsuite/css/parser/declarations-invalid-08.errors
b/testsuite/css/parser/declarations-invalid-08.errors
index e97a2d5..a98b516 100644
--- a/testsuite/css/parser/declarations-invalid-08.errors
+++ b/testsuite/css/parser/declarations-invalid-08.errors
@@ -1,3 +1,3 @@
-declarations-invalid-08.css:1: error: GTK_CSS_PROVIDER_ERROR_NAME
+declarations-invalid-08.css:1: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
declarations-invalid-08.css:1: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
declarations-invalid-08.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/testsuite/css/parser/declarations-invalid-08.ref.css
b/testsuite/css/parser/declarations-invalid-08.ref.css
index e69de29..a0534f7 100644
--- a/testsuite/css/parser/declarations-invalid-08.ref.css
+++ b/testsuite/css/parser/declarations-invalid-08.ref.css
@@ -0,0 +1,2 @@
+* {
+}
diff --git a/testsuite/css/parser/declarations-valid-01.ref.css
b/testsuite/css/parser/declarations-valid-01.ref.css
index e69de29..a0534f7 100644
--- a/testsuite/css/parser/declarations-valid-01.ref.css
+++ b/testsuite/css/parser/declarations-valid-01.ref.css
@@ -0,0 +1,2 @@
+* {
+}
diff --git a/testsuite/css/parser/declarations-valid-02.ref.css
b/testsuite/css/parser/declarations-valid-02.ref.css
index 53cc8e4..285b65c 100644
--- a/testsuite/css/parser/declarations-valid-02.ref.css
+++ b/testsuite/css/parser/declarations-valid-02.ref.css
@@ -3,6 +3,6 @@
font-size: 15px;
font-stretch: initial;
font-style: initial;
- font-variant: initial;
+ font-variant-caps: initial;
font-weight: initial;
}
diff --git a/testsuite/css/parser/declarations-valid-03.ref.css
b/testsuite/css/parser/declarations-valid-03.ref.css
index 53cc8e4..285b65c 100644
--- a/testsuite/css/parser/declarations-valid-03.ref.css
+++ b/testsuite/css/parser/declarations-valid-03.ref.css
@@ -3,6 +3,6 @@
font-size: 15px;
font-stretch: initial;
font-style: initial;
- font-variant: initial;
+ font-variant-caps: initial;
font-weight: initial;
}
diff --git a/testsuite/css/parser/declarations-valid-04.ref.css
b/testsuite/css/parser/declarations-valid-04.ref.css
index 02daa11..b8ad2ec 100644
--- a/testsuite/css/parser/declarations-valid-04.ref.css
+++ b/testsuite/css/parser/declarations-valid-04.ref.css
@@ -3,6 +3,6 @@
font-size: 15px;
font-stretch: initial;
font-style: initial;
- font-variant: initial;
+ font-variant-caps: initial;
font-weight: bold;
}
diff --git a/testsuite/css/parser/declarations-valid-06.ref.css
b/testsuite/css/parser/declarations-valid-06.ref.css
index e69de29..a0534f7 100644
--- a/testsuite/css/parser/declarations-valid-06.ref.css
+++ b/testsuite/css/parser/declarations-valid-06.ref.css
@@ -0,0 +1,2 @@
+* {
+}
diff --git a/testsuite/css/parser/declarations-valid-07.ref.css
b/testsuite/css/parser/declarations-valid-07.ref.css
index e69de29..a0534f7 100644
--- a/testsuite/css/parser/declarations-valid-07.ref.css
+++ b/testsuite/css/parser/declarations-valid-07.ref.css
@@ -0,0 +1,2 @@
+* {
+}
diff --git a/testsuite/css/parser/declarations-valid-08.ref.css
b/testsuite/css/parser/declarations-valid-08.ref.css
index 53cc8e4..285b65c 100644
--- a/testsuite/css/parser/declarations-valid-08.ref.css
+++ b/testsuite/css/parser/declarations-valid-08.ref.css
@@ -3,6 +3,6 @@
font-size: 15px;
font-stretch: initial;
font-style: initial;
- font-variant: initial;
+ font-variant-caps: initial;
font-weight: initial;
}
diff --git a/testsuite/css/parser/declarations-valid-18.ref.css
b/testsuite/css/parser/declarations-valid-18.ref.css
index 7135a99..600b38c 100644
--- a/testsuite/css/parser/declarations-valid-18.ref.css
+++ b/testsuite/css/parser/declarations-valid-18.ref.css
@@ -3,6 +3,6 @@
font-size: 10pt;
font-stretch: initial;
font-style: initial;
- font-variant: initial;
+ font-variant-caps: initial;
font-weight: initial;
}
diff --git a/testsuite/css/parser/declarations.ref.css b/testsuite/css/parser/declarations.ref.css
index 19fb63f..9efda68 100644
--- a/testsuite/css/parser/declarations.ref.css
+++ b/testsuite/css/parser/declarations.ref.css
@@ -1,3 +1,12 @@
+a {
+}
+
+b {
+}
+
+c {
+}
+
d {
margin-top: 42px;
}
@@ -15,10 +24,43 @@ g {
margin-top: 42px;
}
+h {
+}
+
+i {
+}
+
+j {
+}
+
+k {
+}
+
+l {
+}
+
+m {
+}
+
+n {
+}
+
+h {
+}
+
i {
padding-top: 42px;
}
+j {
+}
+
+k {
+}
+
+l {
+}
+
m {
padding-top: 42px;
}
diff --git a/testsuite/css/parser/does-not-exist.errors b/testsuite/css/parser/does-not-exist.errors
index 512b42f..66b4a8c 100644
--- a/testsuite/css/parser/does-not-exist.errors
+++ b/testsuite/css/parser/does-not-exist.errors
@@ -1 +1 @@
-does-not-exist.css:2: error: GTK_CSS_PROVIDER_ERROR_NAME
+does-not-exist.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/testsuite/css/parser/does-not-exist.ref.css b/testsuite/css/parser/does-not-exist.ref.css
index e69de29..427827c 100644
--- a/testsuite/css/parser/does-not-exist.ref.css
+++ b/testsuite/css/parser/does-not-exist.ref.css
@@ -0,0 +1,2 @@
+foo {
+}
diff --git a/testsuite/css/parser/font-variant.ref.css b/testsuite/css/parser/font-variant.ref.css
index d37946b..de54b3a 100644
--- a/testsuite/css/parser/font-variant.ref.css
+++ b/testsuite/css/parser/font-variant.ref.css
@@ -1,19 +1,44 @@
a {
- font-variant: initial;
+ font-variant-alternates: initial;
+ font-variant-caps: initial;
+ font-variant-east-asian: initial;
+ font-variant-ligatures: initial;
+ font-variant-numeric: initial;
+ font-variant-position: initial;
}
b {
- font-variant: inherit;
+ font-variant-alternates: inherit;
+ font-variant-caps: inherit;
+ font-variant-east-asian: inherit;
+ font-variant-ligatures: inherit;
+ font-variant-numeric: inherit;
+ font-variant-position: inherit;
}
c {
- font-variant: unset;
+ font-variant-alternates: unset;
+ font-variant-caps: unset;
+ font-variant-east-asian: unset;
+ font-variant-ligatures: unset;
+ font-variant-numeric: unset;
+ font-variant-position: unset;
}
d {
- font-variant: normal;
+ font-variant-alternates: initial;
+ font-variant-caps: initial;
+ font-variant-east-asian: initial;
+ font-variant-ligatures: initial;
+ font-variant-numeric: initial;
+ font-variant-position: initial;
}
e {
- font-variant: small-caps;
+ font-variant-alternates: initial;
+ font-variant-caps: small-caps;
+ font-variant-east-asian: initial;
+ font-variant-ligatures: initial;
+ font-variant-numeric: initial;
+ font-variant-position: initial;
}
diff --git a/testsuite/css/parser/freed-string-in-error-messages.ref.css
b/testsuite/css/parser/freed-string-in-error-messages.ref.css
index e69de29..f1d0d70 100644
--- a/testsuite/css/parser/freed-string-in-error-messages.ref.css
+++ b/testsuite/css/parser/freed-string-in-error-messages.ref.css
@@ -0,0 +1,2 @@
+a {
+}
diff --git a/testsuite/css/parser/integer.ref.css b/testsuite/css/parser/integer.ref.css
index d396d5a..a147d5f 100644
--- a/testsuite/css/parser/integer.ref.css
+++ b/testsuite/css/parser/integer.ref.css
@@ -2,6 +2,42 @@ a {
margin-top: 0;
}
+b {
+}
+
+c {
+}
+
+d {
+}
+
+e {
+}
+
+f {
+}
+
g {
margin-top: 3px;
}
+
+h {
+}
+
+i {
+}
+
+j {
+}
+
+k {
+}
+
+l {
+}
+
+m {
+}
+
+n {
+}
diff --git a/testsuite/css/parser/property-name-errors.errors
b/testsuite/css/parser/property-name-errors.errors
index 5d5c4d0..25a4cd7 100644
--- a/testsuite/css/parser/property-name-errors.errors
+++ b/testsuite/css/parser/property-name-errors.errors
@@ -1,2 +1,2 @@
-property-name-errors.css:2: error: GTK_CSS_PROVIDER_ERROR_NAME
-property-name-errors.css:3: error: GTK_CSS_PROVIDER_ERROR_NAME
+property-name-errors.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
+property-name-errors.css:3: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/testsuite/css/parser/property-name-errors.ref.css
b/testsuite/css/parser/property-name-errors.ref.css
index e69de29..a0534f7 100644
--- a/testsuite/css/parser/property-name-errors.ref.css
+++ b/testsuite/css/parser/property-name-errors.ref.css
@@ -0,0 +1,2 @@
+* {
+}
diff --git a/testsuite/css/parser/radial-background-position-error.ref.css
b/testsuite/css/parser/radial-background-position-error.ref.css
index e69de29..f1d0d70 100644
--- a/testsuite/css/parser/radial-background-position-error.ref.css
+++ b/testsuite/css/parser/radial-background-position-error.ref.css
@@ -0,0 +1,2 @@
+a {
+}
diff --git a/testsuite/css/parser/radial-positions.ref.css b/testsuite/css/parser/radial-positions.ref.css
index e69de29..d193533 100644
--- a/testsuite/css/parser/radial-positions.ref.css
+++ b/testsuite/css/parser/radial-positions.ref.css
@@ -0,0 +1,8 @@
+a {
+}
+
+b {
+}
+
+c {
+}
diff --git a/testsuite/css/parser/text-shadow-invalid-but-worked-in-3.12.ref.css
b/testsuite/css/parser/text-shadow-invalid-but-worked-in-3.12.ref.css
index e69de29..6a96cfd 100644
--- a/testsuite/css/parser/text-shadow-invalid-but-worked-in-3.12.ref.css
+++ b/testsuite/css/parser/text-shadow-invalid-but-worked-in-3.12.ref.css
@@ -0,0 +1,5 @@
+a {
+}
+
+b {
+}
diff --git a/testsuite/css/parser/value-inherit-shorthand.ref.css
b/testsuite/css/parser/value-inherit-shorthand.ref.css
index 07822f7..5f7e30d 100644
--- a/testsuite/css/parser/value-inherit-shorthand.ref.css
+++ b/testsuite/css/parser/value-inherit-shorthand.ref.css
@@ -19,7 +19,7 @@
font-size: inherit;
font-stretch: inherit;
font-style: inherit;
- font-variant: inherit;
+ font-variant-caps: inherit;
font-weight: inherit;
margin-bottom: inherit;
margin-left: inherit;
diff --git a/testsuite/css/parser/value-initial-shorthand.ref.css
b/testsuite/css/parser/value-initial-shorthand.ref.css
index f71e9db..1918b5a 100644
--- a/testsuite/css/parser/value-initial-shorthand.ref.css
+++ b/testsuite/css/parser/value-initial-shorthand.ref.css
@@ -19,7 +19,7 @@
font-size: initial;
font-stretch: initial;
font-style: initial;
- font-variant: initial;
+ font-variant-caps: initial;
font-weight: initial;
margin-bottom: initial;
margin-left: initial;
diff --git a/testsuite/css/parser/value-none.errors b/testsuite/css/parser/value-none.errors
index f3e07a3..0c33e83 100644
--- a/testsuite/css/parser/value-none.errors
+++ b/testsuite/css/parser/value-none.errors
@@ -20,7 +20,6 @@ value-none.css:27: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
value-none.css:29: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
value-none.css:31: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
value-none.css:32: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
-value-none.css:33: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
value-none.css:34: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
value-none.css:35: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
value-none.css:36: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
diff --git a/testsuite/css/parser/value-none.ref.css b/testsuite/css/parser/value-none.ref.css
index 80dbe10..e27a9bb 100644
--- a/testsuite/css/parser/value-none.ref.css
+++ b/testsuite/css/parser/value-none.ref.css
@@ -8,5 +8,11 @@
border-top-style: none;
box-shadow: none;
font-family: "none";
+ font-variant-alternates: initial;
+ font-variant-caps: initial;
+ font-variant-east-asian: initial;
+ font-variant-ligatures: none;
+ font-variant-numeric: initial;
+ font-variant-position: initial;
text-shadow: none;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]