Add css test: fixed positioned box shadow with blur is same as absolutely positioned

This commit is contained in:
Sergey Alexandrov 2016-07-13 14:40:34 +03:00
parent b1ad7ecc38
commit f65864d04d
3 changed files with 71 additions and 0 deletions

View file

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

View file

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

View file

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