Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / repaint / container-repaint.svg
blob357c002e09a96ec271670defc98884644ae06edf
1 <svg 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" type="text/javascript"></script>
3 <script type="text/javascript">
4 function repaintTest() {
5 document.getElementById('mover').setAttribute('y', 100);
7 </script>
8 <!-- After repositioning, the red rect should be completely hidden behind the second green rect. -->
10 <g>
11 <rect fill="green" width="100" height="100"/>
13 <svg id="mover" y="50">
14 <rect fill="red" ay="50" width="100" height="50"/>
15 </svg>
17 <rect y="100" fill="green" width="100" height="50"/>
18 </g>
19 </svg>