mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move blur_a.html to wpt reftests.
This commit is contained in:
parent
cd9fc225f5
commit
1f921c367a
4 changed files with 25 additions and 1 deletions
|
@ -595,6 +595,18 @@
|
|||
"url": "/_mozilla/css/block_replaced_content_b.html"
|
||||
}
|
||||
],
|
||||
"css/blur_a.html": [
|
||||
{
|
||||
"path": "css/blur_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/blur_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/blur_a.html"
|
||||
}
|
||||
],
|
||||
"css/class-namespaces.html": [
|
||||
{
|
||||
"path": "css/class-namespaces.html",
|
||||
|
@ -2716,6 +2728,18 @@
|
|||
"url": "/_mozilla/css/block_replaced_content_b.html"
|
||||
}
|
||||
],
|
||||
"css/blur_a.html": [
|
||||
{
|
||||
"path": "css/blur_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/blur_ref.html",
|
||||
"!="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/blur_a.html"
|
||||
}
|
||||
],
|
||||
"css/class-namespaces.html": [
|
||||
{
|
||||
"path": "css/class-namespaces.html",
|
||||
|
|
41
tests/wpt/mozilla/tests/css/blur_a.html
Normal file
41
tests/wpt/mozilla/tests/css/blur_a.html
Normal file
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel=mismatch href=blur_ref.html>
|
||||
<style type="text/css">
|
||||
div {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background: green;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ex {
|
||||
position: absolute;
|
||||
width: 80px; height: 80px;
|
||||
background: blue;
|
||||
top: 60px; left: 60px;
|
||||
-webkit-filter: blur(30px);
|
||||
-moz-filter: blur(30px);
|
||||
filter: blur(30px);
|
||||
}
|
||||
|
||||
.coveritup {
|
||||
position: absolute;
|
||||
background: green;
|
||||
top: 60px;
|
||||
left: 60px;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
transform: translateX(0px); /* force stacking context */
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<div class="ex"></div>
|
||||
<div class="coveritup"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
18
tests/wpt/mozilla/tests/css/blur_ref.html
Normal file
18
tests/wpt/mozilla/tests/css/blur_ref.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
div {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background: green;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue