Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Side by Side Diff: third_party/WebKit/LayoutTests/svg/repaint/container-repaint.svg

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintAndPixelTest()"> 1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintTest()">
2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js" type="te xt/javascript"></script> 2 <script xlink:href="../../fast/repaint/resources/repaint.js" type="text/javascri pt"></script>
3 <script type="text/javascript"> 3 <script type="text/javascript">
4 function repaintTest() { 4 function repaintTest() {
5 document.getElementById('mover').setAttribute('y', 100); 5 document.getElementById('mover').setAttribute('y', 100);
6 } 6 }
7 </script> 7 </script>
8 <!-- After repositioning, the red rect should be completely hidden behind the second green rect. --> 8 <!-- After repositioning, the red rect should be completely hidden behind the second green rect. -->
9 9
10 <g> 10 <g>
11 <rect fill="green" width="100" height="100"/> 11 <rect fill="green" width="100" height="100"/>
12 12
13 <svg id="mover" y="50"> 13 <svg id="mover" y="50">
14 <rect fill="red" ay="50" width="100" height="50"/> 14 <rect fill="red" ay="50" width="100" height="50"/>
15 </svg> 15 </svg>
16 16
17 <rect y="100" fill="green" width="100" height="50"/> 17 <rect y="100" fill="green" width="100" height="50"/>
18 </g> 18 </g>
19 </svg> 19 </svg>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698