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 {
|
||||
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 {
|
||||
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 {
|
||||
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 {
|
||||
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-size: 15px;
|
||||
font-stretch: normal;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
font-weight: normal;
|
||||
font-stretch: initial;
|
||||
font-style: initial;
|
||||
font-variant: initial;
|
||||
font-weight: initial;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
* { font: Sans 15; }
|
||||
* { font: 15px Sans; }
|
||||
|
@ -1,8 +1,8 @@
|
||||
* {
|
||||
font-family: "Sans";
|
||||
font-size: 15px;
|
||||
font-stretch: normal;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
font-weight: normal;
|
||||
font-stretch: initial;
|
||||
font-style: initial;
|
||||
font-variant: initial;
|
||||
font-weight: initial;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
* { font: bold }
|
||||
* { font: bold 15px sans }
|
||||
|
@ -1,8 +1,8 @@
|
||||
* {
|
||||
font-family: initial;
|
||||
font-size: initial;
|
||||
font-stretch: normal;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
font-family: "sans";
|
||||
font-size: 15px;
|
||||
font-stretch: initial;
|
||||
font-style: initial;
|
||||
font-variant: initial;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
* { font: /* comment here */ Sans 15 }
|
||||
* { font: /* comment here */ 15px Sans }
|
||||
|
@ -1,8 +1,8 @@
|
||||
* {
|
||||
font-family: "Sans";
|
||||
font-size: 15px;
|
||||
font-stretch: normal;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
font-weight: normal;
|
||||
font-stretch: initial;
|
||||
font-style: initial;
|
||||
font-variant: initial;
|
||||
font-weight: initial;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
* { font: definitelydoesnotexist }
|
||||
* { font: 10pt definitelydoesnotexist }
|
||||
|
@ -1,8 +1,8 @@
|
||||
* {
|
||||
font-family: "definitelydoesnotexist";
|
||||
font-size: initial;
|
||||
font-stretch: normal;
|
||||
font-style: normal;
|
||||
font-variant: normal;
|
||||
font-weight: normal;
|
||||
font-size: 10pt;
|
||||
font-stretch: initial;
|
||||
font-style: initial;
|
||||
font-variant: initial;
|
||||
font-weight: initial;
|
||||
}
|
||||
|
@ -1,71 +1,71 @@
|
||||
a {
|
||||
background-image: linear-gradient(red);
|
||||
border-image-source: repeating-linear-gradient(red);
|
||||
background-image: linear-gradient(red, blue);
|
||||
border-image-source: repeating-linear-gradient(red, blue);
|
||||
}
|
||||
|
||||
b {
|
||||
background-image: linear-gradient(to top, red);
|
||||
border-image-source: repeating-linear-gradient(to top, red);
|
||||
background-image: linear-gradient(to top, red, blue);
|
||||
border-image-source: repeating-linear-gradient(to top, red, blue);
|
||||
}
|
||||
|
||||
c {
|
||||
background-image: linear-gradient(to bottom, red);
|
||||
border-image-source: repeating-linear-gradient(to bottom, red);
|
||||
background-image: linear-gradient(to bottom, red, blue);
|
||||
border-image-source: repeating-linear-gradient(to bottom, red, blue);
|
||||
}
|
||||
|
||||
d {
|
||||
background-image: linear-gradient(to left, red);
|
||||
border-image-source: repeating-linear-gradient(to left, red);
|
||||
background-image: linear-gradient(to left, red, blue);
|
||||
border-image-source: repeating-linear-gradient(to left, red, blue);
|
||||
}
|
||||
|
||||
e {
|
||||
background-image: linear-gradient(to right, red);
|
||||
border-image-source: repeating-linear-gradient(to right, red);
|
||||
background-image: linear-gradient(to right, red, blue);
|
||||
border-image-source: repeating-linear-gradient(to right, red, blue);
|
||||
}
|
||||
|
||||
f {
|
||||
background-image: linear-gradient(to bottom left, red);
|
||||
border-image-source: repeating-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, blue);
|
||||
}
|
||||
|
||||
g {
|
||||
background-image: linear-gradient(to right bottom, red);
|
||||
border-image-source: repeating-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, blue);
|
||||
}
|
||||
|
||||
h {
|
||||
background-image: linear-gradient(to top right, red);
|
||||
border-image-source: repeating-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, blue);
|
||||
}
|
||||
|
||||
i {
|
||||
background-image: linear-gradient(to left bottom, red);
|
||||
border-image-source: repeating-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, blue);
|
||||
}
|
||||
|
||||
j {
|
||||
background-image: linear-gradient(1turn, red);
|
||||
border-image-source: repeating-linear-gradient(1turn, red);
|
||||
background-image: linear-gradient(1turn, red, blue);
|
||||
border-image-source: repeating-linear-gradient(1turn, red, blue);
|
||||
}
|
||||
|
||||
k {
|
||||
background-image: linear-gradient(-0.25turn, red);
|
||||
border-image-source: repeating-linear-gradient(-0.25turn, red);
|
||||
background-image: linear-gradient(-0.25turn, red, blue);
|
||||
border-image-source: repeating-linear-gradient(-0.25turn, red, blue);
|
||||
}
|
||||
|
||||
l {
|
||||
background-image: linear-gradient(3.125deg, red);
|
||||
border-image-source: repeating-linear-gradient(3.125deg, red);
|
||||
background-image: linear-gradient(3.125deg, red, blue);
|
||||
border-image-source: repeating-linear-gradient(3.125deg, red, blue);
|
||||
}
|
||||
|
||||
m {
|
||||
background-image: linear-gradient(90.0rad, red);
|
||||
border-image-source: repeating-linear-gradient(90.0rad, red);
|
||||
background-image: linear-gradient(90.0rad, red, blue);
|
||||
border-image-source: repeating-linear-gradient(90.0rad, red, blue);
|
||||
}
|
||||
|
||||
n {
|
||||
background-image: linear-gradient(-100grad, red);
|
||||
border-image-source: repeating-linear-gradient(-100grad, red);
|
||||
background-image: linear-gradient(-100grad, red, blue);
|
||||
border-image-source: repeating-linear-gradient(-100grad, red, blue);
|
||||
}
|
||||
|
||||
o {
|
||||
|
@ -1,71 +1,71 @@
|
||||
a {
|
||||
background-image: linear-gradient(rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
b {
|
||||
background-image: linear-gradient(to top, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
c {
|
||||
background-image: linear-gradient(rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
d {
|
||||
background-image: linear-gradient(to left, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
e {
|
||||
background-image: linear-gradient(to right, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
f {
|
||||
background-image: linear-gradient(to bottom left, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
g {
|
||||
background-image: linear-gradient(to bottom right, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
h {
|
||||
background-image: linear-gradient(to top right, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
i {
|
||||
background-image: linear-gradient(to bottom left, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
j {
|
||||
background-image: linear-gradient(1turn, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
k {
|
||||
background-image: linear-gradient(-0.25turn, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
l {
|
||||
background-image: linear-gradient(3.125deg, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
m {
|
||||
background-image: linear-gradient(90rad, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
n {
|
||||
background-image: linear-gradient(-100grad, rgb(255,0,0));
|
||||
border-image-source: repeating-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), rgb(0,0,255));
|
||||
}
|
||||
|
||||
o {
|
||||
|
Loading…
Reference in New Issue
Block a user