<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300" onload="runRepaintTest()">
-<script xlink:href="../../fast/repaint/resources/repaint.js"/>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="300" height="300" onload="runRepaintAndPixelTest()">
+<script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
<!-- Tests the correct calculation of repaint rect. The triangle should be on the left hand side of the line. -->
<script>
function repaintTest() {