gecko/content/base/test/file_bug604660-2.xsl
Henri Sivonen 6b5b74d541 Bug 604660 - Make XSLT-inserted script execute in the insertion order. r=jonas, a=blocking2.0-beta7.
--HG--
extra : rebase_source : fde633f62de8b4ec5af5c85f21c01ed4781e06e3
2010-10-27 10:18:24 +03:00

20 lines
698 B
XML

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml">
<xsl:template match="/">
<html>
<head>
<title>XSLT script execution test</title>
</head>
<body>
<script defer="" src="data:text/javascript,parent.scriptRan(5);"></script>
<script>parent.scriptRan(1);</script>
<script async="" src="data:text/javascript,parent.asyncRan();"></script>
<script src="file_bug604660-3.js"></script>
<script>parent.scriptRan(3);</script>
<script src="file_bug604660-4.js"></script>
</body>
</html>
</xsl:template>
</xsl:stylesheet>