forked from AuroraMiddleware/gtk
Fix css parser tests
These tests were affected by the font and linear-gradient parsing changes.
This commit is contained in:
parent
3fd9bda06f
commit
7855294594
@ -1,15 +1,15 @@
|
|||||||
a {
|
a {
|
||||||
background-image: cross-fade(linear-gradient(rgb(1,2,3)));
|
background-image: cross-fade(linear-gradient(rgb(1,2,3), rgb(1,2,3)), image(rgb(0,0,0)));
|
||||||
}
|
}
|
||||||
|
|
||||||
b {
|
b {
|
||||||
background-image: cross-fade(0% linear-gradient(rgb(1,2,3)));
|
background-image: cross-fade(0% linear-gradient(rgb(1,2,3), rgb(1,2,3)), image(rgb(0,0,0)));
|
||||||
}
|
}
|
||||||
|
|
||||||
c {
|
c {
|
||||||
background-image: cross-fade(100% linear-gradient(rgb(1,2,3)), linear-gradient(rgb(3,2,1)));
|
background-image: cross-fade(100% linear-gradient(rgb(1,2,3), rgb(1,2,3)), linear-gradient(rgb(3,2,1), rgb(3,2,1)));
|
||||||
}
|
}
|
||||||
|
|
||||||
d {
|
d {
|
||||||
background-image: cross-fade(75% cross-fade(linear-gradient(rgb(1,2,3))), linear-gradient(rgb(3,2,1)));
|
background-image: cross-fade(75% cross-fade(linear-gradient(rgb(1,2,3), rgb(1,2,3))), linear-gradient(rgb(3,2,1), rgb(3,2,1)));
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
* { font: Sans 15 }
|
* { font: 15px Sans }
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
* {
|
* {
|
||||||
font-family: "Sans";
|
font-family: "Sans";
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-stretch: normal;
|
font-stretch: initial;
|
||||||
font-style: normal;
|
font-style: initial;
|
||||||
font-variant: normal;
|
font-variant: initial;
|
||||||
font-weight: normal;
|
font-weight: initial;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
* { font: Sans 15; }
|
* { font: 15px Sans; }
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
* {
|
* {
|
||||||
font-family: "Sans";
|
font-family: "Sans";
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-stretch: normal;
|
font-stretch: initial;
|
||||||
font-style: normal;
|
font-style: initial;
|
||||||
font-variant: normal;
|
font-variant: initial;
|
||||||
font-weight: normal;
|
font-weight: initial;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
* { font: bold }
|
* { font: bold 15px sans }
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
* {
|
* {
|
||||||
font-family: initial;
|
font-family: "sans";
|
||||||
font-size: initial;
|
font-size: 15px;
|
||||||
font-stretch: normal;
|
font-stretch: initial;
|
||||||
font-style: normal;
|
font-style: initial;
|
||||||
font-variant: normal;
|
font-variant: initial;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
* { font: /* comment here */ Sans 15 }
|
* { font: /* comment here */ 15px Sans }
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
* {
|
* {
|
||||||
font-family: "Sans";
|
font-family: "Sans";
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-stretch: normal;
|
font-stretch: initial;
|
||||||
font-style: normal;
|
font-style: initial;
|
||||||
font-variant: normal;
|
font-variant: initial;
|
||||||
font-weight: normal;
|
font-weight: initial;
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
* { font: definitelydoesnotexist }
|
* { font: 10pt definitelydoesnotexist }
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
* {
|
* {
|
||||||
font-family: "definitelydoesnotexist";
|
font-family: "definitelydoesnotexist";
|
||||||
font-size: initial;
|
font-size: 10pt;
|
||||||
font-stretch: normal;
|
font-stretch: initial;
|
||||||
font-style: normal;
|
font-style: initial;
|
||||||
font-variant: normal;
|
font-variant: initial;
|
||||||
font-weight: normal;
|
font-weight: initial;
|
||||||
}
|
}
|
||||||
|
@ -1,71 +1,71 @@
|
|||||||
a {
|
a {
|
||||||
background-image: linear-gradient(red);
|
background-image: linear-gradient(red, blue);
|
||||||
border-image-source: repeating-linear-gradient(red);
|
border-image-source: repeating-linear-gradient(red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
b {
|
b {
|
||||||
background-image: linear-gradient(to top, red);
|
background-image: linear-gradient(to top, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(to top, red);
|
border-image-source: repeating-linear-gradient(to top, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
c {
|
c {
|
||||||
background-image: linear-gradient(to bottom, red);
|
background-image: linear-gradient(to bottom, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(to bottom, red);
|
border-image-source: repeating-linear-gradient(to bottom, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
d {
|
d {
|
||||||
background-image: linear-gradient(to left, red);
|
background-image: linear-gradient(to left, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(to left, red);
|
border-image-source: repeating-linear-gradient(to left, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
e {
|
e {
|
||||||
background-image: linear-gradient(to right, red);
|
background-image: linear-gradient(to right, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(to right, red);
|
border-image-source: repeating-linear-gradient(to right, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
f {
|
f {
|
||||||
background-image: linear-gradient(to bottom left, red);
|
background-image: linear-gradient(to bottom left, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(to bottom left, red);
|
border-image-source: repeating-linear-gradient(to bottom left, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
g {
|
g {
|
||||||
background-image: linear-gradient(to right bottom, red);
|
background-image: linear-gradient(to right bottom, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(to right bottom, red);
|
border-image-source: repeating-linear-gradient(to right bottom, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
h {
|
h {
|
||||||
background-image: linear-gradient(to top right, red);
|
background-image: linear-gradient(to top right, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(to top right, red);
|
border-image-source: repeating-linear-gradient(to top right, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
i {
|
i {
|
||||||
background-image: linear-gradient(to left bottom, red);
|
background-image: linear-gradient(to left bottom, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(to left bottom, red);
|
border-image-source: repeating-linear-gradient(to left bottom, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
j {
|
j {
|
||||||
background-image: linear-gradient(1turn, red);
|
background-image: linear-gradient(1turn, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(1turn, red);
|
border-image-source: repeating-linear-gradient(1turn, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
k {
|
k {
|
||||||
background-image: linear-gradient(-0.25turn, red);
|
background-image: linear-gradient(-0.25turn, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(-0.25turn, red);
|
border-image-source: repeating-linear-gradient(-0.25turn, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
l {
|
l {
|
||||||
background-image: linear-gradient(3.125deg, red);
|
background-image: linear-gradient(3.125deg, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(3.125deg, red);
|
border-image-source: repeating-linear-gradient(3.125deg, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
m {
|
m {
|
||||||
background-image: linear-gradient(90.0rad, red);
|
background-image: linear-gradient(90.0rad, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(90.0rad, red);
|
border-image-source: repeating-linear-gradient(90.0rad, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
n {
|
n {
|
||||||
background-image: linear-gradient(-100grad, red);
|
background-image: linear-gradient(-100grad, red, blue);
|
||||||
border-image-source: repeating-linear-gradient(-100grad, red);
|
border-image-source: repeating-linear-gradient(-100grad, red, blue);
|
||||||
}
|
}
|
||||||
|
|
||||||
o {
|
o {
|
||||||
|
@ -1,71 +1,71 @@
|
|||||||
a {
|
a {
|
||||||
background-image: linear-gradient(rgb(255,0,0));
|
background-image: linear-gradient(rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
b {
|
b {
|
||||||
background-image: linear-gradient(to top, rgb(255,0,0));
|
background-image: linear-gradient(to top, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(to top, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(to top, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
c {
|
c {
|
||||||
background-image: linear-gradient(rgb(255,0,0));
|
background-image: linear-gradient(rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
d {
|
d {
|
||||||
background-image: linear-gradient(to left, rgb(255,0,0));
|
background-image: linear-gradient(to left, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(to left, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(to left, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
e {
|
e {
|
||||||
background-image: linear-gradient(to right, rgb(255,0,0));
|
background-image: linear-gradient(to right, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(to right, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(to right, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
f {
|
f {
|
||||||
background-image: linear-gradient(to bottom left, rgb(255,0,0));
|
background-image: linear-gradient(to bottom left, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(to bottom left, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(to bottom left, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
g {
|
g {
|
||||||
background-image: linear-gradient(to bottom right, rgb(255,0,0));
|
background-image: linear-gradient(to bottom right, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(to bottom right, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(to bottom right, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
h {
|
h {
|
||||||
background-image: linear-gradient(to top right, rgb(255,0,0));
|
background-image: linear-gradient(to top right, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(to top right, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(to top right, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
i {
|
i {
|
||||||
background-image: linear-gradient(to bottom left, rgb(255,0,0));
|
background-image: linear-gradient(to bottom left, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(to bottom left, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(to bottom left, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
j {
|
j {
|
||||||
background-image: linear-gradient(1turn, rgb(255,0,0));
|
background-image: linear-gradient(1turn, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(1turn, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(1turn, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
k {
|
k {
|
||||||
background-image: linear-gradient(-0.25turn, rgb(255,0,0));
|
background-image: linear-gradient(-0.25turn, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(-0.25turn, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(-0.25turn, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
l {
|
l {
|
||||||
background-image: linear-gradient(3.125deg, rgb(255,0,0));
|
background-image: linear-gradient(3.125deg, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(3.125deg, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(3.125deg, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
m {
|
m {
|
||||||
background-image: linear-gradient(90rad, rgb(255,0,0));
|
background-image: linear-gradient(90rad, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(90rad, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(90rad, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
n {
|
n {
|
||||||
background-image: linear-gradient(-100grad, rgb(255,0,0));
|
background-image: linear-gradient(-100grad, rgb(255,0,0), rgb(0,0,255));
|
||||||
border-image-source: repeating-linear-gradient(-100grad, rgb(255,0,0));
|
border-image-source: repeating-linear-gradient(-100grad, rgb(255,0,0), rgb(0,0,255));
|
||||||
}
|
}
|
||||||
|
|
||||||
o {
|
o {
|
||||||
|
Loading…
Reference in New Issue
Block a user