mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
322 lines
No EOL
14 KiB
HTML
322 lines
No EOL
14 KiB
HTML
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>Line Breaking and Word Boundaries - CSS Text Module Level 3 CR Test Suite</title>
|
|
<style type="text/css">
|
|
@import "http://www.w3.org/StyleSheets/TR/base.css";
|
|
@import "../indices.css";
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>CSS Text Module Level 3 CR Test Suite</h1>
|
|
<h2>Line Breaking and Word Boundaries (20 tests)</h2>
|
|
<table width="100%">
|
|
<col id="test-column">
|
|
<col id="refs-column">
|
|
<col id="flags-column">
|
|
<col id="info-column">
|
|
<thead>
|
|
<tr>
|
|
<th>Test</th>
|
|
<th><abbr title="Rendering References">Refs</abbr></th>
|
|
<th>Flags</th>
|
|
<th>Info</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="s5">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s5">+</a>
|
|
<a href="http://www.w3.org/TR/css-text-3/#line-breaking">5 Line Breaking and Word Boundaries</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.#forced-line-break">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.#line-break">
|
|
<!-- 13 tests -->
|
|
<tr id="line-break-normal-021-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-normal-021.htm">line-break-normal-021</a></strong></td>
|
|
<td><a href="reference/line-break-normal-021-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - normal and iteration marks
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: normal' does not allow line breaking before iteration marks such as IDEOGRAPHIC ITERATION MARK (U+3005) and VERTICAL IDEOGRAPHIC ITERATION MARK (U+3B).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-normal-022-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-normal-022.htm">line-break-normal-022</a></strong></td>
|
|
<td><a href="reference/line-break-normal-022-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - normal and inseparable characters
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: normal' does not allow line breaking before inseparable characters such as TWO DOT LEADER (U+2025) and HORIZONTAL ELLIPSIS (U+2026).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-normal-023-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-normal-023.htm">line-break-normal-023</a></strong></td>
|
|
<td><a href="reference/line-break-normal-023-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - normal and centered punctuation marks
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: normal' does not allow line breaking before centered punctuation marks such as COLON (U+003A) and SEMICOLON (U+003B).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-normal-024-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-normal-024.htm">line-break-normal-024</a></strong></td>
|
|
<td><a href="reference/line-break-normal-024-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - normal and postfixes
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: normal' does not allow line breaking before postfixes such as PERCENT SIGN (U+0025) and CENT SIGN (U+00A2).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-normal-025-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-normal-025.htm">line-break-normal-025</a></strong></td>
|
|
<td><a href="reference/line-break-normal-025-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - normal and prefixes
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: normal' does not allow line breaking before prefixes such as EURO SIGN (U+20AC) and FULLWIDTH DOLLAR SIGN (U+FF04).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-strict-011-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-strict-011.htm">line-break-strict-011</a></strong></td>
|
|
<td><a href="reference/line-break-strict-011-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - strict and Japanese small kana
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: strict' does not allow line breaking before Japanese small kana such as 'Japanese small kana a (U+3041)' and 'Japanese small kana i (U+3043)'.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-strict-012-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-strict-012.htm">line-break-strict-012</a></strong></td>
|
|
<td><a href="reference/line-break-strict-012-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - strict and Katakana-Hiragana prolonged sound marks
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: strict' does not allow line breaking before Katakana-Hiragana prolonged sound marks such as (U+30FC) and (U+FF70).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-strict-013-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-strict-013.htm">line-break-strict-013</a></strong></td>
|
|
<td><a href="reference/line-break-strict-013-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - strict and hyphens
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: strict' does not allow line breaking before hyphens such as HYPHEN (U+2010) and ENDASH (U+2013).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-strict-014-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-strict-014.htm">line-break-strict-014</a></strong></td>
|
|
<td><a href="reference/line-break-strict-014-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - strict and iteration marks
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: strict' does not allow line breaking before iteration marks such as IDEOGRAPHIC ITERATION MARK (U+3005) and VERTICAL IDEOGRAPHIC ITERATION MARK (U+3B).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-strict-015-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-strict-015.htm">line-break-strict-015</a></strong></td>
|
|
<td><a href="reference/line-break-strict-015-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - strict and inseparable characters
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: strict' does not allow line breaking before inseparable characters such as TWO DOT LEADER (U+2025) and HORIZONTAL ELLIPSIS (U+2026).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-strict-016-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-strict-016.htm">line-break-strict-016</a></strong></td>
|
|
<td><a href="reference/line-break-strict-016-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - strict and centered punctuation marks
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: strict' does not allow line breaking before centered punctuation marks such as COLON (U+003A) and SEMICOLON (U+003B).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-strict-017-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-strict-017.htm">line-break-strict-017</a></strong></td>
|
|
<td><a href="reference/line-break-strict-017-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - strict and postfixes
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: strict' does not allow line breaking before postfixes such as PERCENT SIGN (U+0025) and CENT SIGN (U+00A2).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="line-break-strict-018-5.#line-break" class="primary font">
|
|
<td><strong>
|
|
<a href="line-break-strict-018.htm">line-break-strict-018</a></strong></td>
|
|
<td><a href="reference/line-break-strict-018-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>line-break - strict and prefixes
|
|
<ul class="assert">
|
|
<li>This test verifies that 'line-break: strict' does not allow line breaking before prefixes such as EURO SIGN (U+20AC) and FULLWIDTH DOLLAR SIGN (U+FF04).</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tbody id="s5.#line-breaking0">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.#soft-wrap-break">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.#soft-wrap-opportunity">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.#wrapping">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.1">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s5.1">+</a>
|
|
<a href="http://www.w3.org/TR/css-text-3/#line-break-details">5.1 Line Breaking Details</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.2">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s5.2">+</a>
|
|
<a href="http://www.w3.org/TR/css-text-3/#line-break-property">5.2 Breaking Rules for Punctuation: the ‘line-break’ property</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.2.#auto">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.2.#line-break0">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.2.#loose">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.2.#normal0">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.2.#strict">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.3">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s5.3">+</a>
|
|
<a href="http://www.w3.org/TR/css-text-3/#word-break-property">5.3 Breaking Rules for Letters: the ‘word-break’ property</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.3.#break-all">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.3.#keep-all">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.3.#normal1">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s5.3.#word-break">
|
|
<!-- 7 tests -->
|
|
<tr id="word-break-001-5.3.#word-break" class="primary">
|
|
<td><strong>
|
|
<a href="word-break-001.htm">word-break-001</a></strong></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td>word-break - break-all keyword value
|
|
<ul class="assert">
|
|
<li>Check that 'word-break' with 'break-all' keyword value implies to words break between any two letters without hyphenate.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="word-break-002-5.3.#word-break" class="primary">
|
|
<td><strong>
|
|
<a href="word-break-002.htm">word-break-002</a></strong></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td>word-break - normal keyword value
|
|
<ul class="assert">
|
|
<li>Check that 'word-break' with 'normal' keyword value implies to words break after word.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="word-break-003-5.3.#word-break" class="primary">
|
|
<td><strong>
|
|
<a href="word-break-003.htm">word-break-003</a></strong></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td>word-break - normal keyword value - single word not break
|
|
<ul class="assert">
|
|
<li>Check that 'word-break' with 'normal' keyword value implies to words break after word, so that a single word won't break.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="word-break-004-5.3.#word-break" class="primary">
|
|
<td><strong>
|
|
<a href="word-break-004.htm">word-break-004</a></strong></td>
|
|
<td></td>
|
|
<td></td>
|
|
<td>word-break - normal keyword value - Chinese words break
|
|
<ul class="assert">
|
|
<li>Check that 'word-break' with 'normal' keyword value implies to words break after word, including Chinese words.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="word-break-break-all-001-5.3.#word-break" class="primary font">
|
|
<td><strong>
|
|
<a href="word-break-break-all-001.htm">word-break-break-all-001</a></strong></td>
|
|
<td><a href="reference/word-break-break-all-001-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>word-break - break-all - basic cases
|
|
<ul class="assert">
|
|
<li>Lines may break between any two grapheme clusters within words.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="word-break-keep-all-001-5.3.#word-break" class="primary font">
|
|
<td><strong>
|
|
<a href="word-break-keep-all-001.htm">word-break-keep-all-001</a></strong></td>
|
|
<td><a href="reference/word-break-keep-all-001-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>word-break - keep-all - basic cases
|
|
<ul class="assert">
|
|
<li>Block characters can no longer create implied break points.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="word-break-normal-001-5.3.#word-break" class="primary font">
|
|
<td><strong>
|
|
<a href="word-break-normal-001.htm">word-break-normal-001</a></strong></td>
|
|
<td><a href="reference/word-break-normal-001-ref.htm">=</a> </td>
|
|
<td><abbr class="font" title="Requires a special font">Font</abbr></td>
|
|
<td>word-break - normal - basic cases
|
|
<ul class="assert">
|
|
<li>Break lines according to their usual rules.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</body>
|
|
</html> |