Move linear_gradients_smoke_a.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-11-13 14:52:46 +01:00
parent d0b7f1628b
commit 6ef1f559e0
4 changed files with 25 additions and 1 deletions

View file

@ -2451,6 +2451,18 @@
"url": "/_mozilla/css/linear_gradients_reverse_a.html"
}
],
"css/linear_gradients_smoke_a.html": [
{
"path": "css/linear_gradients_smoke_a.html",
"references": [
[
"/_mozilla/css/linear_gradients_smoke_ref.html",
"!="
]
],
"url": "/_mozilla/css/linear_gradients_smoke_a.html"
}
],
"css/linebreak_inline_span_a.html": [
{
"path": "css/linebreak_inline_span_a.html",
@ -7612,6 +7624,18 @@
"url": "/_mozilla/css/linear_gradients_reverse_a.html"
}
],
"css/linear_gradients_smoke_a.html": [
{
"path": "css/linear_gradients_smoke_a.html",
"references": [
[
"/_mozilla/css/linear_gradients_smoke_ref.html",
"!="
]
],
"url": "/_mozilla/css/linear_gradients_smoke_a.html"
}
],
"css/linebreak_inline_span_a.html": [
{
"path": "css/linebreak_inline_span_a.html",

View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that linear gradients render *something*. -->
<link rel=mismatch href=linear_gradients_smoke_ref.html>
<style>
section {
display: block;
width: 300px;
height: 150px;
border: solid black 1px;
}
#a {
background: linear-gradient(to bottom, white, black);
}
#b {
background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
}
</style>
</head>
<body>
<section id=a></section>
<section id=b></section>
</body>
</html>

View file

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that linear gradients render *something*. -->
<style>
section {
display: block;
width: 300px;
height: 150px;
border: solid black 1px;
}
</style>
</head>
<body>
<section id=a></section>
<section id=b></section>
</body>
</html>