| Index: third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-morphology-yonly.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-morphology-yonly.html b/third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-morphology-yonly.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..72ddd799cfad0f709207e5fb12a2a8522074cf81
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/filters/effect-reference-repaint-morphology-yonly.html
|
| @@ -0,0 +1,40 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| + <head>
|
| + <script src="../resources/text-based-repaint.js"></script>
|
| + <script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +
|
| + function repaintTest()
|
| + {
|
| + var things = document.getElementsByClassName("before");
|
| + while (things.length)
|
| + things[0].classList.remove("before");
|
| + }
|
| + </script>
|
| + <style>
|
| + .box {
|
| + width: 200px;
|
| + height: 200px;
|
| + margin: 50px;
|
| + background-color: green;
|
| + -webkit-filter: url(#morphology);
|
| + filter: url(#morphology);
|
| + }
|
| + .before {
|
| + background-color: red;
|
| + }
|
| + </style>
|
| + </head>
|
| + <body onload="runRepaintAndPixelTest()">
|
| + <div class="box before"></div>
|
| + <svg xmlns="http://www.w3.org/2000/svg" width="0" height="0" version="1.1">
|
| + <defs>
|
| + <filter id="morphology">
|
| + <feMorphology radius="0 25" operator="erode"/>
|
| + </filter>
|
| + </defs>
|
| + </svg>
|
| + </body>
|
| +</html>
|
|
|