OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> | 1 <?xml version="1.0" encoding="UTF-8" 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="forceStyleRecalc();repaintTest();"> |
3 <script xlink:href="../../fast/repaint/resources/repaint.js"/> | 3 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/> |
4 <script> | 4 <script> |
5 function repaintTest() { | 5 function repaintTest() { |
6 document.getElementsByTagName("g")[0].setAttribute("style", "display: bl
ock"); | 6 document.getElementsByTagName("g")[0].setAttribute("style", "display: bl
ock"); |
7 } | 7 } |
8 </script> | 8 </script> |
9 | 9 |
10 <g style="display:none;" > | 10 <g style="display:none;" > |
11 <foreignObject> | 11 <foreignObject> |
12 <html xmlns="http://www.w3.org/1999/xhtml" > | 12 <html xmlns="http://www.w3.org/1999/xhtml" > |
13 <body style="width: 100px; height: 100px;margin:0; color: #FFFFF
F; position: relative" id="databody" >PASS</body> | 13 <body style="width: 100px; height: 100px;margin:0; color: #FFFFF
F; position: relative" id="databody" >PASS</body> |
14 </html> | 14 </html> |
15 </foreignObject> | 15 </foreignObject> |
16 </g> | 16 </g> |
17 <rect x='0' y='0' width='100' height='90' fill='green' ></rect> | 17 <rect x='0' y='0' width='100' height='90' fill='green' ></rect> |
18 </svg> | 18 </svg> |
OLD | NEW |