Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab

This commit is contained in:
James Graham 2015-03-27 09:18:12 +00:00
parent 1a81b18b9f
commit 2c9faf5363
91915 changed files with 5979820 additions and 0 deletions

View file

@ -0,0 +1,316 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<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 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="s1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s1">+</a>
<a href="http://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="http://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="http://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="primary paged">
<td><strong>
<a href="string-set-001.htm">string-set-001</a></strong></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="primary paged">
<td><strong>
<a href="string-set-002.htm">string-set-002</a></strong></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="primary paged">
<td><strong>
<a href="string-set-003.htm">string-set-003</a></strong></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="primary paged">
<td><strong>
<a href="string-set-004.htm">string-set-004</a></strong></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="primary paged">
<td><strong>
<a href="string-set-005.htm">string-set-005</a></strong></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="primary paged">
<td><strong>
<a href="string-set-006.htm">string-set-006</a></strong></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="primary paged">
<td><strong>
<a href="string-set-007.htm">string-set-007</a></strong></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="primary paged">
<td><strong>
<a href="string-set-008.htm">string-set-008</a></strong></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="primary paged">
<td><strong>
<a href="string-set-009.htm">string-set-009</a></strong></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="primary paged">
<td><strong>
<a href="string-set-010.htm">string-set-010</a></strong></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="primary paged">
<td><strong>
<a href="string-set-011.htm">string-set-011</a></strong></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="primary paged">
<td><strong>
<a href="string-set-012.htm">string-set-012</a></strong></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="http://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="http://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="primary paged">
<td><strong>
<a href="using-strings-001.htm">using-strings-001</a></strong></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="primary paged">
<td><strong>
<a href="using-strings-004.htm">using-strings-004</a></strong></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="primary paged">
<td><strong>
<a href="using-strings-002.htm">using-strings-002</a></strong></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="primary paged">
<td><strong>
<a href="using-strings-005.htm">using-strings-005</a></strong></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="primary paged">
<td><strong>
<a href="using-strings-003.htm">using-strings-003</a></strong></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="http://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="http://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="http://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>

View file

