Move linear_gradients_lengths_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-19 18:34:07 -04:00
parent 63f60deb24
commit 66ce3e9f55
4 changed files with 25 additions and 1 deletions

View file

@ -851,6 +851,18 @@
"url": "/_mozilla/css/letter_spacing_a.html"
}
],
"css/linear_gradients_lengths_a.html": [
{
"path": "css/linear_gradients_lengths_a.html",
"references": [
[
"/_mozilla/css/linear_gradients_lengths_ref.html",
"=="
]
],
"url": "/_mozilla/css/linear_gradients_lengths_a.html"
}
],
"css/max_width_float_simple_a.html": [
{
"path": "css/max_width_float_simple_a.html",
@ -4128,6 +4140,18 @@
"url": "/_mozilla/css/letter_spacing_a.html"
}
],
"css/linear_gradients_lengths_a.html": [
{
"path": "css/linear_gradients_lengths_a.html",
"references": [
[
"/_mozilla/css/linear_gradients_lengths_ref.html",
"=="
]
],
"url": "/_mozilla/css/linear_gradients_lengths_a.html"
}
],
"css/max_width_float_simple_a.html": [
{
"path": "css/max_width_float_simple_a.html",

View file

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='linear_gradients_lengths_ref.html'>
<!-- Tests that linear gradient lengths work. -->
<style>
section {
display: block;
width: 100px;
height: 100px;
border: solid black 1px;
}
#a {
background: linear-gradient(to right, white, white 30px, black 30px, black);
}
</style>
</head>
<body>
<section id=a></section>
<section id=b></section>
</body>
</html>

View file

@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<!-- Tests that linear gradient lengths work. -->
<style>
section {
display: block;
width: 100px;
height: 100px;
border: solid black 1px;
}
#a {
background: linear-gradient(to right, white, white 30%, black 30%, black);
}
</style>
</head>
<body>
<section id=a></section>
<section id=b></section>
</body>
</html>