| Index: LayoutTests/css3/filters/effect-reference-repaint-offset.html
|
| diff --git a/LayoutTests/css3/filters/effect-reference-repaint-offset.html b/LayoutTests/css3/filters/effect-reference-repaint-offset.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0a4176f2137841dd2a205396e8244358180635f2
|
| --- /dev/null
|
| +++ b/LayoutTests/css3/filters/effect-reference-repaint-offset.html
|
| @@ -0,0 +1,41 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| + <script>
|
| + if (window.testRunner) {
|
| + testRunner.dumpAsText(false);
|
| + testRunner.display();
|
| + }
|
| +
|
| + function repaintTest()
|
| + {
|
| + var things = document.getElementsByClassName("before");
|
| + while (things.length)
|
| + things[0].classList.remove("before");
|
| + }
|
| + </script>
|
| + <style>
|
| + .box {
|
| + width: 200px;
|
| + height: 200px;
|
| + background-color: green;
|
| + -webkit-filter: url(#offset);
|
| + filter: url(#offset);
|
| + }
|
| + .before {
|
| + background-color: red;
|
| + }
|
| + </style>
|
| + </head>
|
| + <body onload="runRepaintTest()">
|
| + <div class="box before"></div>
|
| + <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
|
| + <defs>
|
| + <filter id="offset">
|
| + <feOffset dx="190" dy="190"/>
|
| + </filter>
|
| + </defs>
|
| + </svg>
|
| + </body>
|
| +</html>
|
|
|