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

Side by Side Diff: LayoutTests/svg/repaint/svgsvgelement-repaint-children.html

Issue 205263004: Convert svg repaint tests to pixel test only repaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove fixedpos Created 6 years, 8 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/repaint/resources/repaint.js"></script> 4 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
5 </head> 5 </head>
6 <!-- Test for WK108429: All red should disappear, leaving just a green square. - -> 6 <!-- Test for WK108429: All red should disappear, leaving just a green square. - ->
7 <body onload="runRepaintTest()"> 7 <body onload="runRepaintAndPixelTest()">
8 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" width="400" height="400"> 8 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" width="400" height="400">
9 <svg> 9 <svg>
10 <rect x="0" y="0" width="100" height="100" fill="green"/> 10 <rect x="0" y="0" width="100" height="100" fill="green"/>
11 <path id="path" d="M0 0 L 100 0 L 100 100 L 0 100Z" fill="red"/> 11 <path id="path" d="M0 0 L 100 0 L 100 100 L 0 100Z" fill="red"/>
12 </svg> 12 </svg>
13 <script> 13 <script>
14 function repaintTest() { 14 function repaintTest() {
15 if (window.testRunner) 15 if (window.testRunner)
16 testRunner.waitUntilDone(); 16 testRunner.waitUntilDone();
17 17
18 setTimeout(function() { 18 setTimeout(function() {
19 var pathEl = document.getElementById('path'); 19 var pathEl = document.getElementById('path');
20 pathEl.setAttribute('d', 'M0 0Z'); 20 pathEl.setAttribute('d', 'M0 0Z');
21 if (window.testRunner) 21 if (window.testRunner)
22 testRunner.notifyDone(); 22 testRunner.notifyDone();
23 }, 1); 23 }, 1);
24 } 24 }
25 </script> 25 </script>
26 </svg> 26 </svg>
27 </body> 27 </body>
28 </html> 28 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/repaint/repaint-paintorder.svg ('k') | LayoutTests/svg/repaint/text-mask-update.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698