Move linear_gradients_corners_a.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-11-13 14:42:12 +01:00
parent 1948b6914e
commit d0b7f1628b
4 changed files with 25 additions and 1 deletions

View file

@ -2403,6 +2403,18 @@
"url": "/_mozilla/css/line_height_float_placement_a.html"
}
],
"css/linear_gradients_corners_a.html": [
{
"path": "css/linear_gradients_corners_a.html",
"references": [
[
"/_mozilla/css/linear_gradients_corners_ref.html",
"!="
]
],
"url": "/_mozilla/css/linear_gradients_corners_a.html"
}
],
"css/linear_gradients_lengths_a.html": [
{
"path": "css/linear_gradients_lengths_a.html",
@ -7552,6 +7564,18 @@
"url": "/_mozilla/css/line_height_float_placement_a.html"
}
],
"css/linear_gradients_corners_a.html": [
{
"path": "css/linear_gradients_corners_a.html",
"references": [
[
"/_mozilla/css/linear_gradients_corners_ref.html",
"!="
]
],
"url": "/_mozilla/css/linear_gradients_corners_a.html"
}
],
"css/linear_gradients_lengths_a.html": [
{
"path": "css/linear_gradients_lengths_a.html",

View file

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that corners are not handled incorrectly. -->
<link rel=mismatch href=linear_gradients_corners_ref.html>
<style>
section {
display: block;
width: 300px;
height: 150px;
border: solid black 1px;
}
#a {
background: linear-gradient(to top right, white, black);
}
</style>
</head>
<body>
<section id=a></section>
</body>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that corners are not handled incorrectly. -->
<style>
section {
display: block;
width: 300px;
height: 150px;
border: solid black 1px;
}
#a {
background: linear-gradient(45deg, white, black);
}
</style>
</head>
<body>
<section id=a></section>
</body>
</html>