mirror of
https://github.com/servo/servo.git
synced 2025-08-31 01:58:23 +01:00
Move linear_gradients_lengths_a.html to wpt reftests.
This commit is contained in:
parent
63f60deb24
commit
66ce3e9f55
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
23
tests/wpt/mozilla/tests/css/linear_gradients_lengths_a.html
Normal file
23
tests/wpt/mozilla/tests/css/linear_gradients_lengths_a.html
Normal 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>
|
||||
|
|
@ -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>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue