mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
118 lines
No EOL
4.5 KiB
HTML
118 lines
No EOL
4.5 KiB
HTML
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>White Space and Wrapping: the ‘white-space’ property - 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>White Space and Wrapping: the ‘white-space’ property (5 tests)</h2>
|
|
<table width="100%">
|
|
<col id="test-column"></col>
|
|
<col id="refs-column"></col>
|
|
<col id="flags-column"></col>
|
|
<col id="info-column"></col>
|
|
<thead>
|
|
<tr>
|
|
<th>Test</th>
|
|
<th><abbr title="Rendering References">Refs</abbr></th>
|
|
<th>Flags</th>
|
|
<th>Info</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="s3">
|
|
<tr><th colspan="4" scope="rowgroup">
|
|
<a href="#s3">+</a>
|
|
<a href="https://www.w3.org/TR/css-text-3/#white-space-property">3 White Space and Wrapping: the ‘white-space’ property</a></th></tr>
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s3.#normal">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s3.#nowrap">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s3.#pre">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s3.#pre-line">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s3.#pre-wrap">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s3.#text-wrap">
|
|
<!-- 0 tests -->
|
|
</tbody>
|
|
<tbody id="s3.#white-space">
|
|
<!-- 2 tests -->
|
|
<tr id="overflow-wrap-002-3.#white-space" class="ahem">
|
|
<td>
|
|
<a href="overflow-wrap-002.xht">overflow-wrap-002</a></td>
|
|
<td><a href="reference/overflow-wrap-002-ref.xht">=</a> </td>
|
|
<td><abbr class="ahem" title="Requires Ahem font">Ahem</abbr></td>
|
|
<td>overflow-wrap - break-word and white-space - nowrap
|
|
<ul class="assert">
|
|
<li>Test checks that the 'overflow-wrap' property has effect if and only if the 'white-space' allows wrapping</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="word-wrap-002-3.#white-space" class="ahem">
|
|
<td>
|
|
<a href="word-wrap-002.xht">word-wrap-002</a></td>
|
|
<td><a href="reference/overflow-wrap-002-ref.xht">=</a> </td>
|
|
<td><abbr class="ahem" title="Requires Ahem font">Ahem</abbr></td>
|
|
<td>word-wrap - break-word and white-space - nowrap
|
|
<ul class="assert">
|
|
<li>Test checks that the 'word-wrap' property has effect if and only if the 'white-space' allows wrapping</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
<tbody id="s3.#white-space-collapsing">
|
|
<!-- 3 tests -->
|
|
<tr id="white-space-collapsing-discard-001-3.#white-space-collapsing" class="">
|
|
<td>
|
|
<a href="white-space-collapsing-discard-001.xht">white-space-collapsing-discard-001</a></td>
|
|
<td><a href="reference/white-space-collapsing-discard-001-ref.xht">=</a> </td>
|
|
<td></td>
|
|
<td>white-space-collapsing - discard - basic cases
|
|
<ul class="assert">
|
|
<li>The UA should discard all white space in the element when white-space-collapsing is set to discard.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="white-space-collapsing-preserve-breaks-001-3.#white-space-collapsing" class="">
|
|
<td>
|
|
<a href="white-space-collapsing-preserve-breaks-001.xht">white-space-collapsing-preserve-breaks-001</a></td>
|
|
<td><a href="reference/white-space-collapsing-preserve-breaks-001-ref.xht">=</a> </td>
|
|
<td></td>
|
|
<td>white-space-collapsing - preserve-breaks - basic cases
|
|
<ul class="assert">
|
|
<li>The UA should collapse sequences of white space into a single character when white-space-collapsing is set to preserve.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
<tr id="white-space-collapsing-trim-inner-001-3.#white-space-collapsing" class="">
|
|
<td>
|
|
<a href="white-space-collapsing-trim-inner-001.xht">white-space-collapsing-trim-inner-001</a></td>
|
|
<td><a href="reference/white-space-collapsing-trim-inner-001-ref.xht">=</a> </td>
|
|
<td></td>
|
|
<td>white-space-collapsing - trim-inner - basic cases
|
|
<ul class="assert">
|
|
<li>The UA should discard all white space at the beginning of a block and all white space at the end of a block when white-space-collapsing is set to trim-inner.</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
</body>
|
|
</html> |