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.
This commit is contained in:
Matthias Clasen 2017-10-15 11:52:03 +08:00
parent 6b2eafe1bb
commit 91497348bf
35 changed files with 343 additions and 18 deletions

View File

@ -0,0 +1,2 @@
* {
}

View File

@ -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

View File

@ -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;
}

View File

@ -0,0 +1,2 @@
* {
}

View File

@ -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 {
}

View File

@ -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;
}

View File

@ -0,0 +1,56 @@
a {
}
b {
}
c {
}
d {
}
e {
}
f {
}
g {
}
h {
}
i {
}
j {
}
k {
}
l {
}
m {
}
n {
}
o {
}
p {
}
q {
}
r {
}
s {
}

View File

@ -0,0 +1,23 @@
a {
}
b {
}
c {
}
d {
}
e {
}
f {
}
g {
}
h {
}

View File

@ -0,0 +1,2 @@
* {
}

View File

@ -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

View File

@ -0,0 +1,2 @@
* {
}

View File

@ -0,0 +1,2 @@
* {
}

View File

@ -3,6 +3,6 @@
font-size: 15px;
font-stretch: initial;
font-style: initial;
font-variant: initial;
font-variant-caps: initial;
font-weight: initial;
}

View File

@ -3,6 +3,6 @@
font-size: 15px;
font-stretch: initial;
font-style: initial;
font-variant: initial;
font-variant-caps: initial;
font-weight: initial;
}

View File

@ -3,6 +3,6 @@
font-size: 15px;
font-stretch: initial;
font-style: initial;
font-variant: initial;
font-variant-caps: initial;
font-weight: bold;
}

View File

@ -0,0 +1,2 @@
* {
}

View File

@ -0,0 +1,2 @@
* {
}

View File

@ -3,6 +3,6 @@
font-size: 15px;
font-stretch: initial;
font-style: initial;
font-variant: initial;
font-variant-caps: initial;
font-weight: initial;
}

View File

@ -3,6 +3,6 @@
font-size: 10pt;
font-stretch: initial;
font-style: initial;
font-variant: initial;
font-variant-caps: initial;
font-weight: initial;
}

View File

@ -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;
}

View File

@ -1 +1 @@
does-not-exist.css:2: error: GTK_CSS_PROVIDER_ERROR_NAME
does-not-exist.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX

View File

@ -0,0 +1,2 @@
foo {
}

View File

@ -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;
}

View File

@ -2,6 +2,42 @@ a {
margin-top: 0;
}
b {
}
c {
}
d {
}
e {
}
f {
}
g {
margin-top: 3px;
}
h {
}
i {
}
j {
}
k {
}
l {
}
m {
}
n {
}

View File

@ -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

View File

@ -0,0 +1,2 @@
* {
}

View File

@ -0,0 +1,8 @@
a {
}
b {
}
c {
}

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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;
}