Move opacity_simple_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 20:21:52 -04:00
parent 08c1577d83
commit bdedeb3aa5
4 changed files with 25 additions and 1 deletions

View file

@ -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",

View 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>

View 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>