Updated tests for new HTML format.
Verified against old tests using tidy and diff.
This commit is contained in:
parent
99cb6076f8
commit
90647a56f6
11 changed files with 1265 additions and 1673 deletions
|
@ -1,50 +1,15 @@
|
|||
<h1 id="lhs-test"
|
||||
>lhs test</h1
|
||||
><p
|
||||
><code
|
||||
>unsplit</code
|
||||
> is an arrow that takes a pair of values and combines them to return a single value:</p
|
||||
><pre class="sourceCode haskell"
|
||||
><code
|
||||
>> <span class="ot"
|
||||
>unsplit </span
|
||||
><span class="ot"
|
||||
>::</span
|
||||
> (<span class="dt"
|
||||
>Arrow</span
|
||||
> a) <span class="ot"
|
||||
>=></span
|
||||
> (b <span class="ot"
|
||||
>-></span
|
||||
> c <span class="ot"
|
||||
>-></span
|
||||
> d) <span class="ot"
|
||||
>-></span
|
||||
> a (b, c) d<br
|
||||
/>> unsplit <span class="fu"
|
||||
>=</span
|
||||
> arr <span class="fu"
|
||||
>.</span
|
||||
> <span class="fu"
|
||||
>uncurry</span
|
||||
> <br
|
||||
/>> <span class="co"
|
||||
>-- arr (\op (x,y) -> x `op` y) </span
|
||||
></code
|
||||
></pre
|
||||
><p
|
||||
><code
|
||||
>(***)</code
|
||||
> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p
|
||||
><pre
|
||||
><code
|
||||
>f *** g = first f >>> second g
|
||||
</code
|
||||
></pre
|
||||
><p
|
||||
>Block quote:</p
|
||||
><blockquote
|
||||
><p
|
||||
>foo bar</p
|
||||
></blockquote
|
||||
>
|
||||
<h1 id="lhs-test">lhs test</h1>
|
||||
|
||||
<p><code>unsplit</code> is an arrow that takes a pair of values and combines them to return a single value:</p>
|
||||
|
||||
<pre class="sourceCode haskell"><code>> <span class="ot">unsplit </span><span class="ot">::</span> (<span class="dt">Arrow</span> a) <span class="ot">=></span> (b <span class="ot">-></span> c <span class="ot">-></span> d) <span class="ot">-></span> a (b, c) d<br/>> unsplit <span class="fu">=</span> arr <span class="fu">.</span> <span class="fu">uncurry</span> <br/>> <span class="co">-- arr (\op (x,y) -> x `op` y) </span></code></pre>
|
||||
|
||||
<p><code>(***)</code> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p>
|
||||
|
||||
<pre><code>f *** g = first f >>> second g</code></pre>
|
||||
|
||||
<p>Block quote:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>foo bar</p>
|
||||
</blockquote>
|
||||
|
|
|
@ -25,55 +25,20 @@ code.sourceCode span.er { color: red; font-weight: bold; }
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="lhs-test"
|
||||
>lhs test</h1
|
||||
><p
|
||||
><code
|
||||
>unsplit</code
|
||||
> is an arrow that takes a pair of values and combines them to return a single value:</p
|
||||
><pre class="sourceCode"
|
||||
><code class="sourceCode haskell"
|
||||
><span class="ot"
|
||||
>unsplit </span
|
||||
><span class="ot"
|
||||
>::</span
|
||||
> (<span class="dt"
|
||||
>Arrow</span
|
||||
> a) <span class="ot"
|
||||
>=></span
|
||||
> (b <span class="ot"
|
||||
>-></span
|
||||
> c <span class="ot"
|
||||
>-></span
|
||||
> d) <span class="ot"
|
||||
>-></span
|
||||
> a (b, c) d<br
|
||||
/>unsplit <span class="fu"
|
||||
>=</span
|
||||
> arr <span class="fu"
|
||||
>.</span
|
||||
> <span class="fu"
|
||||
>uncurry</span
|
||||
> <br
|
||||
/> <span class="co"
|
||||
>-- arr (\op (x,y) -> x `op` y) </span
|
||||
></code
|
||||
></pre
|
||||
><p
|
||||
><code
|
||||
>(***)</code
|
||||
> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p
|
||||
><pre
|
||||
><code
|
||||
>f *** g = first f >>> second g
|
||||
</code
|
||||
></pre
|
||||
><p
|
||||
>Block quote:</p
|
||||
><blockquote
|
||||
><p
|
||||
>foo bar</p
|
||||
></blockquote
|
||||
>
|
||||
<h1 id="lhs-test">lhs test</h1>
|
||||
|
||||
<p><code>unsplit</code> is an arrow that takes a pair of values and combines them to return a single value:</p>
|
||||
|
||||
<pre class="sourceCode"><code class="sourceCode haskell"><span class="ot">unsplit </span><span class="ot">::</span> (<span class="dt">Arrow</span> a) <span class="ot">=></span> (b <span class="ot">-></span> c <span class="ot">-></span> d) <span class="ot">-></span> a (b, c) d<br />unsplit <span class="fu">=</span> arr <span class="fu">.</span> <span class="fu">uncurry</span> <br /> <span class="co">-- arr (\op (x,y) -> x `op` y) </span></code></pre>
|
||||
|
||||
<p><code>(***)</code> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p>
|
||||
|
||||
<pre><code>f *** g = first f >>> second g
|
||||
</code></pre>
|
||||
|
||||
<p>Block quote:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>foo bar</p></blockquote>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -25,55 +25,20 @@ code.sourceCode span.er { color: red; font-weight: bold; }
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="lhs-test"
|
||||
>lhs test</h1
|
||||
><p
|
||||
><code
|
||||
>unsplit</code
|
||||
> is an arrow that takes a pair of values and combines them to return a single value:</p
|
||||
><pre class="sourceCode"
|
||||
><code class="sourceCode haskell"
|
||||
>> <span class="ot"
|
||||
>unsplit </span
|
||||
><span class="ot"
|
||||
>::</span
|
||||
> (<span class="dt"
|
||||
>Arrow</span
|
||||
> a) <span class="ot"
|
||||
>=></span
|
||||
> (b <span class="ot"
|
||||
>-></span
|
||||
> c <span class="ot"
|
||||
>-></span
|
||||
> d) <span class="ot"
|
||||
>-></span
|
||||
> a (b, c) d<br
|
||||
/>> unsplit <span class="fu"
|
||||
>=</span
|
||||
> arr <span class="fu"
|
||||
>.</span
|
||||
> <span class="fu"
|
||||
>uncurry</span
|
||||
> <br
|
||||
/>> <span class="co"
|
||||
>-- arr (\op (x,y) -> x `op` y) </span
|
||||
></code
|
||||
></pre
|
||||
><p
|
||||
><code
|
||||
>(***)</code
|
||||
> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p
|
||||
><pre
|
||||
><code
|
||||
>f *** g = first f >>> second g
|
||||
</code
|
||||
></pre
|
||||
><p
|
||||
>Block quote:</p
|
||||
><blockquote
|
||||
><p
|
||||
>foo bar</p
|
||||
></blockquote
|
||||
>
|
||||
<h1 id="lhs-test">lhs test</h1>
|
||||
|
||||
<p><code>unsplit</code> is an arrow that takes a pair of values and combines them to return a single value:</p>
|
||||
|
||||
<pre class="sourceCode"><code class="sourceCode haskell">> <span class="ot">unsplit </span><span class="ot">::</span> (<span class="dt">Arrow</span> a) <span class="ot">=></span> (b <span class="ot">-></span> c <span class="ot">-></span> d) <span class="ot">-></span> a (b, c) d<br />> unsplit <span class="fu">=</span> arr <span class="fu">.</span> <span class="fu">uncurry</span> <br />> <span class="co">-- arr (\op (x,y) -> x `op` y) </span></code></pre>
|
||||
|
||||
<p><code>(***)</code> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p>
|
||||
|
||||
<pre><code>f *** g = first f >>> second g
|
||||
</code></pre>
|
||||
|
||||
<p>Block quote:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>foo bar</p></blockquote>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -6,34 +6,23 @@
|
|||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="lhs-test"
|
||||
>lhs test</h1
|
||||
><p
|
||||
><code
|
||||
>unsplit</code
|
||||
> is an arrow that takes a pair of values and combines them to return a single value:</p
|
||||
><pre class="sourceCode haskell"
|
||||
><code
|
||||
>unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
|
||||
<h1 id="lhs-test">lhs test</h1>
|
||||
|
||||
<p><code>unsplit</code> is an arrow that takes a pair of values and combines them to return a single value:</p>
|
||||
|
||||
<pre class="sourceCode haskell"><code>unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
|
||||
unsplit = arr . uncurry
|
||||
-- arr (\op (x,y) -> x `op` y)
|
||||
</code
|
||||
></pre
|
||||
><p
|
||||
><code
|
||||
>(***)</code
|
||||
> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p
|
||||
><pre
|
||||
><code
|
||||
>f *** g = first f >>> second g
|
||||
</code
|
||||
></pre
|
||||
><p
|
||||
>Block quote:</p
|
||||
><blockquote
|
||||
><p
|
||||
>foo bar</p
|
||||
></blockquote
|
||||
>
|
||||
</code></pre>
|
||||
|
||||
<p><code>(***)</code> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p>
|
||||
|
||||
<pre><code>f *** g = first f >>> second g
|
||||
</code></pre>
|
||||
|
||||
<p>Block quote:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>foo bar</p></blockquote>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -6,34 +6,23 @@
|
|||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
<h1 id="lhs-test"
|
||||
>lhs test</h1
|
||||
><p
|
||||
><code
|
||||
>unsplit</code
|
||||
> is an arrow that takes a pair of values and combines them to return a single value:</p
|
||||
><pre class="sourceCode literate haskell"
|
||||
><code
|
||||
>> unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
|
||||
<h1 id="lhs-test">lhs test</h1>
|
||||
|
||||
<p><code>unsplit</code> is an arrow that takes a pair of values and combines them to return a single value:</p>
|
||||
|
||||
<pre class="sourceCode literate haskell"><code>> unsplit :: (Arrow a) => (b -> c -> d) -> a (b, c) d
|
||||
> unsplit = arr . uncurry
|
||||
> -- arr (\op (x,y) -> x `op` y)
|
||||
</code
|
||||
></pre
|
||||
><p
|
||||
><code
|
||||
>(***)</code
|
||||
> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p
|
||||
><pre
|
||||
><code
|
||||
>f *** g = first f >>> second g
|
||||
</code
|
||||
></pre
|
||||
><p
|
||||
>Block quote:</p
|
||||
><blockquote
|
||||
><p
|
||||
>foo bar</p
|
||||
></blockquote
|
||||
>
|
||||
</code></pre>
|
||||
|
||||
<p><code>(***)</code> combines two arrows into a new arrow by running the two arrows on a pair of values (one arrow on the first item of the pair and one arrow on the second item of the pair).</p>
|
||||
|
||||
<pre><code>f *** g = first f >>> second g
|
||||
</code></pre>
|
||||
|
||||
<p>Block quote:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>foo bar</p></blockquote>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -35,25 +35,31 @@
|
|||
<h4>July 15, 2006</h4>
|
||||
</div>
|
||||
<div class="slide">
|
||||
<h1
|
||||
>First slide</h1
|
||||
><ul
|
||||
><li
|
||||
>first bullet</li
|
||||
><li
|
||||
>second bullet</li
|
||||
></ul
|
||||
></div>
|
||||
|
||||
|
||||
<h1>First slide</h1>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
first bullet</li>
|
||||
<li>
|
||||
second bullet</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="slide">
|
||||
<h1
|
||||
>Math</h1
|
||||
><ul
|
||||
><li
|
||||
><span class="math"
|
||||
>$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span
|
||||
></li
|
||||
></ul
|
||||
></div>
|
||||
|
||||
|
||||
<h1>Math</h1>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<span class="math">$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -17,8 +17,7 @@
|
|||
<link rel="stylesheet" href="ui/default/opera.css" type="text/css" media="projection" id="operaFix" />
|
||||
<!-- S5 JS -->
|
||||
<script src="ui/default/slides.js" type="text/javascript"></script>
|
||||
<script type="text/javascript"
|
||||
>/*
|
||||
<script type="text/javascript">/*
|
||||
LaTeXMathML.js from http://math.etsu.edu/LaTeXMathML/
|
||||
Adapted by Jeff Knisely and Douglas Woodall from ASCIIMathML.js v. 1.4.7,
|
||||
(c) 2005 Peter Jipsen http://www.chapman.edu/~jipsen.
|
||||
|
@ -216,8 +215,7 @@
|
|||
{existing();generic();};}
|
||||
else
|
||||
{window.onload=generic;}}
|
||||
</script
|
||||
>
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="layout">
|
||||
|
@ -236,25 +234,31 @@
|
|||
<h4>July 15, 2006</h4>
|
||||
</div>
|
||||
<div class="slide">
|
||||
<h1
|
||||
>First slide</h1
|
||||
><ul class="incremental"
|
||||
><li
|
||||
>first bullet</li
|
||||
><li
|
||||
>second bullet</li
|
||||
></ul
|
||||
></div>
|
||||
|
||||
|
||||
<h1>First slide</h1>
|
||||
|
||||
<ul class="incremental">
|
||||
<li>
|
||||
first bullet</li>
|
||||
<li>
|
||||
second bullet</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="slide">
|
||||
<h1
|
||||
>Math</h1
|
||||
><ul class="incremental"
|
||||
><li
|
||||
><span class="LaTeX"
|
||||
>$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span
|
||||
></li
|
||||
></ul
|
||||
></div>
|
||||
|
||||
|
||||
<h1>Math</h1>
|
||||
|
||||
<ul class="incremental">
|
||||
<li>
|
||||
<span class="LaTeX">$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,17 +1,15 @@
|
|||
<h1 id="first-slide"
|
||||
>First slide</h1
|
||||
><ul
|
||||
><li
|
||||
>first bullet</li
|
||||
><li
|
||||
>second bullet</li
|
||||
></ul
|
||||
><h1 id="math"
|
||||
>Math</h1
|
||||
><ul
|
||||
><li
|
||||
><span class="math"
|
||||
>$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span
|
||||
></li
|
||||
></ul
|
||||
>
|
||||
<h1 id="first-slide">First slide</h1>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
first bullet</li>
|
||||
<li>
|
||||
second bullet</li>
|
||||
</ul>
|
||||
|
||||
<h1 id="math">Math</h1>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<span class="math">$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span></li>
|
||||
</ul>
|
||||
|
|
|
@ -13,23 +13,21 @@
|
|||
<body>
|
||||
STUFF INSERTED
|
||||
<h1 class="title">My S5 Document</h1>
|
||||
<h1 id="first-slide"
|
||||
>First slide</h1
|
||||
><ul
|
||||
><li
|
||||
>first bullet</li
|
||||
><li
|
||||
>second bullet</li
|
||||
></ul
|
||||
><h1 id="math"
|
||||
>Math</h1
|
||||
><ul
|
||||
><li
|
||||
><span class="math"
|
||||
>$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span
|
||||
></li
|
||||
></ul
|
||||
>
|
||||
<h1 id="first-slide">First slide</h1>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
first bullet</li>
|
||||
<li>
|
||||
second bullet</li>
|
||||
</ul>
|
||||
|
||||
<h1 id="math">Math</h1>
|
||||
|
||||
<ul>
|
||||
<li>
|
||||
<span class="math">$\frac{d}{dx}f(x)=\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$</span></li>
|
||||
</ul>
|
||||
STUFF INSERTED
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,301 +1,234 @@
|
|||
<p
|
||||
>Simple table with caption:</p
|
||||
><table
|
||||
><caption
|
||||
>Demonstration of simple table syntax.</caption
|
||||
><thead
|
||||
><tr class="header"
|
||||
><th align="right"
|
||||
>Right</th
|
||||
><th align="left"
|
||||
>Left</th
|
||||
><th align="center"
|
||||
>Center</th
|
||||
><th align="left"
|
||||
>Default</th
|
||||
></tr
|
||||
></thead
|
||||
><tbody
|
||||
><tr class="odd"
|
||||
><td align="right"
|
||||
>12</td
|
||||
><td align="left"
|
||||
>12</td
|
||||
><td align="center"
|
||||
>12</td
|
||||
><td align="left"
|
||||
>12</td
|
||||
></tr
|
||||
><tr class="even"
|
||||
><td align="right"
|
||||
>123</td
|
||||
><td align="left"
|
||||
>123</td
|
||||
><td align="center"
|
||||
>123</td
|
||||
><td align="left"
|
||||
>123</td
|
||||
></tr
|
||||
><tr class="odd"
|
||||
><td align="right"
|
||||
>1</td
|
||||
><td align="left"
|
||||
>1</td
|
||||
><td align="center"
|
||||
>1</td
|
||||
><td align="left"
|
||||
>1</td
|
||||
></tr
|
||||
></tbody
|
||||
></table
|
||||
><p
|
||||
>Simple table without caption:</p
|
||||
><table
|
||||
><thead
|
||||
><tr class="header"
|
||||
><th align="right"
|
||||
>Right</th
|
||||
><th align="left"
|
||||
>Left</th
|
||||
><th align="center"
|
||||
>Center</th
|
||||
><th align="left"
|
||||
>Default</th
|
||||
></tr
|
||||
></thead
|
||||
><tbody
|
||||
><tr class="odd"
|
||||
><td align="right"
|
||||
>12</td
|
||||
><td align="left"
|
||||
>12</td
|
||||
><td align="center"
|
||||
>12</td
|
||||
><td align="left"
|
||||
>12</td
|
||||
></tr
|
||||
><tr class="even"
|
||||
><td align="right"
|
||||
>123</td
|
||||
><td align="left"
|
||||
>123</td
|
||||
><td align="center"
|
||||
>123</td
|
||||
><td align="left"
|
||||
>123</td
|
||||
></tr
|
||||
><tr class="odd"
|
||||
><td align="right"
|
||||
>1</td
|
||||
><td align="left"
|
||||
>1</td
|
||||
><td align="center"
|
||||
>1</td
|
||||
><td align="left"
|
||||
>1</td
|
||||
></tr
|
||||
></tbody
|
||||
></table
|
||||
><p
|
||||
>Simple table indented two spaces:</p
|
||||
><table
|
||||
><caption
|
||||
>Demonstration of simple table syntax.</caption
|
||||
><thead
|
||||
><tr class="header"
|
||||
><th align="right"
|
||||
>Right</th
|
||||
><th align="left"
|
||||
>Left</th
|
||||
><th align="center"
|
||||
>Center</th
|
||||
><th align="left"
|
||||
>Default</th
|
||||
></tr
|
||||
></thead
|
||||
><tbody
|
||||
><tr class="odd"
|
||||
><td align="right"
|
||||
>12</td
|
||||
><td align="left"
|
||||
>12</td
|
||||
><td align="center"
|
||||
>12</td
|
||||
><td align="left"
|
||||
>12</td
|
||||
></tr
|
||||
><tr class="even"
|
||||
><td align="right"
|
||||
>123</td
|
||||
><td align="left"
|
||||
>123</td
|
||||
><td align="center"
|
||||
>123</td
|
||||
><td align="left"
|
||||
>123</td
|
||||
></tr
|
||||
><tr class="odd"
|
||||
><td align="right"
|
||||
>1</td
|
||||
><td align="left"
|
||||
>1</td
|
||||
><td align="center"
|
||||
>1</td
|
||||
><td align="left"
|
||||
>1</td
|
||||
></tr
|
||||
></tbody
|
||||
></table
|
||||
><p
|
||||
>Multiline table with caption:</p
|
||||
><table
|
||||
><caption
|
||||
>Here's the caption. It may span multiple lines.</caption
|
||||
><col width="15%"
|
||||
/><col width="13%"
|
||||
/><col width="16%"
|
||||
/><col width="33%"
|
||||
/><thead
|
||||
><tr class="header"
|
||||
><th align="center"
|
||||
>Centered Header</th
|
||||
><th align="left"
|
||||
>Left Aligned</th
|
||||
><th align="right"
|
||||
>Right Aligned</th
|
||||
><th align="left"
|
||||
>Default aligned</th
|
||||
></tr
|
||||
></thead
|
||||
><tbody
|
||||
><tr class="odd"
|
||||
><td align="center"
|
||||
>First</td
|
||||
><td align="left"
|
||||
>row</td
|
||||
><td align="right"
|
||||
>12.0</td
|
||||
><td align="left"
|
||||
>Example of a row that spans multiple lines.</td
|
||||
></tr
|
||||
><tr class="even"
|
||||
><td align="center"
|
||||
>Second</td
|
||||
><td align="left"
|
||||
>row</td
|
||||
><td align="right"
|
||||
>5.0</td
|
||||
><td align="left"
|
||||
>Here's another one. Note the blank line between rows.</td
|
||||
></tr
|
||||
></tbody
|
||||
></table
|
||||
><p
|
||||
>Multiline table without caption:</p
|
||||
><table
|
||||
><col width="15%"
|
||||
/><col width="13%"
|
||||
/><col width="16%"
|
||||
/><col width="33%"
|
||||
/><thead
|
||||
><tr class="header"
|
||||
><th align="center"
|
||||
>Centered Header</th
|
||||
><th align="left"
|
||||
>Left Aligned</th
|
||||
><th align="right"
|
||||
>Right Aligned</th
|
||||
><th align="left"
|
||||
>Default aligned</th
|
||||
></tr
|
||||
></thead
|
||||
><tbody
|
||||
><tr class="odd"
|
||||
><td align="center"
|
||||
>First</td
|
||||
><td align="left"
|
||||
>row</td
|
||||
><td align="right"
|
||||
>12.0</td
|
||||
><td align="left"
|
||||
>Example of a row that spans multiple lines.</td
|
||||
></tr
|
||||
><tr class="even"
|
||||
><td align="center"
|
||||
>Second</td
|
||||
><td align="left"
|
||||
>row</td
|
||||
><td align="right"
|
||||
>5.0</td
|
||||
><td align="left"
|
||||
>Here's another one. Note the blank line between rows.</td
|
||||
></tr
|
||||
></tbody
|
||||
></table
|
||||
><p
|
||||
>Table without column headers:</p
|
||||
><table
|
||||
><tbody
|
||||
><tr class="odd"
|
||||
><td align="right"
|
||||
>12</td
|
||||
><td align="left"
|
||||
>12</td
|
||||
><td align="center"
|
||||
>12</td
|
||||
><td align="right"
|
||||
>12</td
|
||||
></tr
|
||||
><tr class="even"
|
||||
><td align="right"
|
||||
>123</td
|
||||
><td align="left"
|
||||
>123</td
|
||||
><td align="center"
|
||||
>123</td
|
||||
><td align="right"
|
||||
>123</td
|
||||
></tr
|
||||
><tr class="odd"
|
||||
><td align="right"
|
||||
>1</td
|
||||
><td align="left"
|
||||
>1</td
|
||||
><td align="center"
|
||||
>1</td
|
||||
><td align="right"
|
||||
>1</td
|
||||
></tr
|
||||
></tbody
|
||||
></table
|
||||
><p
|
||||
>Multiline table without column headers:</p
|
||||
><table
|
||||
><col width="15%"
|
||||
/><col width="13%"
|
||||
/><col width="16%"
|
||||
/><col width="33%"
|
||||
/><tbody
|
||||
><tr class="odd"
|
||||
><td align="center"
|
||||
>First</td
|
||||
><td align="left"
|
||||
>row</td
|
||||
><td align="right"
|
||||
>12.0</td
|
||||
><td align="left"
|
||||
>Example of a row that spans multiple lines.</td
|
||||
></tr
|
||||
><tr class="even"
|
||||
><td align="center"
|
||||
>Second</td
|
||||
><td align="left"
|
||||
>row</td
|
||||
><td align="right"
|
||||
>5.0</td
|
||||
><td align="left"
|
||||
>Here's another one. Note the blank line between rows.</td
|
||||
></tr
|
||||
></tbody
|
||||
></table
|
||||
>
|
||||
<p>Simple table with caption:</p>
|
||||
|
||||
<table><caption>Demonstration of simple table syntax.</caption><thead><tr class="header"><th align="right">
|
||||
Right</th>
|
||||
<th align="left">
|
||||
Left</th>
|
||||
<th align="center">
|
||||
Center</th>
|
||||
<th align="left">
|
||||
Default</th>
|
||||
</tr>
|
||||
</thead><tbody><tr class="odd"><td align="right">
|
||||
12</td>
|
||||
<td align="left">
|
||||
12</td>
|
||||
<td align="center">
|
||||
12</td>
|
||||
<td align="left">
|
||||
12</td>
|
||||
</tr>
|
||||
<tr class="even"><td align="right">
|
||||
123</td>
|
||||
<td align="left">
|
||||
123</td>
|
||||
<td align="center">
|
||||
123</td>
|
||||
<td align="left">
|
||||
123</td>
|
||||
</tr>
|
||||
<tr class="odd"><td align="right">
|
||||
1</td>
|
||||
<td align="left">
|
||||
1</td>
|
||||
<td align="center">
|
||||
1</td>
|
||||
<td align="left">
|
||||
1</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
<p>Simple table without caption:</p>
|
||||
|
||||
<table><thead><tr class="header"><th align="right">
|
||||
Right</th>
|
||||
<th align="left">
|
||||
Left</th>
|
||||
<th align="center">
|
||||
Center</th>
|
||||
<th align="left">
|
||||
Default</th>
|
||||
</tr>
|
||||
</thead><tbody><tr class="odd"><td align="right">
|
||||
12</td>
|
||||
<td align="left">
|
||||
12</td>
|
||||
<td align="center">
|
||||
12</td>
|
||||
<td align="left">
|
||||
12</td>
|
||||
</tr>
|
||||
<tr class="even"><td align="right">
|
||||
123</td>
|
||||
<td align="left">
|
||||
123</td>
|
||||
<td align="center">
|
||||
123</td>
|
||||
<td align="left">
|
||||
123</td>
|
||||
</tr>
|
||||
<tr class="odd"><td align="right">
|
||||
1</td>
|
||||
<td align="left">
|
||||
1</td>
|
||||
<td align="center">
|
||||
1</td>
|
||||
<td align="left">
|
||||
1</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
<p>Simple table indented two spaces:</p>
|
||||
|
||||
<table><caption>Demonstration of simple table syntax.</caption><thead><tr class="header"><th align="right">
|
||||
Right</th>
|
||||
<th align="left">
|
||||
Left</th>
|
||||
<th align="center">
|
||||
Center</th>
|
||||
<th align="left">
|
||||
Default</th>
|
||||
</tr>
|
||||
</thead><tbody><tr class="odd"><td align="right">
|
||||
12</td>
|
||||
<td align="left">
|
||||
12</td>
|
||||
<td align="center">
|
||||
12</td>
|
||||
<td align="left">
|
||||
12</td>
|
||||
</tr>
|
||||
<tr class="even"><td align="right">
|
||||
123</td>
|
||||
<td align="left">
|
||||
123</td>
|
||||
<td align="center">
|
||||
123</td>
|
||||
<td align="left">
|
||||
123</td>
|
||||
</tr>
|
||||
<tr class="odd"><td align="right">
|
||||
1</td>
|
||||
<td align="left">
|
||||
1</td>
|
||||
<td align="center">
|
||||
1</td>
|
||||
<td align="left">
|
||||
1</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
<p>Multiline table with caption:</p>
|
||||
|
||||
<table><caption>Here's the caption. It may span multiple lines.</caption><col width="15%" /><col width="13%" /><col width="16%" /><col width="33%" /><thead><tr class="header"><th align="center">
|
||||
Centered Header</th>
|
||||
<th align="left">
|
||||
Left Aligned</th>
|
||||
<th align="right">
|
||||
Right Aligned</th>
|
||||
<th align="left">
|
||||
Default aligned</th>
|
||||
</tr>
|
||||
</thead><tbody><tr class="odd"><td align="center">
|
||||
First</td>
|
||||
<td align="left">
|
||||
row</td>
|
||||
<td align="right">
|
||||
12.0</td>
|
||||
<td align="left">
|
||||
Example of a row that spans multiple lines.</td>
|
||||
</tr>
|
||||
<tr class="even"><td align="center">
|
||||
Second</td>
|
||||
<td align="left">
|
||||
row</td>
|
||||
<td align="right">
|
||||
5.0</td>
|
||||
<td align="left">
|
||||
Here's another one. Note the blank line between rows.</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
<p>Multiline table without caption:</p>
|
||||
|
||||
<table><col width="15%" /><col width="13%" /><col width="16%" /><col width="33%" /><thead><tr class="header"><th align="center">
|
||||
Centered Header</th>
|
||||
<th align="left">
|
||||
Left Aligned</th>
|
||||
<th align="right">
|
||||
Right Aligned</th>
|
||||
<th align="left">
|
||||
Default aligned</th>
|
||||
</tr>
|
||||
</thead><tbody><tr class="odd"><td align="center">
|
||||
First</td>
|
||||
<td align="left">
|
||||
row</td>
|
||||
<td align="right">
|
||||
12.0</td>
|
||||
<td align="left">
|
||||
Example of a row that spans multiple lines.</td>
|
||||
</tr>
|
||||
<tr class="even"><td align="center">
|
||||
Second</td>
|
||||
<td align="left">
|
||||
row</td>
|
||||
<td align="right">
|
||||
5.0</td>
|
||||
<td align="left">
|
||||
Here's another one. Note the blank line between rows.</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
<p>Table without column headers:</p>
|
||||
|
||||
<table><tbody><tr class="odd"><td align="right">
|
||||
12</td>
|
||||
<td align="left">
|
||||
12</td>
|
||||
<td align="center">
|
||||
12</td>
|
||||
<td align="right">
|
||||
12</td>
|
||||
</tr>
|
||||
<tr class="even"><td align="right">
|
||||
123</td>
|
||||
<td align="left">
|
||||
123</td>
|
||||
<td align="center">
|
||||
123</td>
|
||||
<td align="right">
|
||||
123</td>
|
||||
</tr>
|
||||
<tr class="odd"><td align="right">
|
||||
1</td>
|
||||
<td align="left">
|
||||
1</td>
|
||||
<td align="center">
|
||||
1</td>
|
||||
<td align="right">
|
||||
1</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
||||
<p>Multiline table without column headers:</p>
|
||||
|
||||
<table><col width="15%" /><col width="13%" /><col width="16%" /><col width="33%" /><tbody><tr class="odd"><td align="center">
|
||||
First</td>
|
||||
<td align="left">
|
||||
row</td>
|
||||
<td align="right">
|
||||
12.0</td>
|
||||
<td align="left">
|
||||
Example of a row that spans multiple lines.</td>
|
||||
</tr>
|
||||
<tr class="even"><td align="center">
|
||||
Second</td>
|
||||
<td align="left">
|
||||
row</td>
|
||||
<td align="right">
|
||||
5.0</td>
|
||||
<td align="left">
|
||||
Here's another one. Note the blank line between rows.</td>
|
||||
</tr>
|
||||
</tbody></table>
|
||||
|
|
1968
tests/writer.html
1968
tests/writer.html
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue