Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: LayoutTests/fast/xsl/resources/xslt-url.xsl

Issue 365873002: Implement a part of ProcessingInstruction by using PrivateScript (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: WIP: async XHR, rewriting layout tests Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3 <xsl:output method="html" encoding="iso8859-1"/> 3 <xsl:output method="html" encoding="iso8859-1"/>
4 <xsl:template match="TEST"> 4 <xsl:template match="TEST">
5 <html> 5 <html>
6 <head> 6 <head>
7 <title>document.URL</title> 7 <title>document.URL</title>
8 </head> 8 </head>
9 <body> 9 <body>
10 <script> 10 <script>
11 if (window.testRunner) 11 if (window.testRunner)
12 testRunner.dumpAsText(); 12 testRunner.dumpAsText();
13 13
14 if (document.URL.length > 0) 14 if (document.URL.length > 0)
15 document.write("<p>Success</p>"); 15 document.write("<p>Success</p>");
16 else 16 else
17 document.write("<p>Failure, document.URL is empty.</p>"); 17 document.write("<p>Failure, document.URL is empty.</p>");
18 </script> 18 </script>
19 </body> 19 </body>
20 </html> 20 </html>
21 </xsl:template> 21 </xsl:template>
22 </xsl:stylesheet> 22 </xsl:stylesheet>
OLDNEW
« no previous file with comments | « LayoutTests/fast/xsl/resources/xslt-url.xml ('k') | LayoutTests/fast/xsl/resources/xslt-xhtml-template.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698