mirror of
https://github.com/servo/servo.git
synced 2025-08-20 21:05:34 +01:00
Implementing Blur filter.
This commit is contained in:
parent
35fb516662
commit
05dd176186
6 changed files with 222 additions and 69 deletions
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>
|
Loading…
Add table
Add a link
Reference in a new issue