mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
118
tests/wpt/css-tests/css-text-3_dev/html/chapter-3.htm
Normal file
118
tests/wpt/css-tests/css-text-3_dev/html/chapter-3.htm
Normal file
|
@ -0,0 +1,118 @@
|
|||
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
||||
<html>
|
||||
<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 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="s3">
|
||||
<tr><th colspan="4" scope="rowgroup">
|
||||
<a href="#s3">+</a>
|
||||
<a href="http://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="">
|
||||
<td>
|
||||
<a href="overflow-wrap-002.htm">overflow-wrap-002</a></td>
|
||||
<td><a href="reference/overflow-wrap-002-ref.htm">=</a> </td>
|
||||
<td></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="">
|
||||
<td>
|
||||
<a href="word-wrap-002.htm">word-wrap-002</a></td>
|
||||
<td><a href="reference/overflow-wrap-002-ref.htm">=</a> </td>
|
||||
<td></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="primary">
|
||||
<td><strong>
|
||||
<a href="white-space-collapsing-discard-001.htm">white-space-collapsing-discard-001</a></strong></td>
|
||||
<td><a href="reference/white-space-collapsing-discard-001-ref.htm">=</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="primary">
|
||||
<td><strong>
|
||||
<a href="white-space-collapsing-preserve-breaks-001.htm">white-space-collapsing-preserve-breaks-001</a></strong></td>
|
||||
<td><a href="reference/white-space-collapsing-preserve-breaks-001-ref.htm">=</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="primary">
|
||||
<td><strong>
|
||||
<a href="white-space-collapsing-trim-inner-001.htm">white-space-collapsing-trim-inner-001</a></strong></td>
|
||||
<td><a href="reference/white-space-collapsing-trim-inner-001-ref.htm">=</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>
|
Loading…
Add table
Add a link
Reference in a new issue