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

Side by Side Diff: LayoutTests/svg/repaint/foreign-object-repaint.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" standalone="no"?> 1 <?xml version="1.0" standalone="no"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintTest()"> 2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" onload="runRepaintAndPixelTest()">
3 <!-- Test for http://crbug.com/329835 --> 3 <!-- Test for http://crbug.com/329835 -->
4 <g x="10" y="10" transform="translate(50 50)"> 4 <g x="10" y="10" transform="translate(50 50)">
5 <foreignObject width="100" height="100"> 5 <foreignObject width="100" height="100">
6 <div id="div1" xmlns="http://www.w3.org/1999/xhtml" style="width: 100px; h eight: 100px; background-color: red;"></div> 6 <div id="div1" xmlns="http://www.w3.org/1999/xhtml" style="width: 100px; h eight: 100px; background-color: red;"></div>
7 </foreignObject> 7 </foreignObject>
8 </g> 8 </g>
9 9
10 <g x="10" y="10" transform="translate(200 200) rotate(45)"> 10 <g x="10" y="10" transform="translate(200 200) rotate(45)">
11 <foreignObject width="100" height="100"> 11 <foreignObject width="100" height="100">
12 <div id="div2" xmlns="http://www.w3.org/1999/xhtml" style="width: 100px; h eight: 100px; background-color: red;"></div> 12 <div id="div2" xmlns="http://www.w3.org/1999/xhtml" style="width: 100px; h eight: 100px; background-color: red;"></div>
13 </foreignObject> 13 </foreignObject>
14 </g> 14 </g>
15 15
16 <script xlink:href="../../fast/repaint/resources/repaint.js" type="text/javasc ript"></script> 16 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js" type=" text/javascript"></script>
17 <script> 17 <script>
18 function repaintTest() { 18 function repaintTest() {
19 document.getElementById('div1').style.background = 'green'; 19 document.getElementById('div1').style.background = 'green';
20 document.getElementById('div2').style.background = 'green'; 20 document.getElementById('div2').style.background = 'green';
21 } 21 }
22 </script> 22 </script>
23 </svg> 23 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/repaint/filter-child-repaint.svg ('k') | LayoutTests/svg/repaint/image-href-change.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698