mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Implementing Blur filter.
This commit is contained in:
parent
35fb516662
commit
05dd176186
6 changed files with 222 additions and 69 deletions
|
@ -73,6 +73,7 @@ flaky_cpu == append_style_a.html append_style_b.html
|
|||
!= block_image.html noteq_500x300_white.html
|
||||
== block_replaced_content_a.html block_replaced_content_ref.html
|
||||
== block_replaced_content_b.html block_replaced_content_ref.html
|
||||
== blur_a.html blur_ref.html
|
||||
!= border_black_groove.html border_black_solid.html
|
||||
!= border_black_ridge.html border_black_groove.html
|
||||
!= border_black_ridge.html border_black_solid.html
|
||||
|
|
29
tests/ref/blur_a.html
Normal file
29
tests/ref/blur_a.html
Normal file
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
div {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background: green;
|
||||
}
|
||||
|
||||
.ex {
|
||||
position: relative;
|
||||
width: 40px; height: 40px;
|
||||
border-style: solid;
|
||||
border-color: black;
|
||||
top: 50px; left: 50px;
|
||||
-webkit-filter: blur(30px);
|
||||
-moz-filter: blur(30px);
|
||||
filter: blur(30px);
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<div class="ex"></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
17
tests/ref/blur_ref.html
Normal file
17
tests/ref/blur_ref.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
div {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
background: green;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue