1 <?xml version="1.0" encoding="ISO-8859-1"?>
3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4 <xsl:output method="html" indent="yes"/>
6 <xsl:template match="*|@*|processing-instruction()|comment()">
8 <xsl:apply-templates select="*|@*|text()|processing-instruction()|comment()"/>
12 <xsl:template match="body">
13 <body onload="document.getElementById('result').appendChild(document.createTextNode('Handled load event.'))">
14 <script>if (window.layoutTestController) { layoutTestController.dumpAsText(); }</script>
15 <p>This is a regression test that checks for a problem where parsing would be stuck true and you'd never get a load event for an XSL-generated page</p>
16 <p>If the test succeeds, the next paragraph will say "handled load event". If that message is missing, the test failed.</p>