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

Side by Side Diff: LayoutTests/svg/custom/repaint-shadow.svg

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, 9 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 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k"> 2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k">
3 <style type="text/css"> 3 <style type="text/css">
4 @font-face { 4 @font-face {
5 font-family: "Ahem"; 5 font-family: "Ahem";
6 src: url(../../resources/Ahem.ttf); 6 src: url(../../resources/Ahem.ttf);
7 } 7 }
8 </style> 8 </style>
9 <script xlink:href="../../fast/repaint/resources/repaint.js"/> 9 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
10 <text x="20" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text> 10 <text x="20" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text>
11 <text x="170" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text> 11 <text x="170" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text>
12 12
13 <script> 13 <script>
14 function repaintTest() { 14 function repaintTest() {
15 document.getElementsByTagName('text')[1].setAttribute("x", 171); 15 document.getElementsByTagName('text')[1].setAttribute("x", 171);
16 if (window.testRunner) 16 if (window.testRunner)
17 testRunner.notifyDone(); 17 testRunner.notifyDone();
18 } 18 }
19 if (window.testRunner) 19 if (window.testRunner)
20 testRunner.waitUntilDone(); 20 testRunner.waitUntilDone();
21 document.fonts.ready().then(runRepaintTest); 21 document.fonts.ready().then(runRepaintAndPixelTest);
22 </script> 22 </script>
23 </svg> 23 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/repaint-on-image-bounds-change.svg ('k') | LayoutTests/svg/custom/repaint-stroke-width-changes.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698