| 1 |
<!DOCTYPE html> |
| 2 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 3 |
<head> |
| 4 |
<meta charset="utf-8" /> |
| 5 |
<meta name="generator" content="Docutils 0.22.4: https://docutils.sourceforge.io/" /> |
| 6 |
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 7 |
<title>Test length specifications</title> |
| 8 |
<link rel="stylesheet" href="../input/data/minimal.css" type="text/css" /> |
| 9 |
<link rel="stylesheet" href="../input/data/plain.css" type="text/css" /> |
| 10 |
</head> |
| 11 |
<body> |
| 12 |
<main id="test-length-specifications"> |
| 13 |
<h1 class="title">Test length specifications</h1> |
| 14 |
|
| 15 |
<section id="images-and-figures"> |
| 16 |
<h2>Images and Figures</h2> |
| 17 |
<figure> |
| 18 |
<img alt="blue square" height="32" src="../input/data/blue%20square.png" width="32" /> |
| 19 |
<figcaption> |
| 20 |
<p>scale 100%, no size specification</p> |
| 21 |
</figcaption> |
| 22 |
</figure> |
| 23 |
<figure style="width: 50%"> |
| 24 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 25%;" /> |
| 25 |
<figcaption> |
| 26 |
<p>width 25%, no height, figure width 50%</p> |
| 27 |
</figcaption> |
| 28 |
</figure> |
| 29 |
<figure style="width: 50%"> |
| 30 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 25%; height: 16px;" /> |
| 31 |
<figcaption> |
| 32 |
<p>width 25%, height 16px, figure width 50%</p> |
| 33 |
</figcaption> |
| 34 |
</figure> |
| 35 |
<figure style="width: 20em"> |
| 36 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 10em; height: 16px;" /> |
| 37 |
<figcaption> |
| 38 |
<p>width 10 em, figure width 20 em</p> |
| 39 |
</figcaption> |
| 40 |
</figure> |
| 41 |
<figure style="width: 40ex"> |
| 42 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 20ex; height: 16px;" /> |
| 43 |
<figcaption> |
| 44 |
<p>width 20 ex, figure width 40 ex</p> |
| 45 |
</figcaption> |
| 46 |
</figure> |
| 47 |
<figure style="width: 30ch"> |
| 48 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 15ch; height: 16px;" /> |
| 49 |
<figcaption> |
| 50 |
<p>width 15 ch, figure width 30 ch</p> |
| 51 |
</figcaption> |
| 52 |
</figure> |
| 53 |
<figure style="width: 20rem"> |
| 54 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 10rem; height: 16px;" /> |
| 55 |
<figcaption> |
| 56 |
<p>width 10 rem, figure width 20 rem</p> |
| 57 |
</figcaption> |
| 58 |
</figure> |
| 59 |
<figure style="width: 30vw"> |
| 60 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 25vw; height: 16px;" /> |
| 61 |
<figcaption> |
| 62 |
<p>width 25 vw, figure width 30 vw</p> |
| 63 |
</figcaption> |
| 64 |
</figure> |
| 65 |
<figure style="width: 30vh"> |
| 66 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 25vh; height: 16px;" /> |
| 67 |
<figcaption> |
| 68 |
<p>width 25 vh, figure width 30 vh</p> |
| 69 |
</figcaption> |
| 70 |
</figure> |
| 71 |
<figure style="width: 30vmin"> |
| 72 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 25vmin; height: 16px;" /> |
| 73 |
<figcaption> |
| 74 |
<p>width 25 vmin, figure width 30 vmin</p> |
| 75 |
</figcaption> |
| 76 |
</figure> |
| 77 |
<figure style="width: 30vmax"> |
| 78 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 25vmax; height: 16px;" /> |
| 79 |
<figcaption> |
| 80 |
<p>width 25 vmax, figure width 30 vmax</p> |
| 81 |
</figcaption> |
| 82 |
</figure> |
| 83 |
<figure style="width: 10cm"> |
| 84 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 5cm; height: 16px;" /> |
| 85 |
<figcaption> |
| 86 |
<p>width 5 cm, figure width 10 cm</p> |
| 87 |
</figcaption> |
| 88 |
</figure> |
| 89 |
<figure style="width: 100mm"> |
| 90 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 50mm; height: 16px;" /> |
| 91 |
<figcaption> |
| 92 |
<p>width 50 mm, figure width 100 mm</p> |
| 93 |
</figcaption> |
| 94 |
</figure> |
| 95 |
<figure style="width: 400Q"> |
| 96 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 200Q; height: 16px;" /> |
| 97 |
<figcaption> |
| 98 |
<p>width 200 Q, figure width 400 Q</p> |
| 99 |
</figcaption> |
| 100 |
</figure> |
| 101 |
<figure style="width: 4in"> |
| 102 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 2in; height: 16px;" /> |
| 103 |
<figcaption> |
| 104 |
<p>width 2 in, figure width 4 in</p> |
| 105 |
</figcaption> |
| 106 |
</figure> |
| 107 |
<figure style="width: 24pc"> |
| 108 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 12pc; height: 16px;" /> |
| 109 |
<figcaption> |
| 110 |
<p>width 12 pc, figure width 24 pc</p> |
| 111 |
</figcaption> |
| 112 |
</figure> |
| 113 |
<figure style="width: 288pt"> |
| 114 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 144pt; height: 16px;" /> |
| 115 |
<figcaption> |
| 116 |
<p>width 144 pt, figure width 288pt</p> |
| 117 |
</figcaption> |
| 118 |
</figure> |
| 119 |
<figure style="width: 384px"> |
| 120 |
<img alt="blue square" src="../input/data/blue%20square.png" style="width: 192px; height: 16px;" /> |
| 121 |
<figcaption> |
| 122 |
<p>width 192 px, figure width 384 px</p> |
| 123 |
</figcaption> |
| 124 |
</figure> |
| 125 |
<figure style="width: 384px"> |
| 126 |
<img alt="blue square" src="../input/data/blue%20square.png" style="height: 16px;" width="192" /> |
| 127 |
<figcaption> |
| 128 |
<p>width 192 <no unit>, figure width 384 <no unit></p> |
| 129 |
</figcaption> |
| 130 |
</figure> |
| 131 |
</section> |
| 132 |
<section id="ch-em-and-rem-test1ch-test1em-test1rem"> |
| 133 |
<h2>ch, em, and rem: <img alt="test1ch" src="../input/data/blue%20square.png" style="height: 1ch;" /> <img alt="test1em" src="../input/data/blue%20square.png" style="height: 1em;" /> <img alt="test1rem" src="../input/data/blue%20square.png" style="height: 1rem;" /></h2> |
| 134 |
<p>Image height 1ch, 1em, and 1rem: <img alt="test1ch" src="../input/data/blue%20square.png" style="height: 1ch;" /> <img alt="test1em" src="../input/data/blue%20square.png" style="height: 1em;" /> <img alt="test1rem" src="../input/data/blue%20square.png" style="height: 1rem;" /></p> |
| 135 |
<p>The units "em" and "ch" change with the current font size. |
| 136 |
The unit "rem" is tied to the document root fontsize.</p> |
| 137 |
</section> |
| 138 |
<section id="tables"> |
| 139 |
<h2>Tables</h2> |
| 140 |
<table> |
| 141 |
<tbody> |
| 142 |
<tr><td><p>value</p></td> |
| 143 |
<td><p>unit</p></td> |
| 144 |
</tr> |
| 145 |
</tbody> |
| 146 |
</table> |
| 147 |
<table style="width: 25%;"> |
| 148 |
<tbody> |
| 149 |
<tr><td><p>25</p></td> |
| 150 |
<td><p>%</p></td> |
| 151 |
</tr> |
| 152 |
</tbody> |
| 153 |
</table> |
| 154 |
<table style="width: 10em;"> |
| 155 |
<tbody> |
| 156 |
<tr><td><p>10</p></td> |
| 157 |
<td><p>em</p></td> |
| 158 |
</tr> |
| 159 |
</tbody> |
| 160 |
</table> |
| 161 |
<table style="width: 20ex;"> |
| 162 |
<tbody> |
| 163 |
<tr><td><p>20</p></td> |
| 164 |
<td><p>ex</p></td> |
| 165 |
</tr> |
| 166 |
</tbody> |
| 167 |
</table> |
| 168 |
<table style="width: 15ch;"> |
| 169 |
<tbody> |
| 170 |
<tr><td><p>15</p></td> |
| 171 |
<td><p>ch</p></td> |
| 172 |
</tr> |
| 173 |
</tbody> |
| 174 |
</table> |
| 175 |
<table style="width: 10rem;"> |
| 176 |
<tbody> |
| 177 |
<tr><td><p>10</p></td> |
| 178 |
<td><p>rem</p></td> |
| 179 |
</tr> |
| 180 |
</tbody> |
| 181 |
</table> |
| 182 |
<table style="width: 25vw;"> |
| 183 |
<tbody> |
| 184 |
<tr><td><p>25</p></td> |
| 185 |
<td><p>vw</p></td> |
| 186 |
</tr> |
| 187 |
</tbody> |
| 188 |
</table> |
| 189 |
<table style="width: 25vh;"> |
| 190 |
<tbody> |
| 191 |
<tr><td><p>25</p></td> |
| 192 |
<td><p>vh</p></td> |
| 193 |
</tr> |
| 194 |
</tbody> |
| 195 |
</table> |
| 196 |
<table style="width: 25vmin;"> |
| 197 |
<tbody> |
| 198 |
<tr><td><p>25</p></td> |
| 199 |
<td><p>vmin</p></td> |
| 200 |
</tr> |
| 201 |
</tbody> |
| 202 |
</table> |
| 203 |
<table style="width: 25vmax;"> |
| 204 |
<tbody> |
| 205 |
<tr><td><p>25</p></td> |
| 206 |
<td><p>vmax</p></td> |
| 207 |
</tr> |
| 208 |
</tbody> |
| 209 |
</table> |
| 210 |
<table style="width: 5cm;"> |
| 211 |
<tbody> |
| 212 |
<tr><td><p>5</p></td> |
| 213 |
<td><p>cm</p></td> |
| 214 |
</tr> |
| 215 |
</tbody> |
| 216 |
</table> |
| 217 |
<table style="width: 50mm;"> |
| 218 |
<tbody> |
| 219 |
<tr><td><p>50</p></td> |
| 220 |
<td><p>mm</p></td> |
| 221 |
</tr> |
| 222 |
</tbody> |
| 223 |
</table> |
| 224 |
<table style="width: 200Q;"> |
| 225 |
<tbody> |
| 226 |
<tr><td><p>200</p></td> |
| 227 |
<td><p>Q</p></td> |
| 228 |
</tr> |
| 229 |
</tbody> |
| 230 |
</table> |
| 231 |
<table style="width: 2in;"> |
| 232 |
<tbody> |
| 233 |
<tr><td><p>2</p></td> |
| 234 |
<td><p>in</p></td> |
| 235 |
</tr> |
| 236 |
</tbody> |
| 237 |
</table> |
| 238 |
<table style="width: 12pc;"> |
| 239 |
<tbody> |
| 240 |
<tr><td><p>12</p></td> |
| 241 |
<td><p>pc</p></td> |
| 242 |
</tr> |
| 243 |
</tbody> |
| 244 |
</table> |
| 245 |
<table style="width: 144pt;"> |
| 246 |
<tbody> |
| 247 |
<tr><td><p>144</p></td> |
| 248 |
<td><p>pt</p></td> |
| 249 |
</tr> |
| 250 |
</tbody> |
| 251 |
</table> |
| 252 |
<table style="width: 192px;"> |
| 253 |
<tbody> |
| 254 |
<tr><td><p>192</p></td> |
| 255 |
<td><p>px</p></td> |
| 256 |
</tr> |
| 257 |
</tbody> |
| 258 |
</table> |
| 259 |
<table style="width: 192px;"> |
| 260 |
<tbody> |
| 261 |
<tr><td><p>192</p></td> |
| 262 |
<td><p><no unit></p></td> |
| 263 |
</tr> |
| 264 |
</tbody> |
| 265 |
</table> |
| 266 |
<style type="text/css"><!-- |
| 267 |
figure {background: lightgreen;} |
| 268 |
--></style></section> |
| 269 |
</main> |
| 270 |
</body> |
| 271 |
</html> |