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

Side by Side Diff: LayoutTests/svg/custom/gradient-add-stops.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 <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintTest()">> 1 <svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintAndPixelTest()">>
2 <script xlink:href="../../fast/repaint/resources/repaint.js"/> 2 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
3 <defs> 3 <defs>
4 <linearGradient id='test'> 4 <linearGradient id='test'>
5 <stop id='stop' offset='0' stop-color='red' /> 5 <stop id='stop' offset='0' stop-color='red' />
6 </linearGradient> 6 </linearGradient>
7 </defs> 7 </defs>
8 <rect fill="url(#test)" width='100' height='100' /> 8 <rect fill="url(#test)" width='100' height='100' />
9 <script> 9 <script>
10 <![CDATA[ 10 <![CDATA[
11 function repaintTest() { 11 function repaintTest() {
12 var gradient = document.getElementById("test"); 12 var gradient = document.getElementById("test");
13 var stop = document.createElementNS('http://www.w3.org/2000/svg', 'stop' ); 13 var stop = document.createElementNS('http://www.w3.org/2000/svg', 'stop' );
14 stop.setAttribute("offset", "0"); 14 stop.setAttribute("offset", "0");
15 stop.style.stopColor = 'green'; 15 stop.style.stopColor = 'green';
16 gradient.appendChild(stop); 16 gradient.appendChild(stop);
17 } 17 }
18 ]]> 18 ]]>
19 </script> 19 </script>
20 </svg> 20 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/foreignObject-crash-on-hover.xml ('k') | LayoutTests/svg/custom/gradient-stop-style-change.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698