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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/circle-move-invalidation.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 <html xmlns="http://www.w3.org/1999/xhtml"> 1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head> 2 <head>
3 <script src="../../fast/repaint/resources/text-based-repaint.js"/> 3 <script src="../../fast/repaint/resources/repaint.js"/>
4 <title>Bug 22660</title> 4 <title>Bug 22660</title>
5 <script> 5 <script>
6 function repaintTest() { 6 function repaintTest() {
7 var circle = document.getElementById('c1'); 7 var circle = document.getElementById('c1');
8 circle.setAttribute('cx', '300'); 8 circle.setAttribute('cx', '300');
9 circle.setAttribute('cy', '300'); 9 circle.setAttribute('cy', '300');
10 } 10 }
11 </script> 11 </script>
12 </head> 12 </head>
13 <body onload="runRepaintAndPixelTest()"> 13 <body onload="runRepaintTest()">
14 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 400 400" styl e="width:300px; height:300px; border: 1px solid black;"> 14 <svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 400 400" styl e="width:300px; height:300px; border: 1px solid black;">
15 <circle id="c1" cx="100" cy="100" r="50" style="fill:red" /> 15 <circle id="c1" cx="100" cy="100" r="50" style="fill:red" />
16 </svg> 16 </svg>
17 <br/> 17 <br/>
18 <p/> 18 <p/>
19 <p/> 19 <p/>
20 The circle should not be (partially or fully)visible at the original position af ter moving it. 20 The circle should not be (partially or fully)visible at the original position af ter moving it.
21 </body> 21 </body>
22 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698