mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move opacity_simple_a.html to wpt reftests.
This commit is contained in:
parent
08c1577d83
commit
bdedeb3aa5
4 changed files with 25 additions and 1 deletions
|
@ -695,6 +695,18 @@
|
|||
"url": "/_mozilla/css/only_of_type_pseudo_a.html"
|
||||
}
|
||||
],
|
||||
"css/opacity_simple_a.html": [
|
||||
{
|
||||
"path": "css/opacity_simple_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/opacity_simple_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/opacity_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/outlines_simple_a.html": [
|
||||
{
|
||||
"path": "css/outlines_simple_a.html",
|
||||
|
@ -3468,6 +3480,18 @@
|
|||
"url": "/_mozilla/css/only_of_type_pseudo_a.html"
|
||||
}
|
||||
],
|
||||
"css/opacity_simple_a.html": [
|
||||
{
|
||||
"path": "css/opacity_simple_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/opacity_simple_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/opacity_simple_a.html"
|
||||
}
|
||||
],
|
||||
"css/outlines_simple_a.html": [
|
||||
{
|
||||
"path": "css/outlines_simple_a.html",
|
||||
|
|
28
tests/wpt/mozilla/tests/css/opacity_simple_a.html
Normal file
28
tests/wpt/mozilla/tests/css/opacity_simple_a.html
Normal file
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='opacity_simple_ref.html'>
|
||||
<!-- Tests that opacity works. -->
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
top: 50px;
|
||||
left: 50px;
|
||||
}
|
||||
#a {
|
||||
background: #800000;
|
||||
}
|
||||
#b {
|
||||
background: #000080;
|
||||
opacity: 0.75;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section id=a></section>
|
||||
<section id=b></section>
|
||||
</body>
|
||||
</html>
|
||||
|
20
tests/wpt/mozilla/tests/css/opacity_simple_ref.html
Normal file
20
tests/wpt/mozilla/tests/css/opacity_simple_ref.html
Normal file
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!-- Tests that opacity works. -->
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
top: 50px;
|
||||
left: 50px;
|
||||
background: #200060;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<section></section>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue