OLD | NEW |
1 <html> | 1 <html> |
2 | 2 |
3 <head> | 3 <head> |
4 <title>word-spacing and letter-spacing über-test</title> | 4 <title>word-spacing and letter-spacing über-test</title> |
5 <!-- | 5 <!-- |
6 This tests wordspacing under a variety of conditions. Things to note: | 6 This tests wordspacing under a variety of conditions. Things to note: |
7 * Within a <pre> block multiple spaces only have the word-spacing applied
once, | 7 * Within a <pre> block multiple spaces only have the word-spacing applied
once, |
8 eg. the distance between 'foo' and 'bar' in <pre>foo bar</pre>, will no
t be doubled | 8 eg. the distance between 'foo' and 'bar' in <pre>foo bar</pre>, will no
t be doubled |
9 in <pre>foo bar</pre>. The block size should be approximately | 9 in <pre>foo bar</pre>. The block size should be approximately |
10 numchars*(charwidth+letter_spacing)+(numwords-1)*word_spacing. | 10 numchars*(charwidth+letter_spacing)+(numwords-1)*word_spacing. |
11 * <pre>elements too</pre>, <pre>elements <!-- comment --*> too</pre> have
a different | 11 * <pre>elements too</pre>, <pre>elements <!-- comment --*> too</pre> have
a different |
12 number of spaces seperating 'elements' and 'too', hence will have diffe
rent sized gaps | 12 number of spaces seperating 'elements' and 'too', hence will have diffe
rent sized gaps |
13 * <pre> blocks are already using a monospace font so no difference may be
visible in | 13 * <pre> blocks are already using a monospace font so no difference may be
visible in |
14 the monospace sections within them. | 14 the monospace sections within them. |
15 --> | 15 --> |
16 </head> | 16 </head> |
17 | 17 |
18 <body> | 18 <body style="overflow:hidden;"> |
19 | 19 |
20 <h2>word-spacing</h2> | 20 <h2>word-spacing</h2> |
21 | 21 |
22 <pre style="word-spacing: 20px; float: left;"> | 22 <pre style="word-spacing: 20px; float: left;"> |
23 <h3>In a floated pre</h3> | 23 <h3>In a floated pre</h3> |
24 Word spacing test <em>for</em> <strong>elements</strong> <tt>within</tt> eleme
nts too. | 24 Word spacing test <em>for</em> <strong>elements</strong> <tt>within</tt> eleme
nts too. |
25 Word spacing test <em>for</em> <strong>elements</strong> <tt>within</tt> eleme
nts <!-- comment --> too. (with comment between elements and too) | 25 Word spacing test <em>for</em> <strong>elements</strong> <tt>within</tt> eleme
nts <!-- comment --> too. (with comment between elements and too) |
26 Word spacing test <em>for</em> <strong>elements</strong> <tt>within</tt> eleme
nts<!-- comment --> too. (with comment (no preceeding space) between elements an
d too) | 26 Word spacing test <em>for</em> <strong>elements</strong> <tt>within</tt> eleme
nts<!-- comment --> too. (with comment (no preceeding space) between elements an
d too) |
27 Word spacing test <em>for</em> <strong>elements</strong> <tt>within</tt> eleme
nts <!-- comment -->too. (with comment (no trailing space) between elements and
too) | 27 Word spacing test <em>for</em> <strong>elements</strong> <tt>within</tt> eleme
nts <!-- comment -->too. (with comment (no trailing space) between elements and
too) |
28 <span style="font-family: monospace">Word spacing test <em>for</em> <strong>el
ements</strong></span> <tt>within</tt> elements too. (with monospace font from W
ord to elements) | 28 <span style="font-family: monospace">Word spacing test <em>for</em> <strong>el
ements</strong></span> <tt>within</tt> elements too. (with monospace font from W
ord to elements) |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 Word and letter spacing test <em>for</em> <strong>elements</strong> <tt>within
</tt> elements<!-- comment --> too. (with comment (no preceeding space) between
elements and too)<br/> | 134 Word and letter spacing test <em>for</em> <strong>elements</strong> <tt>within
</tt> elements<!-- comment --> too. (with comment (no preceeding space) between
elements and too)<br/> |
135 Word and letter spacing test <em>for</em> <strong>elements</strong> <tt>within
</tt> elements <!-- comment -->too. (with comment (no trailing space) between el
ements and too)<br/> | 135 Word and letter spacing test <em>for</em> <strong>elements</strong> <tt>within
</tt> elements <!-- comment -->too. (with comment (no trailing space) between el
ements and too)<br/> |
136 <span style="font-family: monospace">Word and letter spacing test <em>for</em>
<strong>elements</strong></span> <tt>within</tt> elements too. (with monospace
font from Word to elements)<br/> | 136 <span style="font-family: monospace">Word and letter spacing test <em>for</em>
<strong>elements</strong></span> <tt>within</tt> elements too. (with monospace
font from Word to elements)<br/> |
137 Word and letter spacing test <span style="font-family: monospace"><em>for</em>
<strong>elements</strong> <tt>within</tt></span> elements too. (with monospace
font from for to within)<br/> | 137 Word and letter spacing test <span style="font-family: monospace"><em>for</em>
<strong>elements</strong> <tt>within</tt></span> elements too. (with monospace
font from for to within)<br/> |
138 Word and letter spacing test <em>for</em> <strong>elements</strong> <span styl
e="font-family: monospace"><tt>within</tt> elements too</span>. (with monospace
font from elements to too) | 138 Word and letter spacing test <em>for</em> <strong>elements</strong> <span styl
e="font-family: monospace"><tt>within</tt> elements too</span>. (with monospace
font from elements to too) |
139 </span> | 139 </span> |
140 | 140 |
141 </body> | 141 </body> |
142 | 142 |
143 </html> | 143 </html> |
OLD | NEW |