aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-gcpm-3_dev/xhtml1/chapter-1.xht
blob: cefd0a3a23f3406718f932e4076ecd862a29c0a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<!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="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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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.xht">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>