Auto merge of #5546 - Adenilson:blurFilter01, r=pcwalton

See discussion on #5190 and #5496.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5546)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-04-15 18:56:49 -05:00
commit 1fd6a48cca
6 changed files with 222 additions and 69 deletions

View file

@ -75,6 +75,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
View 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
View 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>