зеркало из https://github.com/mozilla/pjs.git
124 строки
6.8 KiB
HTML
Executable File
124 строки
6.8 KiB
HTML
Executable File
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title></title>
|
|
<style type="text/css">
|
|
table {
|
|
border: solid 1px;
|
|
border-collapse: collapse;
|
|
}
|
|
tbody, tfoot {
|
|
border-top: solid 2px;
|
|
}
|
|
td, th {
|
|
border: solid 1px;
|
|
}
|
|
td {
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>This is a specification table for line breaking.</p>
|
|
<p>The values of IE7 and Opera9: 'A' means that the line is breakable After the character, and 'B' means Before. 'BA' means Before and After.</p>
|
|
<p>(C) which is the tail of the IE7 and the Opera9 means Character. (N) means Numeric.
|
|
This means that they are around the character at testing. E.g., "a$a" is a testcase for (C), "0$0" is a testcase for (N).</p>
|
|
<p>Gecko is not breaking the lines on most western language context. But for file paths, URLs and very long word which is connected hyphens,
|
|
some characters might be breakable. They are 'breakable' in the table. However, they are not always breakable,
|
|
they <em>depend on the context</em> in the word.</p>
|
|
<table border="1">
|
|
<thead>
|
|
<tr><th colspan="2">character</th><th>Gecko</th><th>IE7(C)</th><th>IE7(N)</th><th>Opera9.2(C)</th><th>Opera9.2(N)</th></tr>
|
|
</thead>
|
|
<tfoot>
|
|
<tr><th colspan="2">character</th><th>Gecko</th><th>IE7(C)</th><th>IE7(N)</th><th>Opera9.2(C)</th><th>Opera9.2(N)</th></tr>
|
|
</tfoot>
|
|
<tbody>
|
|
<tr><th>0x21</th><th>!</th><td></td><td>A</td><td>A</td><td></td><td></td></tr>
|
|
<tr><th>0x22</th><th>"</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x23</th><th>#</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x24</th><th>$</th><td></td><td></td><td>B</td><td></td><td></td></tr>
|
|
<tr><th>0x25</th><th>%</th><td>breakable</td><td>A</td><td>A</td><td></td><td></td></tr>
|
|
<tr><th>0x26</th><th>&</th><td>breakable</td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x27</th><th>'</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x28</th><th>(</th><td></td><td>B</td><td>B</td><td></td><td></td></tr>
|
|
<tr><th>0x29</th><th>)</th><td></td><td>A</td><td>A</td><td></td><td></td></tr>
|
|
<tr><th>0x2A</th><th>*</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x2B</th><th>+</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x2C</th><th>,</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x2D</th><th>-</th><td>breakable</td><td>BA</td><td>BA</td><td>A</td><td>A</td></tr>
|
|
<tr><th>0x2E</th><th>.</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x2F</th><th>/</th><td>breakable</td><td></td><td></td><td>A</td><td>A</td></tr>
|
|
</tbody>
|
|
<tbody>
|
|
<tr><th>0x3A</th><th>:</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x3B</th><th>;</th><td>breakable</td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x3C</th><th><</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x3D</th><th>=</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x3E</th><th>></th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x3F</th><th>?</th><td></td><td>A</td><td>A</td><td></td><td></td></tr>
|
|
</tbody>
|
|
<tbody>
|
|
<tr><th>0x40</th><th>@</th><td></td><td></td><td></td><td></td></tr>
|
|
</tbody>
|
|
<tbody>
|
|
<tr><th>0x5B</th><th>[</th><td></td><td>B</td><td>B</td><td></td><td></td></tr>
|
|
<tr><th>0x5C</th><th>\</th><td>breakable</td><td></td><td>B</td><td></td><td></td></tr>
|
|
<tr><th>0x5D</th><th>]</th><td></td><td>A</td><td>A</td><td></td><td></td></tr>
|
|
<tr><th>0x5E</th><th>^</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0x5F</th><th>_</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
</tbody>
|
|
<tbody>
|
|
<tr><th>0x60</th><th>`</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
</tbody>
|
|
<tbody>
|
|
<tr><th>0x7B</th><th>{</th><td></td><td>B</td><td>B</td><td></td><td></td></tr>
|
|
<tr><th>0x7C</th><th>|</th><td></td><td></td><td></td><td>A</td><td>A</td></tr>
|
|
<tr><th>0x7D</th><th>}</th><td></td><td>A</td><td>A</td><td></td><td></td></tr>
|
|
<tr><th>0x7E</th><th>~</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
</tbody>
|
|
<tbody>
|
|
<tr><th>0xA1</th><th>¡</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xA2</th><th>¢</th><td></td><td>A</td><td>A</td><td></td><td></td></tr>
|
|
<tr><th>0xA3</th><th>£</th><td></td><td></td><td>B</td><td></td><td></td></tr>
|
|
<tr><th>0xA4</th><th>¤</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xA5</th><th>¥</th><td></td><td></td><td>B</td><td></td><td></td></tr>
|
|
<tr><th>0xA6</th><th>¦</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xA7</th><th>§</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xA8</th><th>¨</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xA9</th><th>©</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xAA</th><th>ª</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xAB</th><th>«</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xAC</th><th>¬</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xAE</th><th>®</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xAF</th><th>¯</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
</tbody>
|
|
<tbody>
|
|
<tr><th>0xB0</th><th>°</th><td></td><td>A</td><td>A</td><td></td><td></td></tr>
|
|
<tr><th>0xB1</th><th>±</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xB2</th><th>²</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xB3</th><th>³</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xB4</th><th>´</th><td></td><td></td><td></td><td>B</td><td>B</td></tr>
|
|
<tr><th>0xB5</th><th>µ</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xB6</th><th>¶</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xB7</th><th>·</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xB8</th><th>¸</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xB9</th><th>¹</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xBA</th><th>º</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xBB</th><th>»</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xBC</th><th>¼</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xBD</th><th>½</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xBE</th><th>¾</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
<tr><th>0xBF</th><th>¿</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
</tbody>
|
|
<tbody>
|
|
<tr><th>0xD7</th><th>×</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
</tbody>
|
|
<tbody>
|
|
<tr><th>0xF7</th><th>÷</th><td></td><td></td><td></td><td></td><td></td></tr>
|
|
</tbody>
|
|
</table>
|
|
</body>
|
|
</html>
|