Move box_shadow_inset_a.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-11-03 17:37:41 +01:00
parent 23efa0a36f
commit ca62d2387e
4 changed files with 25 additions and 1 deletions

View file

@ -899,6 +899,18 @@
"url": "/_mozilla/css/box_shadow_default_color_a.html"
}
],
"css/box_shadow_inset_a.html": [
{
"path": "css/box_shadow_inset_a.html",
"references": [
[
"/_mozilla/css/box_shadow_inset_ref.html",
"=="
]
],
"url": "/_mozilla/css/box_shadow_inset_a.html"
}
],
"css/box_shadow_inset_bg.html": [
{
"path": "css/box_shadow_inset_bg.html",
@ -5634,6 +5646,18 @@
"url": "/_mozilla/css/box_shadow_default_color_a.html"
}
],
"css/box_shadow_inset_a.html": [
{
"path": "css/box_shadow_inset_a.html",
"references": [
[
"/_mozilla/css/box_shadow_inset_ref.html",
"=="
]
],
"url": "/_mozilla/css/box_shadow_inset_a.html"
}
],
"css/box_shadow_inset_bg.html": [
{
"path": "css/box_shadow_inset_bg.html",

View file

@ -0,0 +1,19 @@
<!DOCTYPE html>
<head>
<!-- Tests that box-shadow inset works. -->
<link rel=match href=box_shadow_inset_ref.html>
<style>
section {
position: absolute;
width: 100px;
height: 100px;
top: 100px;
left: 100px;
box-shadow: inset 50px 10px gold;
}
</style>
</head>
<body>
<section></section>
</body>

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<head>
<!-- Tests that box-shadow inset works. -->
<style>
section {
position: absolute;
width: 100px;
height: 100px;
top: 100px;
left: 100px;
background: gold;
}
nav {
display: block;
position: absolute;
width: 50px;
height: 90px;
background: white;
left: 50px;
top: 10px;
}
</style>
</head>
<body>
<section><nav></nav></section>
</body>