OLD | NEW |
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/repaint.js"/> | 3 <script src="../../fast/repaint/resources/text-based-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="runRepaintTest()"> | 13 <body onload="runRepaintAndPixelTest()"> |
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> |
OLD | NEW |