Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / mask-child-changes.svg
blobbf051557465848d31a8274ba3fed0c8309bc394a
1 <svg width="800" height="600" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
3 <mask id="Mask" maskUnits="userSpaceOnUse" x="0" y="0" width="800" height="300">
4 <rect x="0" y="0" width="800" height="300" fill="none"/>
5 </mask>
7 <script>
8 function repaintTest() {
9 document.getElementById("Mask").firstChild.nextSibling.setAttribute("fill", "red");
11 </script>
13 <rect x="0" y="100" width="800" height="100" fill="blue" mask="url(#Mask)"/>
15 </svg>