| Index: third_party/WebKit/LayoutTests/svg/custom/absolute-sized-content-with-resources.html
|
| diff --git a/third_party/WebKit/LayoutTests/svg/custom/absolute-sized-content-with-resources.html b/third_party/WebKit/LayoutTests/svg/custom/absolute-sized-content-with-resources.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..76a6cdefebc4daec5f19d2b941824daea8b51c11
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/svg/custom/absolute-sized-content-with-resources.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
|
| +<div id="contentBox" style="width: 100px; height: 400px;">
|
| + <svg xmlns="http://www.w3.org/2000/svg" viewBox="20 15 60 50" height="100%" width="100%">
|
| + <defs>
|
| + <linearGradient id="gradient" x1="0" x2="1" y1="0" y2="1" color-interpolation="linearRGB">
|
| + <stop offset="0" stop-color="blue" />
|
| + <stop offset="1" stop-color="red" />
|
| + </linearGradient>
|
| +
|
| + <mask id="mask" maskUnits="userSpaceOnUse" x="25" y="20" width="50" height="40">
|
| + <circle cx="75" cy="20" r="20" fill="#ffffff" />
|
| + </mask>
|
| + </defs>
|
| +
|
| + <g fill="url(#gradient)">
|
| + <rect width="100" height="80" mask="url(#mask)" />
|
| + </g>
|
| + </svg>
|
| +</div>
|
| +<script>
|
| +function repaintTest() {
|
| + contentBox.style.setProperty("width", "400px");
|
| +}
|
| +onload = runRepaintAndPixelTest();
|
| +</script>
|
|
|