summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/import/animate-elem-78-t-manual.svg
blob: 31aceb503ad8b77f369bbc30fc743105e55f98bd (plain)
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
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
<svg version="1.1" baseProfile="tiny" id="svg-root"
  width="100%" height="100%" viewBox="0 0 480 360"
  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
  <!--======================================================================-->
  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
  <!--======================================================================-->
  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
  <!--=  Institute of Technology, European Research Consortium for         =-->
  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
  <!--=  All Rights Reserved.                                              =-->
  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
  <!--======================================================================-->
  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"
    template-version="1.4" reviewer="CN" author="NR" status="accepted"
    version="$Revision: 1.7 $" testname="$RCSfile: animate-elem-78-t.svg,v $">
    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/animate.html#Animation">
      <p>
        This test demonstrates how &lt;set&gt; elements change
        graphics properties on elements from the 'Basic Shapes' chapter. For
        each of the graphics properties being tested, 3
        &lt;set&gt; elements are set. The first &lt;set&gt;
        element acts directly on the 'Basic Shape' element. The
        &lt;set&gt; element acts on a &lt;g&gt; containing
        children. The third &lt;set&gt; element acts on an &lt;a&gt;
        containing children. In each case the test validates that
        the animated value set on the &lt;g&gt; and &lt;a&gt;
        elements is inherited by the 'Basic Shape' element.
        All the &lt;set&gt; elements have a begin attribute
        set to 0s with an offset of 1s after end.
        So, the animation will apply 1s after the document is loaded
        and will repeat every 1s after the animation ends.
      </p>
      <p>
        The first &lt;set&gt; validates the fill property, with
        fill set to orange. When applied directly to the 'Basic Shape'
        element, the &lt;rect&gt; fill value will change to orange
        when it is translated to the right every 1s. When applied
        to the &lt;g&gt; and &lt;a&gt; elements, the &lt;rect&gt;
        inherits the fill value and is orange.
      </p>
      <p>
        The second &lt;set&gt; validates the fill-style property,
        with fill-style set to evenodd. When applied to the
        'Basic Shape' element, the &lt;polyline&gt; fill-style is
        changed from nonzero to evenodd. When applied to the
        &lt;g&gt; and &lt;a&gt; elements, the &lt;polyline&gt; inherits
        the evenodd fill-style.
      </p>
      <p>
        the third &lt;set&gt; validates the stroke property.
        In this case fill is set to none. When stroke is applied
        to the 'Basic Shape' element, the &lt;rect&gt; on the right
        appears with the stroke color. When applied to the &lt;g&gt; and
        &lt;a&gt; elements, the &lt;rect&gt; inherits the stroke property.
      </p>
      <p>
        the fourth &lt;set&gt; validates the stroke-width property,
        with stroke-width set to 4. When stroke-width is applied
        to the 'Basic Shape' element, the &lt;line&gt; on the right
        has a width of 4. When applied to the &lt;g&gt; and
        &lt;a&gt; elements, the &lt;line&gt; inherits the stroke-width.
      </p>
      <p>
        the fifth &lt;set&gt; validates the stroke-linecap property,
        with stroke-linecap set to round. When stroke-linecap is applied
        to the 'Basic Shape' element, the &lt;line&gt; stroke-linecap
        value switches from butt to round. When applied to the &lt;g&gt;
        and &lt;a&gt; elements, the &lt;line&gt; inherits the
        square stroke-linecap.
      </p>
      <p>
        the sixth &lt;set&gt; validates the stroke-linejoin property,
        with stroke-linejoin set to bevel. When stroke-linejoin is applied
        to the 'Basic Shape' element, the &lt;line&gt; stroke-linejoin
        value switches from miter to bevel. When applied to the &lt;g&gt;
        and &lt;a&gt; elements, the &lt;line&gt; inherits the
        bevel stroke-linejoin.
      </p>
      <p>
        the seventh &lt;set&gt; validates the stroke-miterlimit property,
        with stroke-miterlimit set to 10. When stroke-miterlimit
        is applied to the 'Basic Shape' element, the miter-length to
        stroke-width ratio exceeds the miter-limit and the
        &lt;polyline&gt; switches from bevel to miter.When applied
        to the &lt;g&gt; and &lt;a&gt; elements,the &lt;line&gt;
        inherits the stroke-miterlimit.
      </p>
      <p>
        the eighth &lt;set&gt; validates the stroke-dashoffset property,
        with stroke-dashoffset set to 5.5. When stroke-dashoffset is applied
        to the 'Basic Shape' element, the &lt;line&gt; has a different
        dashing pattern. When applied to the &lt;g&gt; and &lt;a&gt;
        elements, the &lt;line&gt; inherits the property.
      </p>
      <p>
        the ninth &lt;set&gt; validates the display property,
        with display set to none. When display is applied
        to the 'Basic Shape' element, the &lt;rect&gt; does not
        appear on the right. When applied to the &lt;g&gt; and &lt;a&gt;
        elements, the &lt;line&gt; inherits the display property and
        hence is not seen.
      </p>
      <p>
        the tenth &lt;set&gt; validates the visibility property,
        with visibility set to hidden. When visibility is applied
        to the 'Basic Shape' element, the &lt;rect&gt; is hidden
        on the right. When applied to the &lt;g&gt; and &lt;a&gt;
        elements, the &lt;line&gt; inherits the visibility property
        and hence is not seen.
      </p>
      <p>
        the eleventh &lt;set&gt; validates the color property,
        with color set to blue. When color is applied to the
        'Basic Shape' element, the &lt;rect&gt; on the right
        switches from default color of black to blue. When
        applied to the &lt;g&gt; and &lt;a&gt;
        elements, the &lt;line&gt; inherits the color property.
      </p>
      <p>
        The eleventh &lt;set&gt; validates the color property, with
        color set to orange. When applied directly to the 'Basic Shape'
        element, the &lt;rect&gt; fill value will change to orange
        when it is translated to the right every 1s. When applied
        to the &lt;g&gt; and &lt;a&gt; elements, the &lt;rect&gt;
        inherits the color value, and via its fill="currentColor"
        becomes orange.
      </p>
    </d:testDescription>
    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">
      <p>Run the test. No interaction required.</p>
    </d:operatorScript>
    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">
      <p>The document is animated such that it alternates between two states,
      an alternation occurring every second.  In each row there are three
      sub-tests, which must behave identically except for any differences
      noted below.  Each sub-test consists of a colored shape that in one
      state appears in the left column and in the second state appears in
      the right column.  The test is passed if the following conditions are
      met:</p>
      <ul>
        <li>For the fill-rule, stroke-width, stroke-linecap, stroke-linejoin,
        stroke-miterlimit and stroke-dashoffset rows, the red shape must
        take the exact shape and position of the two gray silhouettes
        when animating between the two states.</li>
        <li>For the fill row, the colored square must take the exact
        shape and position of the two gray silhouettes when animating
        between the two states.  When in the left column, it must be red,
        and when in the right column, it must be orange.</li>
        <li>For the color row, the colored square must take the exact
        shape and position of the two gray silhouettes when animating
        between the two states.  When in the left column, it must be
        red, and when in the right column, it must be orange.</li>
        <li>For the stroke row, the shape must be invisible when in the
        left column, and must be a red-stroked, empty-filled square
        matching the size and position of the gray silhouette when
        in the right column.</li>
        <li>For the display and visibility rows, the shape must be a red
        square matching the size and position of the gray silhouette
        when in the left column, and must be invisible when in the right
        column.</li>
      </ul>
    </d:passCriteria>
  </d:SVGTestCase>
  <title id="test-title">$RCSfile: animate-elem-78-t.svg,v $</title>
  <defs>
    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
      <font-face-src>
        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
      </font-face-src>
    </font-face>
  </defs>
  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
    <text text-anchor="middle" x="240" y="25" font-size="20">graphics</text>
    <g transform="translate(80, 75)">
      <g transform="translate(30,10)" text-anchor="end" font-size="12">
        <text>fill</text>
        <text y="20">fill-rule</text>
        <text y="40">stroke</text>
        <text y="60">stroke-width</text>
        <text y="80">stroke-linecap</text>
        <text y="100">stroke-linejoin</text>
        <text y="120">stroke-miterlimit</text>
        <text y="140">stroke-dashoffset</text>
        <text y="160">display</text>
        <text y="180">visibility</text>
        <text y="200">color</text>
      </g>

      <g id="type" transform="translate(90, -20)" text-anchor="middle" font-size="14">
        <text x="20" y="3">'Basic Shape'</text>
        <text x="130" y="3">&lt;g&gt;</text>
        <text x="235" y="3">&lt;a&gt;</text>
      </g>

      <g transform="translate(80,0)" fill="rgb(204,0,102)">
        <rect x="10" width="8" height="8" fill="#ccc"/>

        <g id="setOne">
          <defs>
            <g id="setOneRef">
              <rect x="10" width="8" height="8" fill="#ccc"/>
              <rect x="10" width="8" height="8" fill="#ccc" transform="translate(30,0)"/>
            </g>
          </defs>
          <use xlink:href="#setOneRef"/>
          <use xlink:href="#setOneRef" x="110"/>
          <use xlink:href="#setOneRef" x="220"/>

          <rect x="10" width="8" height="8">
            <set id="firstSet1" attributeName="fill" to="rgb(255, 165, 0)" begin="0s; firstSet1.end + 1s" dur="1s"/>
            <animateTransform attributeName="transform" id="firstSet1_1" type="translate" from="30,0" to="30,0" begin="0s; firstSet1_1.end + 1s" dur="1s"/>
          </rect>

          <g transform="translate(110, 0)">
            <set id="firstSet2" attributeName="fill" to="rgb(255, 165, 0)" begin="0s; firstSet2.end + 1s" dur="1s"/>
            <rect x="10" width="8" height="8">
              <animateTransform attributeName="transform" id="firstSet2_1" type="translate" from="30, 0" to="30,0" begin="0s; firstSet2_1.end + 1s" dur="1s"/>
            </rect>
          </g>

          <a xlink:href="" transform="translate(220, 0)">
            <set id="firstSet3" attributeName="fill" to="rgb(255, 165, 0)" begin="0s; firstSet3.end + 1s" dur="1s"/>
            <rect x="10" width="8" height="8">
              <animateTransform attributeName="transform" id="firstSet3_1" type="translate" from="30, 0" to="30,0" begin="0s; firstSet3_1.end + 1s" dur="1s"/>
            </rect>
          </a>

        </g>
        <g id="setTwo" transform="translate(5,15)" stroke="rgb(204,0,102)">
          <defs>
            <g id="setTwoRef">
              <polyline fill="#ccc" stroke="#ccc" stroke-width="1" points="20,10,0,10,15,20,10,2,5,20,20,10">
              </polyline>
              <polyline fill="#ccc" stroke="#ccc" fill-rule="evenodd" stroke-width="1" points="20,10,0,10,15,20,10,2,5,20,20,10" transform="translate(30,0)">
              </polyline>
            </g>
          </defs>
          <use xlink:href="#setTwoRef"/>
          <use xlink:href="#setTwoRef" x="110"/>
          <use xlink:href="#setTwoRef" x="220"/>

          <polyline points="20,10,0,10,15,20,10,2,5,20,20,10">
            <set id="secondSet1" attributeName="fill-rule" to="evenodd" begin="0s; secondSet1_1.end + 1s" dur="1s"/>
            <animateTransform attributeName="transform" id="secondSet1_1" type="translate" from="30, 0" to="30,0" begin="0s; secondSet1_1.end + 1s" dur="1s"/>
          </polyline>

          <g transform="translate(110, 0)">
            <set id="secondSet2" attributeName="fill-rule" to="evenodd" begin="0s; secondSet2_1.end + 1s" dur="1s"/>
            <polyline points="20,10,0,10,15,20,10,2,5,20,20,10">
              <animateTransform attributeName="transform" id="secondSet2_1" type="translate" from="30, 0" to="30,0" begin="0s; secondSet2_1.end + 1s" dur="1s"/>
            </polyline>
          </g>

          <a xlink:href="" transform="translate(220, 0)">
            <set id="secondSet3" attributeName="fill-rule" to="evenodd" begin="0s; secondSet3_1.end + 1s" dur="1s"/>
            <polyline points="20,10,0,10,15,20,10,2,5,20,20,10">
              <animateTransform attributeName="transform" id="secondSet3_1" type="translate" from="30, 0" to="30,0" begin="0s; secondSet3_1.end + 1s" dur="1s"/>
            </polyline>
          </a>

        </g>

        <g id="setThree" transform="translate(0,45)" fill="none">
          <defs>
            <g id="setThreeRef">
              <rect x="10" width="8" height="8" fill="#ccc"/>
              <rect x="10" width="8" height="8" fill="#ccc" transform="translate(30,0)"/>
            </g>
          </defs>
          <use xlink:href="#setThreeRef"/>
          <use xlink:href="#setThreeRef" x="110"/>
          <use xlink:href="#setThreeRef" x="220"/>

          <rect x="10" width="8" height="8">
            <set id="thirdSet1" attributeName="stroke" to="rgb(204,0,102)" begin="0s; thirdSet1.end + 1s" dur="1s"/>
            <animateTransform attributeName="transform" id="thirdSet1_1" type="translate" from="30, 0" to="30,0" begin="0s; thirdSet1_1.end + 1s" dur="1s"/>
          </rect>

          <g transform="translate(110, 0)">
            <set id="thirdSet2" attributeName="stroke" to="rgb(204,0,102)" begin="0s; thirdSet2.end + 1s" dur="1s"/>
            <rect x="10" width="8" height="8">
              <animateTransform attributeName="transform" id="thirdSet2_1" type="translate" from="30, 0" to="30,0" begin="0s; thirdSet2_1.end + 1s" dur="1s"/>
            </rect>
          </g>

          <a xlink:href="" transform="translate(220, 0)">
            <set id="thirdSet3" attributeName="stroke" to="rgb(204,0,102)" begin="0s; thirdSet3.end + 1s" dur="1s"/>
            <rect x="10" width="8" height="8">
              <animateTransform attributeName="transform" id="thirdSet3_1" type="translate" from="30, 0" to="30,0" begin="0s; thirdSet3_1.end + 1s" dur="1s"/>
            </rect>
          </a>
        </g>

        <g id="setFour" transform="translate(0,60)" stroke="rgb(204,0,102)">
          <defs>
            <g id="setFourRef">
              <line x1="10" y1="8" x2="20" y2="0" stroke="#ccc">
              </line>
              <line x1="10" y1="8" x2="20" y2="0" stroke-width="4" stroke="#ccc" transform="translate(30,0)">
              </line>
            </g>
          </defs>
          <use xlink:href="#setFourRef"/>
          <use xlink:href="#setFourRef" x="110"/>
          <use xlink:href="#setFourRef" x="220"/>

          <line x1="10" y1="8" x2="20" y2="0">
            <set id="fourthSet1" attributeName="stroke-width" to="4" begin="0s; fourthSet1.end + 1s" dur="1s"/>
            <animateTransform attributeName="transform" id="fourthSet1_1" type="translate" from="30, 0" to="30,0" begin="0s; fourthSet1_1.end + 1s" dur="1s"/>
          </line>

          <g transform="translate(110, 0)">
            <set id="fourthSet2" attributeName="stroke-width" to="4" begin="0s; fourthSet2.end + 1s" dur="1s"/>
            <line x1="10" y1="8" x2="20" y2="0">
              <animateTransform attributeName="transform" id="fourthSet2_1" type="translate" from="30, 0" to="30,0" begin="0s; fourthSet2_1.end + 1s" dur="1s"/>
            </line>
          </g>

          <a xlink:href="" transform="translate(220, 0)">
            <set id="fourthSet3" attributeName="stroke-width" to="4" begin="0s; fourthSet3.end + 1s" dur="1s"/>
            <line x1="10" y1="8" x2="20" y2="0">
              <animateTransform attributeName="transform" id="fourthSet3_1" type="translate" from="30, 0" to="30,0" begin="0s; fourthSet3_1.end + 1s" dur="1s"/>
            </line>
          </a>
        </g>

        <g id="setFive" transform="translate(0,80)" stroke-width="4" stroke="rgb(204,0,102)">
          <defs>
            <g id="setFiveRef">
              <line x1="10" y1="8" x2="20" y2="0" stroke="#ccc">
              </line>
              <line x1="10" y1="8" x2="20" y2="0" stroke-linecap="round" stroke="#ccc" transform="translate(30,0)">
              </line>
            </g>
          </defs>
          <use xlink:href="#setFiveRef"/>
          <use xlink:href="#setFiveRef" x="110"/>
          <use xlink:href="#setFiveRef" x="220"/>

          <line x1="10" y1="8" x2="20" y2="0">
            <set id="fifthSet1" attributeName="stroke-linecap" to="round" begin="0s; fifthSet1.end + 1s" dur="1s"/>
            <animateTransform attributeName="transform" id="fifthSet1_1" type="translate" from="30, 0" to="30,0" begin="0s; fifthSet1_1.end + 1s" dur="1s"/>
          </line>

          <g transform="translate(110, 0)">
            <set id="fifthSet2" attributeName="stroke-linecap" to="round" begin="0s; fifthSet2.end + 1s" dur="1s"/>
            <line x1="10" y1="8" x2="20" y2="0">
              <animateTransform attributeName="transform" id="fifthSet2_1" type="translate" from="30, 0" to="30,0" begin="0s; fifthSet2_1.end + 1s" dur="1s"/>
            </line>
          </g>

          <a xlink:href="" transform="translate(220, 0)">
            <set id="fifthSet3" attributeName="stroke-linecap" to="round" begin="0s; fifthSet3.end + 1s" dur="1s"/>
            <line x1="10" y1="8" x2="20" y2="0">
              <animateTransform attributeName="transform" id="fifthSet3_1" type="translate" from="30, 0" to="30,0" begin="0s; fifthSet3_1.end + 1s" dur="1s"/>
            </line>
          </a>
        </g>

        <g id="setSix" transform="translate(5,100)" fill="none" stroke-miterlimit="10" stroke-width="3" stroke="rgb(204,0,102)">
          <defs>
            <g id="setSixRef">
              <polyline stroke="#ccc" points="5,2,20,5,5,8">
              </polyline>
              <polyline stroke="#ccc" points="5,2,20,5,5,8" stroke-linejoin="bevel" transform="translate(30,0)">
              </polyline>
            </g>
          </defs>
          <use xlink:href="#setSixRef"/>
          <use xlink:href="#setSixRef" x="110"/>
          <use xlink:href="#setSixRef" x="220"/>

          <polyline points="5,2,20,5,5,8">
            <set id="sixthSet1" attributeName="stroke-linejoin" to="bevel" begin="0s; sixthSet1.end + 1s" dur="1s"/>
            <animateTransform attributeName="transform" id="sixthSet1_1" type="translate" from="30, 0" to="30,0" begin="0s; sixthSet1_1.end + 1s" dur="1s"/>
          </polyline>

          <g transform="translate(110, 0)">
            <set id="sixthSet2" attributeName="stroke-linejoin" to="bevel" begin="0s; sixthSet2.end + 1s" dur="1s"/>
            <polyline points="5,2,20,5,5,8">
              <animateTransform attributeName="transform" id="sixthSet2_1" type="translate" from="30, 0" to="30,0" begin="0s; sixthSet2_1.end + 1s" dur="1s"/>
            </polyline>
          </g>

          <a xlink:href="" transform="translate(220, 0)">
            <set id="sixthSet3" attributeName="stroke-linejoin" to="bevel" begin="0s; sixthSet3.end + 1s" dur="1s"/>
            <polyline points="5,2,20,5,5,8">
              <animateTransform attributeName="transform" id="sixthSet3_1" type="translate" from="30, 0" to="30,0" begin="0s; sixthSet3_1.end + 1s" dur="1s"/>
            </polyline>
          </a>
        </g>

        <g id="setSeven" transform="translate(5,120)" stroke-miterlimit="1" fill="none" stroke-width="3" stroke="rgb(204,0,102)">
          <defs>
            <g id="setSevenRef">
              <polyline points="5,0,20,5,5,10" stroke="#ccc"/>
              <polyline points="5,0,20,5,5,10" stroke="#ccc" stroke-miterlimit="10" transform="translate(30,0)"/>
            </g>
          </defs>
          <use xlink:href="#setSevenRef"/>
          <use xlink:href="#setSevenRef" x="110"/>
          <use xlink:href="#setSevenRef" x="220"/>

          <polyline points="5,0,20,5,5,10">
            <set id="seventhSet1" attributeName="stroke-miterlimit" to="10" begin="0s; seventhSet1.end + 1s" dur="1s"/>
            <animateTransform attributeName="transform" id="seventhSet1_1" type="translate" from="30, 0" to="30,0" begin="0s; seventhSet1_1.end + 1s" dur="1s"/>
          </polyline>

          <g transform="translate(110, 0)">
            <set id="seventhSet2" attributeName="stroke-miterlimit" to="10" begin="0s; seventhSet2.end + 1s" dur="1s"/>
            <polyline points="5,0,20,5,5,10">
              <animateTransform attributeName="transform" id="seventhSet2_1" type="translate" from="30, 0" to="30,0" begin="0s; seventhSet2_1.end + 1s" dur="1s"/>
            </polyline>
          </g>

          <a xlink:href="" transform="translate(220, 0)">
            <set id="seventhSet3" attributeName="stroke-miterlimit" to="10" begin="0s; seventhSet3.end + 1s" dur="1s"/>
            <polyline points="5,0,20,5,5,10">
              <animateTransform attributeName="transform" id="seventhSet3_1" type="translate" from="30, 0" to="30,0" begin="0s; seventhSet3_1.end + 1s" dur="1s"/>
            </polyline>
          </a>

        </g>

        <g id="setEight" transform="translate(-5,145)" stroke-dasharray="3,4,5" stroke-width="3" stroke="rgb(204,0,102)">
          <defs>
            <g id="setEightRef">
              <line x1="0" y1="0" x2="25" y2="0" stroke="#ccc"/>
              <line x1="0" y1="0" x2="25" y2="0" stroke="#ccc" stroke-dashoffset="5.5" transform="translate(40,0)"/>
            </g>
          </defs>
          <use xlink:href="#setEightRef"/>
          <use xlink:href="#setEightRef" x="110"/>
          <use xlink:href="#setEightRef" x="220"/>

          <line x1="0" y1="0" x2="25" y2="0">
            <set id="eighthSet1" attributeName="stroke-dashoffset" to="5.5" begin="0s; eighthSet1.end + 1s" dur="1s"/>
            <animateTransform attributeName="transform" id="eighthSet1_1" type="translate" from="40, 0" to="40,0" begin="0s; eighthSet1_1.end + 1s" dur="1s"/>
          </line>

          <g transform="translate(110, 0)">
            <set id="eighthSet2" attributeName="stroke-dashoffset" to="5.5" begin="0s; eighthSet2.end + 1s" dur="1s"/>
            <line x1="0" y1="0" x2="25" y2="0">
              <animateTransform attributeName="transform" id="eighthSet2_1" type="translate" from="40, 0" to="40,0" begin="0s; eighthSet2_1.end + 1s" dur="1s"/>
            </line>
          </g>

          <a xlink:href="" transform="translate(220, 0)">
            <set id="eighthSet3" attributeName="stroke-dashoffset" to="5.5" begin="0s; eighthSet3.end + 1s" dur="1s"/>
            <line x1="0" y1="0" x2="25" y2="0">
              <animateTransform attributeName="transform" id="eighthSet3_1" type="translate" from="40, 0" to="40,0" begin="0s; eighthSet3_1.end + 1s" dur="1s"/>
            </line>
          </a>
        </g>

        <g id="setNine" transform="translate(0,160)">
          <defs>
            <g id="setNineRef">
              <rect x="10" width="8" height="8" fill="#ccc"/>
              <rect x="10" width="8" height="8" fill="#ccc" transform="translate(30,0)"/>
            </g>
          </defs>
          <use xlink:href="#setNineRef"/>
          <use xlink:href="#setNineRef" x="110"/>
          <use xlink:href="#setNineRef" x="220"/>
          <rect x="10" width="8" height="8">
            <set id="ninthSet1" attributeName="display" to="none" begin="0s; ninthSet1.end + 1s" dur="1s"/>
            <animateTransform attributeName="transform" id="ninthSet1_1" type="translate" from="30, 0" to="30,0" begin="0s; ninthSet1_1.end + 1s" dur="1s"/>
          </rect>

          <g transform="translate(110, 0)">
            <set id="ninthSet2" attributeName="display" to="none" begin="0s; ninthSet2.end + 1s" dur="1s"/>
            <rect x="10" width="8" height="8">
              <animateTransform attributeName="transform" id="ninthSet2_1" type="translate" from="30, 0" to="30,0" begin="0s; ninthSet2_1.end + 1s" dur="1s"/>
            </rect>
          </g>

          <a xlink:href="" transform="translate(220, 0)">
            <set id="ninthSet3" attributeName="display" to="none" begin="0s; ninthSet3.end + 1s" dur="1s"/>
            <rect x="10" width="8" height="8">
              <animateTransform attributeName="transform" id="ninthSet3_1" type="translate" from="30, 0" to="30,0" begin="0s; ninthSet3_1.end + 1s" dur="1s"/>
            </rect>
          </a>
        </g>

        <g id="setTen" transform="translate(0,180)">
          <defs>
            <g id="setTenRef">
              <rect x="10" width="8" height="8" fill="#ccc"/>
              <rect x="10" width="8" height="8" fill="#ccc" transform="translate(30,0)"/>
            </g>
          </defs>
          <use xlink:href="#setTenRef"/>
          <use xlink:href="#setTenRef" x="110"/>
          <use xlink:href="#setTenRef" x="220"/>

          <rect x="10" width="8" height="8">
            <set id="tenthSet1" attributeName="visibility" to="hidden" begin="0s; tenthSet1.end + 1s" dur="1s"/>
            <animateTransform attributeName="transform" id="tenthSet1_1" type="translate" from="30, 0" to="30,0" begin="0s; tenthSet1_1.end + 1s" dur="1s"/>
          </rect>

          <g transform="translate(110, 0)">
            <set id="tenthSet2" attributeName="visibility" to="hidden" begin="0s; tenthSet2.end + 1s" dur="1s"/>
            <rect x="10" width="8" height="8">
              <animateTransform attributeName="transform" id="tenthSet2_1" type="translate" from="30, 0" to="30,0" begin="0s; tenthSet2_1.end + 1s" dur="1s"/>
            </rect>
          </g>

          <a xlink:href="" transform="translate(220, 0)">
            <set id="tenthSet3" attributeName="visibility" to="hidden" begin="0s; tenthSet3.end + 1s" dur="1s"/>
            <rect x="10" width="8" height="8">
              <animateTransform attributeName="transform" id="tenthSet3_1" type="translate" from="30, 0" to="30,0" begin="0s; tenthSet3_1.end + 1s" dur="1s"/>
            </rect>
          </a>
        </g>

        <g id="setEleven" color="rgb(204,0,102)" transform="translate(0,200)">
          <defs>
            <g id="setElevenRef">
              <rect x="10" width="8" height="8" fill="#ccc"/>
              <rect x="10" width="8" height="8" fill="#ccc" transform="translate(30,0)"/>
            </g>
          </defs>
          <use xlink:href="#setElevenRef"/>
          <use xlink:href="#setElevenRef" x="110"/>
          <use xlink:href="#setTenRef" x="220"/>

          <rect x="10" width="8" height="8" fill="currentColor">
            <set id="eleventhSet1" attributeName="color" to="rgb(255, 165, 0)" begin="0s; eleventhSet1.end + 1s" dur="1s"/>
            <animateTransform attributeName="transform" id="eleventhSet1_1" type="translate" from="30, 0" to="30,0" begin="0s; eleventhSet1_1.end + 1s" dur="1s"/>
          </rect>

          <g transform="translate(110, 0)" fill="currentColor">
            <set id="eleventhSet2" attributeName="color" to="rgb(255, 165, 0)" begin="0s; eleventhSet2.end + 1s" dur="1s"/>
            <rect x="10" width="8" height="8">
              <animateTransform attributeName="transform" id="eleventhSet2_1" type="translate" from="30, 0" to="30,0" begin="0s; eleventhSet2_1.end + 1s" dur="1s"/>
            </rect>
          </g>

          <a xlink:href="" transform="translate(220, 0)" fill="currentColor">
            <!-- This first 'set' is because 'color' on the 'a' might well be a different color from that
                 inherited from its parent, due to UA style sheet ":visited { color: something }" rules. -->
            <set attributeName="color" to="rgb(204,0,102)"/>
            <set id="eleventhSet3" attributeName="color" to="rgb(255, 165, 0)" begin="0s; eleventhSet3.end + 1s" dur="1s"/>
            <rect x="10" width="8" height="8">
              <animateTransform attributeName="transform" id="eleventhSet3_1" type="translate" from="30, 0" to="30,0" begin="0s; eleventhSet3_1.end + 1s" dur="1s"/>
            </rect>
          </a>
        </g>
      </g>
    </g>
  </g>
  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>
  </g>
  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
  <!-- comment out this watermark once the test is approved -->
  <!--<g id="draft-watermark">
    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
  </g>-->
</svg>