| Index: third_party/WebKit/LayoutTests/css3/filters/filter-region-negative-transformed-child.html
|
| diff --git a/third_party/WebKit/LayoutTests/css3/filters/filter-region-negative-transformed-child.html b/third_party/WebKit/LayoutTests/css3/filters/filter-region-negative-transformed-child.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d6b9862cd20868fcf049a358f010a38468aba8be
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/css3/filters/filter-region-negative-transformed-child.html
|
| @@ -0,0 +1,33 @@
|
| +<svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
|
| + <defs>
|
| + <filter id="f1" color-interpolation-filters="sRGB">
|
| + <feColorMatrix type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"/>
|
| + </filter>
|
| + </defs>
|
| +</svg>
|
| +<style>
|
| +.box {
|
| + width: 100px;
|
| + height: 100px;
|
| + position: absolute;
|
| +}
|
| +.green {
|
| + background-color: green;
|
| +}
|
| +.blue {
|
| + background-color: blue;
|
| +}
|
| +.above {
|
| + top: -100px;
|
| +}
|
| +.parent {
|
| + filter: url(#f1);
|
| + background-color: white;
|
| + position: relative;
|
| + top: 100px;
|
| +}
|
| +</style>
|
| +<div class="parent">
|
| +<div class="green box"></div>
|
| +<div class="blue box above"></div>
|
| +</div>
|
|
|