Move box_shadow_border_box_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-22 09:16:45 -04:00
parent 4116aa5e18
commit fc958d4d2d
4 changed files with 25 additions and 1 deletions

View file

@ -779,6 +779,18 @@
"url": "/_mozilla/css/border_spacing_a.html"
}
],
"css/box_shadow_border_box_a.html": [
{
"path": "css/box_shadow_border_box_a.html",
"references": [
[
"/_mozilla/css/box_shadow_border_box_ref.html",
"=="
]
],
"url": "/_mozilla/css/box_shadow_border_box_a.html"
}
],
"css/box_shadow_inset_bg.html": [
{
"path": "css/box_shadow_inset_bg.html",
@ -5220,6 +5232,18 @@
"url": "/_mozilla/css/border_spacing_a.html"
}
],
"css/box_shadow_border_box_a.html": [
{
"path": "css/box_shadow_border_box_a.html",
"references": [
[
"/_mozilla/css/box_shadow_border_box_ref.html",
"=="
]
],
"url": "/_mozilla/css/box_shadow_border_box_a.html"
}
],
"css/box_shadow_inset_bg.html": [
{
"path": "css/box_shadow_inset_bg.html",

View file

@ -0,0 +1,20 @@
<head>
<link rel='match' href='box_shadow_border_box_ref.html'>
<!-- Tests that the entire border-box is shadowed, not just the content box. -->
<style>
section {
position: absolute;
width: 100px;
height: 100px;
top: 100px;
left: 100px;
border-left: solid green 10px;
border-right: solid green 10px;
box-shadow: 20px 10px;
}
</style>
</head>
<body>
<section></section>
</body>

View file

@ -0,0 +1,30 @@
<head>
<!-- Tests that the entire border-box is shadowed, not just the content box. -->
<style>
section {
position: absolute;
}
#a {
width: 120px;
height: 100px;
top: 110px;
left: 120px;
background: black;
}
#b {
width: 100px;
height: 100px;
top: 100px;
left: 100px;
border-left: solid green 10px;
border-right: solid green 10px;
background: white;
}
</style>
</head>
<body>
<section id=a></section>
<section id=b></section>
</body>