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

Side by Side Diff: LayoutTests/fast/xsl/sort-unicode.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
« no previous file with comments | « LayoutTests/fast/xsl/sort-unicode.xml ('k') | LayoutTests/fast/xsl/sort-unicode-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <xsl:template match="/">
4 <html>
5 <body>
6 <script>
7 if (window.testRunner)
8 testRunner.dumpAsText();
9 </script>
10 <h2>lower-first</h2>
11 <table border="1">
12 <tr bgcolor="#9acd32">
13 <th>Title</th>
14 <th>Artist</th>
15 </tr>
16 <xsl:for-each select="catalog/cd">
17 <xsl:sort select="artist" data-type="text" order="ascending" case-order="l ower-first" />
18 <tr>
19 <td><xsl:value-of select="title"/></td>
20 <td><xsl:value-of select="artist"/></td>
21 </tr>
22 </xsl:for-each>
23 </table>
24 <h2>upper-first</h2>
25 <table border="1">
26 <tr bgcolor="#9acd32">
27 <th>Title</th>
28 <th>Artist</th>
29 </tr>
30 <xsl:for-each select="catalog/cd">
31 <xsl:sort select="artist" data-type="text" order="ascending" case-order="u pper-first" />
32 <tr>
33 <td><xsl:value-of select="title"/></td>
34 <td><xsl:value-of select="artist"/></td>
35 </tr>
36 </xsl:for-each>
37 </table>
38 </body>
39 </html>
40 </xsl:template>
41 </xsl:stylesheet>
OLDNEW
« no previous file with comments | « LayoutTests/fast/xsl/sort-unicode.xml ('k') | LayoutTests/fast/xsl/sort-unicode-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698