servo/tests/wpt/css-tests/css-gcpm-3_dev/xhtml1print/chapter-1.xht

316 lines
No EOL
12 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>Running headers and footers - CSS Generated Content for Paged Media 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 Generated Content for Paged Media Level 3 CR Test Suite</h1>
<h2>Running headers and footers (17 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="s1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s1">+</a>
<a href="https://www.w3.org/TR/css-gcpm-3/#running-headers-and-footers">1 Running headers and footers</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s1.#named-strings0">
<!-- 0 tests -->
</tbody>
<tbody id="s1.#running-elements0">
<!-- 0 tests -->
</tbody>
<tbody id="s1.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s1.1">+</a>
<a href="https://www.w3.org/TR/css-gcpm-3/#named-strings">1.1 Named strings</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s1.1.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s1.1.1">+</a>
<a href="https://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro">1.1.1 The string-set property</a></th></tr>
<!-- 12 tests -->
<tr id="string-set-001-1.1.1" class="paged">
<td>
<a href="string-set-001.xht">string-set-001</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM string-set with string
<ul class="assert">
<li>Test checks that a named string can be set to a string value.</li>
</ul>
</td>
</tr>
<tr id="string-set-002-1.1.1" class="paged">
<td>
<a href="string-set-002.xht">string-set-002</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM String-set with content()
<ul class="assert">
<li>Test checks that a string can be set to the text value of an element, using the default content() syntax</li>
</ul>
</td>
</tr>
<tr id="string-set-003-1.1.1" class="paged">
<td>
<a href="string-set-003.xht">string-set-003</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM String-set with content(text)
<ul class="assert">
<li>Test checks that a string can be set to the text value of an element, using the explicit content(text) syntax</li>
</ul>
</td>
</tr>
<tr id="string-set-004-1.1.1" class="paged">
<td>
<a href="string-set-004.xht">string-set-004</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM String-set with content(first-letter)
<ul class="assert">
<li>Test checks that a string can be set to the first letter of the text value of an element</li>
</ul>
</td>
</tr>
<tr id="string-set-005-1.1.1" class="paged">
<td>
<a href="string-set-005.xht">string-set-005</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM String-set with counter(page)
<ul class="assert">
<li>Test checks that a named string can be set to the value of the page counter</li>
</ul>
</td>
</tr>
<tr id="string-set-006-1.1.1" class="paged">
<td>
<a href="string-set-006.xht">string-set-006</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM string-set with content(before)
<ul class="assert">
<li>Test checks that a named string can be set to the content of the before pseudo-element</li>
</ul>
</td>
</tr>
<tr id="string-set-007-1.1.1" class="paged">
<td>
<a href="string-set-007.xht">string-set-007</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM string-set with content(after)
<ul class="assert">
<li>Test checks that a named string can be set to the content of the after pseudo-element</li>
</ul>
</td>
</tr>
<tr id="string-set-008-1.1.1" class="paged">
<td>
<a href="string-set-008.xht">string-set-008</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM string-set with multiple assignments
<ul class="assert">
<li>Test checks that several named string can be set on a single element</li>
</ul>
</td>
</tr>
<tr id="string-set-009-1.1.1" class="paged">
<td>
<a href="string-set-009.xht">string-set-009</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM string-set with page and pages counters
<ul class="assert">
<li>Test checks that a string can be set to the page and pages counters</li>
</ul>
</td>
</tr>
<tr id="string-set-010-1.1.1" class="paged">
<td>
<a href="string-set-010.xht">string-set-010</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM string-set on element with display: none
<ul class="assert">
<li>Test checks that a string can be set to the value of an element even if display is set to none</li>
</ul>
</td>
</tr>
<tr id="string-set-011-1.1.1" class="paged">
<td>
<a href="string-set-011.xht">string-set-011</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM string-set on element with display: none
<ul class="assert">
<li>Test checks that a string can be set to the value of an element even if display is set to none</li>
</ul>
</td>
</tr>
<tr id="string-set-012-1.1.1" class="paged">
<td>
<a href="string-set-012.xht">string-set-012</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM string-set to attribute value
<ul class="assert">
<li>Test checks that a string can be set to the value of an attribute</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s1.1.1.#content-list">
<!-- 0 tests -->
</tbody>
<tbody id="s1.1.1.#propdef-string-set">
<!-- 0 tests -->
</tbody>
<tbody id="s1.1.1.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s1.1.1.1">+</a>
<a href="https://www.w3.org/TR/css-gcpm-3/#content-function-header">1.1.1.1 The content() function</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s1.1.1.1.#entry-value">
<!-- 0 tests -->
</tbody>
<tbody id="s1.1.1.1.#exit-value">
<!-- 0 tests -->
</tbody>
<tbody id="s1.1.1.1.#funcdef-content">
<!-- 0 tests -->
</tbody>
<tbody id="s1.1.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s1.1.2">+</a>
<a href="https://www.w3.org/TR/css-gcpm-3/#using-named-strings">1.1.2 The string() function</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s1.1.2.#funcdef-string">
<!-- 0 tests -->
</tbody>
<tbody id="s1.1.2.#string-first">
<!-- 1 tests -->
<tr id="using-strings-001-1.1.2.#string-first" class="paged">
<td>
<a href="using-strings-001.xht">using-strings-001</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>using 'first' property of named strings
<ul class="assert">
<li>Test checks that the default value of the string property is first, so that the first instance of a named string on the page is used.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s1.1.2.#string-first-except">
<!-- 1 tests -->
<tr id="using-strings-004-1.1.2.#string-first-except" class="paged">
<td>
<a href="using-strings-004.xht">using-strings-004</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>using 'first-except' property of named strings
<ul class="assert">
<li>Test checks that if string is set to first-except, it is omitted on the page where the string is set, but appears on subsequent pages</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s1.1.2.#string-last">
<!-- 2 tests -->
<tr id="using-strings-002-1.1.2.#string-last" class="paged">
<td>
<a href="using-strings-002.xht">using-strings-002</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>using the 'last' property of named strings
<ul class="assert">
<li>Test checks that the last instance of a named string is used, when the 'last' property is applied to the string.</li>
</ul>
</td>
</tr>
<tr id="using-strings-005-1.1.2.#string-last" class="paged">
<td>
<a href="using-strings-005.xht">using-strings-005</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>using 'last' property of named strings
<ul class="assert">
<li>Test checks that if string is set to last, the last appearance of that element determines the content of the string</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s1.1.2.#string-start">
<!-- 1 tests -->
<tr id="using-strings-003-1.1.2.#string-start" class="paged">
<td>
<a href="using-strings-003.xht">using-strings-003</a></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>using 'start' property of named strings
<ul class="assert">
<li>Test checks that the string set at the beginning of a page is used when the start property is applied</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s1.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s1.2">+</a>
<a href="https://www.w3.org/TR/css-gcpm-3/#running-elements">1.2 Running elements</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s1.2.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s1.2.1">+</a>
<a href="https://www.w3.org/TR/css-gcpm-3/#running-syntax">1.2.1 The running() value</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s1.2.1.#funcdef-running">
<!-- 0 tests -->
</tbody>
<tbody id="s1.2.1.#issue-11bb4305">
<!-- 0 tests -->
</tbody>
<tbody id="s1.2.1.#propdef-running">
<!-- 0 tests -->
</tbody>
<tbody id="s1.2.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s1.2.2">+</a>
<a href="https://www.w3.org/TR/css-gcpm-3/#element-syntax">1.2.2 The element() value</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s1.2.2.#funcdef-element">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>