| Index: third_party/WebKit/LayoutTests/css3/filters/filter-repaint-feimage.html
|
| diff --git a/third_party/WebKit/LayoutTests/css3/filters/filter-repaint-feimage.html b/third_party/WebKit/LayoutTests/css3/filters/filter-repaint-feimage.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..596a81df53af4610d4ee997691081a3391cc2ba4
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/css3/filters/filter-repaint-feimage.html
|
| @@ -0,0 +1,44 @@
|
| +<!DOCTYPE html>
|
| +<!--
|
| + This test verifies that fetile is repainted covering the entire filter
|
| + region.
|
| +-->
|
| +<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| +<script>
|
| + if (window.testRunner) {
|
| + testRunner.dumpAsTextWithPixelResults();
|
| + testRunner.waitUntilDone();
|
| + }
|
| +
|
| + function repaintTest()
|
| + {
|
| + runAfterLayoutAndPaint(function() {
|
| + document.getElementById('div').classList.add('filtered');
|
| + if (window.testRunner)
|
| + testRunner.notifyDone();
|
| + });
|
| + }
|
| +</script>
|
| +<style>
|
| + div {
|
| + margin: 50px;
|
| + height: 100px;
|
| + width: 100px;
|
| + background-color: green;
|
| + }
|
| +
|
| + .filtered {
|
| + filter: url(#fetile);
|
| + }
|
| +</style>
|
| +<body onload="repaintTest()">
|
| + This test passes if there is no underinvalidation below and the result is a borderless green square.<br>
|
| + <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="0" height="0">
|
| + <defs>
|
| + <filter id="fetile">
|
| + <feImage xlink:href="../images/resources/green-100.png" />
|
| + </filter>
|
| + </defs>
|
| + </svg>
|
| + <div id="div"></div>
|
| +</body>
|
|
|