@ -0,0 +1,162 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Footnotes - 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>Footnotes (0 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="s2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#footnotes">2 Footnotes</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.1">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#footnote-terms">2.1 Terminology</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.2">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#creating-footnotes">2.2 Creating footnotes</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.2.#issue-4af1f674">
<!-- 0 tests -->
</tbody>
<tbody id="s2.3">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.3">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#footnote-types">2.3 Types of footnotes</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.3.#footnote-display-block">
<!-- 0 tests -->
</tbody>
<tbody id="s2.3.#footnote-display-compact">
<!-- 0 tests -->
</tbody>
<tbody id="s2.3.#footnote-display-inline">
<!-- 0 tests -->
</tbody>
<tbody id="s2.3.#propdef-footnote-display">
<!-- 0 tests -->
</tbody>
<tbody id="s2.3.#valuedef-footnote">
<!-- 0 tests -->
</tbody>
<tbody id="s2.4">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.4">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#footnote-area">2.4 The footnote area</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.4.#issue-829ce977">
<!-- 0 tests -->
</tbody>
<tbody id="s2.4.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.4.1">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#footnote-area-position">2.4.1 Positioning of the footnote area</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.4.1.#issue-165f8769">
<!-- 0 tests -->
</tbody>
<tbody id="s2.4.1.#issue-ab22b570">
<!-- 0 tests -->
</tbody>
<tbody id="s2.4.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.4.2">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#footnote-area-size">2.4.2 Size of the footnote area</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.5">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.5">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#footnote-counters">2.5 The Footnote Counter</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.5.#footnote-counter">
<!-- 0 tests -->
</tbody>
<tbody id="s2.5.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.5.1">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#footnote-counter-values">2.5.1 Values of the footnote counter</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.5.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.5.2">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#resetting-footnote-counter">2.5.2 Resetting the footnote counter</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.6">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.6">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#footnote-call">2.6 The footnote-call pseudo-element</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.7">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.7">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#footnote-marker">2.7 The footnote-marker pseudo-element</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.8">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.8">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#footnote-policy">2.8 Rendering footnotes and footnote policy</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s2.8.#footnote-policy-line">
<!-- 0 tests -->
</tbody>
<tbody id="s2.8.#issue-da883bb8">
<!-- 0 tests -->
</tbody>
<tbody id="s2.8.#propdef-footnote-policy">
<!-- 0 tests -->
</tbody>
<tbody id="s2.8.#valuedef-auto">
<!-- 0 tests -->
</tbody>
<tbody id="s2.8.#valuedef-block">
<!-- 0 tests -->
</tbody>
<tbody id="s2.9">
<tr><th colspan="4" scope="rowgroup">
<a href="#s2.9">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#future">2.9 Future directions</a></th></tr>
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,60 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Selecting Pages - 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>Selecting Pages (0 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-gcpm-3/#the-first-page-pseudo-element">3 Selecting Pages</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s3.#page-selectors">
<!-- 0 tests -->
</tbody>
<tbody id="s3.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s3.1">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#document-page-selectors">3.1 Page Selectors</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s3.1.#funcdef-nth">
<!-- 0 tests -->
</tbody>
<tbody id="s3.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s3.2">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#document-sequence-selectors">3.2 Page groups</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s3.2.#page-group">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,102 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Leaders - 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>Leaders (3 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="s4">
<tr><th colspan="4" scope="rowgroup">
<a href="#s4">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#leaders">4 Leaders</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s4.#dotted-leader">
<!-- 1 tests -->
<tr id="leader-001-4.#dotted-leader" class="primary paged">
<td><strong>
<a href="leader-001.htm">leader-001</a></strong></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM Dotted Leader
<ul class="assert">
<li>Test checks that a basic dotted leader is implemented</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s4.#funcdef-leader">
<!-- 0 tests -->
</tbody>
<tbody id="s4.#issue-2f5c8d3f">
<!-- 0 tests -->
</tbody>
<tbody id="s4.#solid-leader">
<!-- 1 tests -->
<tr id="leader-003-4.#solid-leader" class="primary paged">
<td><strong>
<a href="leader-003.htm">leader-003</a></strong></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM Solid Leader
<ul class="assert">
<li>Test checks that a basic solid leader is implemented</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s4.#space-leader">
<!-- 0 tests -->
</tbody>
<tbody id="s4.#string-leader">
<!-- 1 tests -->
<tr id="leader-002-4.#string-leader" class="primary paged">
<td><strong>
<a href="leader-002.htm">leader-002</a></strong></td>
<td></td>
<td><abbr class="paged" title="Only valid for paged media">Paged</abbr></td>
<td>GCPM String Leader
<ul class="assert">
<li>Test checks that a custom character leader is implemented</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s4.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s4.1">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#rendering-leaders">4.1 Rendering leaders</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s4.1.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s4.1.1">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#procedure-leader">4.1.1 Procedure for rendering leaders</a></th></tr>
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,69 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Cross-references - 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>Cross-references (0 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-gcpm-3/#cross-references">5 Cross-references</a></th></tr>
<!-- 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-gcpm-3/#target-counter">5.1 The target-counter() function</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s5.1.#funcdef-target-counter">
<!-- 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-gcpm-3/#target-counters">5.2 The target-counters() function</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s5.2.#funcdef-target-counters">
<!-- 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-gcpm-3/#target-text">5.3 target-text</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#issue-a82075c9">
<!-- 0 tests -->
</tbody>
<tbody id="s5.3.#target-text-function">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,147 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Bookmarks - 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>Bookmarks (0 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="s6">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#bookmarks">6 Bookmarks</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.#bookmarks0">
<!-- 0 tests -->
</tbody>
<tbody id="s6.1">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.1">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#bookmark-level">6.1 bookmark-level</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.1.#propdef-bookmark-level">
<!-- 0 tests -->
</tbody>
<tbody id="s6.2">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.2">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#bookmark-label">6.2 bookmark-label</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.2.#propdef-bookmark-label">
<!-- 0 tests -->
</tbody>
<tbody id="s6.3">
<tr><th colspan="4" scope="rowgroup">
<a href="#s6.3">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#bookmark-state">6.3 bookmark-state</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.3.#propdef-bookmark-state">
<!-- 0 tests -->
</tbody>
<tbody id="s.#abstract">
<!-- 0 tests -->
</tbody>
<tbody id="s.#acknowledgments">
<!-- 0 tests -->
</tbody>
<tbody id="s.#conformance">
<!-- 0 tests -->
</tbody>
<tbody id="s.#conformance-classes">
<!-- 0 tests -->
</tbody>
<tbody id="s.#contents">
<!-- 0 tests -->
</tbody>
<tbody id="s.#conventions">
<!-- 0 tests -->
</tbody>
<tbody id="s.#css21">
<!-- 0 tests -->
</tbody>
<tbody id="s.#css3list">
<!-- 0 tests -->
</tbody>
<tbody id="s.#css3page">
<!-- 0 tests -->
</tbody>
<tbody id="s.#css3syn">
<!-- 0 tests -->
</tbody>
<tbody id="s.#css3val">
<!-- 0 tests -->
</tbody>
<tbody id="s.#dpub-latinreq">
<!-- 0 tests -->
</tbody>
<tbody id="s.#experimental">
<!-- 0 tests -->
</tbody>
<tbody id="s.#index">
<!-- 0 tests -->
</tbody>
<tbody id="s.#informative">
<!-- 0 tests -->
</tbody>
<tbody id="s.#introduction">
<!-- 0 tests -->
</tbody>
<tbody id="s.#issues-index">
<!-- 0 tests -->
</tbody>
<tbody id="s.#normative">
<!-- 0 tests -->
</tbody>
<tbody id="s.#partial">
<!-- 0 tests -->
</tbody>
<tbody id="s.#property-index">
<!-- 0 tests -->
</tbody>
<tbody id="s.#references">
<!-- 0 tests -->
</tbody>
<tbody id="s.#rfc2119">
<!-- 0 tests -->
</tbody>
<tbody id="s.#status">
<!-- 0 tests -->
</tbody>
<tbody id="s.#subtitle">
<!-- 0 tests -->
</tbody>
<tbody id="s.#testing">
<!-- 0 tests -->
</tbody>
<tbody id="s.#title">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,60 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Where Are They Now? - 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>Where Are They Now? (0 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="sA">
<tr><th colspan="4" scope="rowgroup">
<a href="#sA">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#former-wd-sections">A Where Are They Now?</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="sA.#cmyk-colors">
<!-- 0 tests -->
</tbody>
<tbody id="sA.#navigation-between-pages">
<!-- 0 tests -->
</tbody>
<tbody id="sA.#page-floats">
<!-- 0 tests -->
</tbody>
<tbody id="sA.#page-marks-and-bleed-area">
<!-- 0 tests -->
</tbody>
<tbody id="sA.#paged-presentations">
<!-- 0 tests -->
</tbody>
<tbody id="sA.#selecting-columns-and-pages">
<!-- 0 tests -->
</tbody>
<tbody id="sA.#styling-blank-pages">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,39 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Default UA Stylesheet - 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>Default UA Stylesheet (0 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="sB">
<tr><th colspan="4" scope="rowgroup">
<a href="#sB">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#ua-stylesheet">B Default UA Stylesheet</a></th></tr>
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,39 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>Changes - 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>Changes (0 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="sC">
<tr><th colspan="4" scope="rowgroup">
<a href="#sC">+</a>
<a href="http://www.w3.org/TR/css-gcpm-3/#changes">C Changes</a></th></tr>
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM Dotted Leader</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#dotted-leader" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a basic dotted leader is implemented" name="assert">
<style>
span.cn::after { content: leader(dotted); }
</style>
</head>
<body>
<p>Test passes if there's a dotted leader between "Chapter One" and "1"</p>
<ol>
<li>
<span class="cn">Chapter One</span> <span class="folio">1</span>
</li>
<!--
<li>
Chapter Two <span class="folio">137</span>
</li>
-->
</ol>
</body></html>

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM String Leader</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-leader" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a custom character leader is implemented" name="assert">
<style>
p.run-in { display: run-in; }
p.source-rw::before {
content: leader('~ ');
}
</style>
</head>
<body>
<p>Test passes if there are ~ characters between the end of the text and Ahab’s name</p>
<blockquote>
<p class="run-in">“Towards thee I roll, thou all-destroying but unconquering whale; to the last I grapple with thee; from hell’s heart I stab at thee; for hate’s sake I spit my last breath at thee. Sink all coffins and all hearses to one common pool! and since neither can be mine, let me then tow to pieces, while still chasing thee, though tied to thee, thou damned whale! THUS, I give up the spear!â€&#65533;</p>
<p class="source-rw">Ahab</p>
</blockquote>
</body></html>

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM Solid Leader</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#solid-leader" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a basic solid leader is implemented" name="assert">
<style>
span.cn::after { content: leader(solid); }
</style>
</head>
<body>
<p>Test passes if there's a continuous row of underscores between "Chapter One" and "1"</p>
<ol>
<li>
<span class="cn">Chapter One</span> <span class="folio">1</span>
</li>
<!--
<li>
Chapter Two <span class="folio">137</span>
</li>
-->
</ol>
</body></html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>CSS Generated Content for Paged Media Level 3 CR Test Suite Reftest Index</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 Reftest Index</h1>
<table width="100%">
<col id="test-column">
<col id="ref-column">
<col id="flags-column">
<thead>
<tr>
<th>Test</th>
<th>Reference</th>
<th>Flags</th>
</tr>
</thead>
</table>
</body>
</html>

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM string-set with string</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a named string can be set to a string value." name="assert">
<style type="text/css">
@page {
@top-center {
content: string(title);
}
}
h1 {
string-set: title 'hello, world';
}
</style>
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “hello, worldâ€&#65533; appears in the running head at the top of the page.</p>
</body></html>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM String-set with content()</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a string can be set to the text value of an element, using the default content() syntax" name="assert">
<style>
@page {
@top-center {
content: string(title);
}
}
h1 {
string-set: title content();
}
</style>
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “Chapter Titleâ€&#65533; appears in the running head at the top of the page.</p>
</body></html>

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM String-set with content(text)</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a string can be set to the text value of an element, using the explicit content(text) syntax" name="assert">
<style type="text/css">
@page {
@top-center {
content: string(title);
}
}
h1 {
string-set: title content(text);
}
</style>
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if the text “Chapter Titleâ€&#65533; appears in the running head at the top of the page.</p>
<!--AH errors out with content(text) rather than content()-->
</body></html>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM String-set with content(first-letter)</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a string can be set to the first letter of the text value of an element" name="assert">
<style>
@page {
@top-center {
content: string(title);
}
}
h1 {
string-set: title content(first-letter);
}
</style>
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “Câ€&#65533; appears in the running head at the top of the page.</p>
</body></html>

View file

@ -0,0 +1,25 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM String-set with counter(page)</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a named string can be set to the value of the page counter" name="assert">
<style>
@page {
@top-center {
content: string(title);
}
}
h1 {
string-set: title counter(page);
}
</style>
</head>
<body>
<h1>A</h1>
<p>Test passes if “1â€&#65533; appears in the running head at the top of the page.</p>
</body></html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM string-set with content(before)</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a named string can be set to the content of the before pseudo-element" name="assert">
<style>
@page {
@top-center {
content: string(title);
}
}
h1 {
string-set: title content(before);
}
h1::before {
content: 'before-';
}
</style>
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “before-â€&#65533; appears in the running head at the top of the page.</p>
</body></html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM string-set with content(after)</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a named string can be set to the content of the after pseudo-element" name="assert">
<style>
@page {
@top-center {
content: string(title);
}
}
h1 {
string-set: title content(after);
}
h1::after {
content: '-after';
}
</style>
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “-afterâ€&#65533; appears in the running head at the top of the page.</p>
</body></html>

View file

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM string-set with multiple assignments</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that several named string can be set on a single element" name="assert">
<style>
@page {
@top-center {
content: string(center);
}
@top-left {
content: string(left);
}
@top-right {content:
string(right);
}
}
h1 {
string-set: left content(), right content(), center content(first-letter);
}
</style>
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “Chapter Titleâ€&#65533; appears in both the left and right running heads, and “Câ€&#65533; appears in the center running head.</p>
</body></html>

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM string-set with page and pages counters</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a string can be set to the page and pages counters" name="assert">
<style>
@page {
@top-center {
content: string(title);
}
}
h1 {
string-set: title counter(page) ' of ' counter(pages);
}
</style>
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “1 of 1â€&#65533; appears in the running head.</p>
</body></html>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM string-set on element with display: none</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<!--WD of this spec is out of date; referencing the ED--><meta content="paged" name="flags">
<meta content="Test checks that a string can be set to the value of an element even if display is set to none" name="assert">
<style>
@page {
@top-center {
content: string(title);
}
}
h1 {
string-set: title content();
display: none;
}
</style>
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if “Chapter Titleâ€&#65533; appears in the running head.</p>
</body></html>

View file

@ -0,0 +1,45 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM string-set on element with display: none</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a string can be set to the value of an element even if display is set to none" name="assert">
<!--
Note this test exposes a known bug in PrinceXML 9.0 rev 2 (and all previous versions)
-->
<style>
@page {
@top-center {
content: string(title);
}
}
h1 {
string-set: title content();
display: none;
}
#d2 { page-break-before: always; }
</style>
</head>
<body>
<h1>Chapter One Title</h1>
<p>Note: test has two pages</p>
<p>Test passes if:</p>
<ol>
<li>
“Chapter One Titleâ€&#65533; appears in the running head on page one.
</li>
<li>
“Chapter Two Titleâ€&#65533; appears in the running head on page two.
</li>
</ol>
<div id="d2">
<h1>Chapter Two Title</h1>
<p>Second Page</p>
</div>
</body></html>

View file

@ -0,0 +1,31 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: GCPM string-set to attribute value</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#setting-named-strings-the-string-set-pro" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that a string can be set to the value of an attribute " name="assert">
<style>
@page {
@top-center {
content: string(header);
}
}
h1 {
string-set: header attr(title);
}
</style>
</head>
<body>
<h1 title="Hello, World">Chapter Title</h1>
<p>Test passes if running head text reads “Hello, Worldâ€&#65533;.
</p></body></html>

View file

@ -0,0 +1,69 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>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 By Chapter</h1>
<p>This index contains both
<a href="http://wiki.csswg.org/test/selftest">self-describing tests</a>
and reftests.
A separate <a href="reftest-toc.htm">alphabetical reftest index</a>
is provided for tests in <a href="http://wiki.csswg.org/test/reftest">reftest
format</a> along with the <a href="reftest.list">reftest manifest</a>.</p>
<table>
<tbody id="s1">
<tr><th><a href="chapter-1.htm">Chapter 1 -
Running headers and footers</a></th>
<td>(17 Tests)</td></tr>
</tbody>
<tbody id="s2">
<tr><th><a href="chapter-2.htm">Chapter 2 -
Footnotes</a></th>
<td>(0 Tests)</td></tr>
</tbody>
<tbody id="s3">
<tr><th><a href="chapter-3.htm">Chapter 3 -
Selecting Pages</a></th>
<td>(0 Tests)</td></tr>
</tbody>
<tbody id="s4">
<tr><th><a href="chapter-4.htm">Chapter 4 -
Leaders</a></th>
<td>(3 Tests)</td></tr>
</tbody>
<tbody id="s5">
<tr><th><a href="chapter-5.htm">Chapter 5 -
Cross-references</a></th>
<td>(0 Tests)</td></tr>
</tbody>
<tbody id="s6">
<tr><th><a href="chapter-6.htm">Chapter 6 -
Bookmarks</a></th>
<td>(0 Tests)</td></tr>
</tbody>
<tbody id="sA">
<tr><th><a href="chapter-A.htm">Appendix A -
Where Are They Now?</a></th>
<td>(0 Tests)</td></tr>
</tbody>
<tbody id="sB">
<tr><th><a href="chapter-B.htm">Appendix B -
Default UA Stylesheet</a></th>
<td>(0 Tests)</td></tr>
</tbody>
<tbody id="sC">
<tr><th><a href="chapter-C.htm">Appendix C -
Changes</a></th>
<td>(0 Tests)</td></tr>
</tbody>
</table>
</body>
</html>

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: using 'first' property of named strings</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-first" rel="help">
<meta content="paged" name="flags">
<meta content="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." name="assert">
<style>
@page {
@top-center {
content: string(section);
}
}
h2 {
string-set: section content();
}
</style>
</head>
<body>
<p>Test passes if “Section Oneâ€&#65533; is in the running head at the top of the page.</p>
<h2 id="s1">Section One</h2>
<h2 id="s2">Section Two</h2>
<h2 id="s3">Section Three</h2>
<h2 id="s4">Section Four</h2>
<h2 id="s5">Section Five</h2>
<h2 id="s6">Section Six</h2>
</body></html>

View file

@ -0,0 +1,30 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: using the 'last' property of named strings</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-last" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that the last instance of a named string is used, when the 'last' property is applied to the string." name="assert">
<style>
@page {
@top-center {
content: string(section, last);
}
}
h2 {
string-set: section content();
}
</style>
</head>
<body>
<p>Test passes if the text "Section Six" is in the running head at the top of the page.</p>
<h2 id="s1">Section One</h2>
<h2 id="s2">Section Two</h2>
<h2 id="s3">Section Three</h2>
<h2 id="s4">Section Four</h2>
<h2 id="s5">Section Five</h2>
<h2 id="s6">Section Six</h2>
</body></html>

View file

@ -0,0 +1,58 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: using 'start' property of named strings</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-start" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that the string set at the beginning of a page is used when the start property is applied" name="assert">
<style>
@page {
@top-center {
content: string(section, start);
}
}
h2 {
string-set: section content();
}
#s2 { page-break-before: always; }
#s4 { page-break-after: always; }
</style>
</head>
<body>
<p>Note: this test has three pages</p>
<p>Test passes if:</p>
<ol>
<li>
On page one, the running head is empty.
</li>
<li>
On page two, the running head is “Section Twoâ€&#65533;
</li>
<li>
On page three, the running head is “Section Fourâ€&#65533;
</li>
</ol>
<h2 id="s1">Section One</h2>
<p id="p1">Bacon ipsum dolor sit amet brisket sunt kielbasa, sed rump fatback shankle. Non exercitation aliquip culpa shankle. Sausage pork kevin, doner meatloaf venison cupidatat. Salami frankfurter spare ribs kielbasa culpa commodo incididunt. Tri-tip pork belly pig ut ground round est, turkey drumstick nisi quis. Occaecat nisi tempor cupidatat, ground round exercitation in turducken. Filet mignon cow pork bacon tri-tip fugiat mollit kevin et.</p>
<h2 id="s2">Section Two</h2>
<p>
Fatback excepteur ex ut shank do ham. Sausage sirloin turducken velit ex spare ribs quis. Quis in turkey, labore sirloin fatback exercitation proident. In rump reprehenderit voluptate aute ribeye excepteur pig venison. Culpa laboris in nostrud, kevin leberkas non tri-tip commodo qui tenderloin. Id non short ribs elit, ut excepteur cow venison duis do.
</p>
<h2 id="s3">Section Three</h2>
<p>
Ullamco strip steak aliqua bacon ut sirloin turkey pork chop, ball tip jowl. Commodo pancetta prosciutto, meatloaf eiusmod aliquip chicken occaecat pig. Ut in pork, short ribs chuck t-bone kielbasa irure jowl occaecat cupidatat nostrud officia. Dolore ball tip cupidatat labore esse ut, magna leberkas irure kevin nostrud aute eu pariatur eiusmod. Nostrud pancetta labore, eu est mollit jerky ham hock. Shoulder aliquip dolore eu corned beef strip steak commodo.
</p>
<h2 id="s4">Section Four</h2>
<p>
Frankfurter prosciutto fatback beef ribs brisket, flank consectetur proident cupidatat ham hock enim pig eu bresaola. Qui ball tip consequat short loin salami. Tri-tip tempor et, adipisicing commodo ground round ball tip andouille doner. Short loin officia ea ground round shank.
</p>
<h2 id="s5">Section Five</h2>
<p>Biltong in capicola commodo tenderloin irure, labore drumstick aute tri-tip veniam. Labore dolore doner ex, meatloaf tempor meatball id flank do turkey. Pig culpa ut prosciutto rump. Tongue chicken qui andouille, pork loin pork chop salami ut. Eu ea qui dolore pork chop ground round.</p>
<h2 id="s6">Section Six</h2>
<p>Ham hock jowl filet mignon pastrami beef turducken. Brisket pork chop pork loin drumstick capicola ground round shankle andouille leberkas tenderloin turducken chuck t-bone kevin turkey. Turkey brisket shank, cow pork belly strip steak bresaola chicken short ribs biltong. Kevin jowl meatloaf capicola t-bone ham brisket leberkas. Pork strip steak drumstick jerky, flank shankle capicola turkey spare ribs.</p>
</body></html>

View file

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: using 'first-except' property of named strings</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-first-except" rel="help">
<meta content="paged" name="flags">
<meta content="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" name="assert">
<style>
@page {
@top-center {
content: string(title, first-except);
}
}
h1 {
string-set: title content();
}
#s2, #s3, #s4 { page-break-before: always; }
</style>
</head>
<body>
<h1>Chapter Title</h1>
<p>Test passes if the running head is omitted on page one, and is “Chapter Titleâ€&#65533; on all other pages.</p>
<h2 id="s1">Section One</h2>
<h2 id="s2">Section Two</h2>
<h2 id="s3">Section Three</h2>
<h2 id="s4">Section Four</h2>
<h2 id="s5">Section Five</h2>
<h2 id="s6">Section Six</h2>
</body></html>

View file

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html><head>
<title>CSS Test: using 'last' property of named strings</title>
<link href="mailto:dauwhe@gmail.com" rel="author" title="Dave Cramer">
<link href="http://www.w3.org/TR/css-gcpm-3/#string-last" rel="help">
<meta content="paged" name="flags">
<meta content="Test checks that if string is set to last, the last appearance of that element determines the content of the string" name="assert">
<style>
@page {
@top-center {
content: string(title, last);
}
}
h2 {
string-set: title content();
}
#s2, #s4 { page-break-before: always; }
</style>
</head>
<body>
<p>Note: test has three pages. Test passes if:</p>
<ol>
<li>
Running head on page one is “Section Oneâ€&#65533;
</li>
<li>
Running head on page two is “Section Threeâ€&#65533;
</li>
<li>
Running head on page three is “Section Sixâ€&#65533;
</li>
</ol>
<h2 id="s1">Section One</h2>
<h2 id="s2">Section Two</h2>
<h2 id="s3">Section Three</h2>
<h2 id="s4">Section Four</h2>
<h2 id="s5">Section Five</h2>
<h2 id="s6">Section Six</h2>
</body></html>