Skip to content

Commit

Permalink
Add css test: fixed positioned box shadow with blur is same as absolu…
Browse files Browse the repository at this point in the history
…tely positioned
  • Loading branch information
splav committed Jul 13, 2016
1 parent b1ad7ec commit f65864d
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 0 deletions.
24 changes: 24 additions & 0 deletions tests/wpt/mozilla/meta/MANIFEST.json
Expand Up @@ -1032,6 +1032,18 @@
"url": "/_mozilla/css/box_shadow_blur_a.html"
}
],
"css/box_shadow_blur_fixed.html": [
{
"path": "css/box_shadow_blur_fixed.html",
"references": [
[
"/_mozilla/css/box_shadow_blur_fixed_ref.html",
"=="
]
],
"url": "/_mozilla/css/box_shadow_blur_fixed.html"
}
],
"css/box_shadow_border_box_a.html": [
{
"path": "css/box_shadow_border_box_a.html",
Expand Down Expand Up @@ -10102,6 +10114,18 @@
"url": "/_mozilla/css/box_shadow_blur_a.html"
}
],
"css/box_shadow_blur_fixed.html": [
{
"path": "css/box_shadow_blur_fixed.html",
"references": [
[
"/_mozilla/css/box_shadow_blur_fixed_ref.html",
"=="
]
],
"url": "/_mozilla/css/box_shadow_blur_fixed.html"
}
],
"css/box_shadow_border_box_a.html": [
{
"path": "css/box_shadow_border_box_a.html",
Expand Down
24 changes: 24 additions & 0 deletions tests/wpt/mozilla/tests/css/box_shadow_blur_fixed.html
@@ -0,0 +1,24 @@
<head>
<link rel='match' href='box_shadow_blur_fixed_ref.html'>
<style>
#div_outer {
width: 100%;
position: fixed;
top: 100px;
left: 0;
}

#div_inner {
background: lightgrey;
height: 40px;
box-shadow: 0 0 30px 30px darkblue;
}
</style>
</head>

<body>
<div id="div_outer">
<div id="div_inner">
</div>
</div>
</body>
23 changes: 23 additions & 0 deletions tests/wpt/mozilla/tests/css/box_shadow_blur_fixed_ref.html
@@ -0,0 +1,23 @@
<head>
<style>
#div_outer {
width: 100%;
position: absolute;
top: 100px;
left: 0;
}

#div_inner {
background: lightgrey;
height: 40px;
box-shadow: 0 0 30px 30px darkblue;
}
</style>
</head>

<body>
<div id="div_outer">
<div id="div_inner">
</div>
</div>
</body>

0 comments on commit f65864d

Please sign in to comment.