| <?xml version="1.0" encoding="UTF-8"?> |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| <style type="text/css"> |
| @font-face { |
| font-family: "Ahem"; |
| src: url(../../resources/Ahem.ttf); |
| } |
| </style> |
| <script xlink:href="../../fast/repaint/resources/repaint.js"/> |
| <text x="20" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text> |
| <text x="170" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text> |
| |
| <script> |
| function repaintTest() { |
| document.getElementsByTagName('text')[1].setAttribute("x", 171); |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| } |
| if (window.testRunner) |
| testRunner.waitUntilDone(); |
| document.fonts.ready().then(runRepaintTest); |
| </script> |
| </svg> |