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
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
<title>The Transform Rendering Model - CSS Transforms Module Level 1 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 Transforms Module Level 1 CR Test Suite</h1>
<h2>The Transform Rendering Model (50 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-transforms-1/#transform-rendering">6 The Transform Rendering Model</a></th></tr>
<!-- 34 tests -->
<tr id="css-transforms-3d-on-anonymous-block-001-6" class="primary">
<td><strong>
<a href="css-transforms-3d-on-anonymous-block-001.htm">css-transforms-3d-on-anonymous-block-001</a></strong></td>
<td><a href="reference/css-transforms-3d-anonymous-block-ref.htm">=</a> </td>
<td></td>
<td>No 3D transforms on anonymous block boxes
<ul class="assert">
<li>3D transforms can not be applied to anonymous block boxes.</li>
</ul>
</td>
</tr>
<tr id="transform-abspos-001-6" class="primary">
<td><strong>
<a href="transform-abspos-001.htm">transform-abspos-001</a></strong></td>
<td><a href="reference/transform-abspos-ref.htm">=</a> </td>
<td></td>
<td>Containing Block for Absolute Positioning (left/top)
<ul class="assert">
<li>"In the HTML namespace, any value other than 'none' for the transform results in the creation of . . . a containing block." This means absolutely positioned elements need to be rooted at a transformed ancestor, just as though it had non-static position.</li>
</ul>
</td>
</tr>
<tr id="transform-abspos-002-6" class="primary">
<td><strong>
<a href="transform-abspos-002.htm">transform-abspos-002</a></strong></td>
<td><a href="reference/transform-abspos-ref.htm">=</a> </td>
<td></td>
<td>Containing Block for Fixed Positioning (left/top offsets)
<ul class="assert">
<li>"In the HTML namespace, any value other than 'none' for the transform results in the creation of . . . a containing block. The object acts as a containing block for fixed positioned descendants." This means fixed-position elements need to be rooted at a transformed ancestor, rather than the viewport.</li>
</ul>
</td>
</tr>
<tr id="transform-abspos-003-6" class="primary">
<td><strong>
<a href="transform-abspos-003.htm">transform-abspos-003</a></strong></td>
<td><a href="reference/transform-abspos-ref.htm">=</a> </td>
<td></td>
<td>Containing Block for Fixed Positioning (right/bottom offsets)
<ul class="assert">
<li>"In the HTML namespace, any value other than 'none' for the transform results in the creation of . . . a containing block. The object acts as a containing block for fixed positioned descendants." This means fixed-position elements need to be rooted at a transformed ancestor, rather than the viewport. (This test differs from the previous in that it uses right/bottom properties for positioning instead of left/top.)</li>
</ul>
</td>
</tr>
<tr id="transform-abspos-004-6" class="primary">
<td><strong>
<a href="transform-abspos-004.htm">transform-abspos-004</a></strong></td>
<td><a href="reference/transform-abspos-ref.htm">=</a> </td>
<td></td>
<td>Containing Block for Absolute Positioning (bottom/right)
<ul class="assert">
<li>"In the HTML namespace, any value other than 'none' for the transform results in the creation of . . . a containing block." This means absolutely positioned elements need to be rooted at a transformed ancestor, just as though it had non-static position. This test differs from transform-abspos-001.html in that it uses the right/bottom properties for positioning instead of top/left.</li>
</ul>
</td>
</tr>
<tr id="transform-abspos-005-6" class="primary">
<td><strong>
<a href="transform-abspos-005.htm">transform-abspos-005</a></strong></td>
<td><a href="reference/transform-abspos-ref.htm">≠</a> </td>
<td></td>
<td>Containing Block for Absolute Positioning (bottom/right)
<ul class="assert">
<li>"In the HTML namespace, any value other than 'none' for the transform results in the creation of . . . a containing block." This means absolutely positioned elements need to be rooted at a transformed ancestor, just as though it had non-static position. Therefore, this test should be offset by one pixel from the reference.</li>
</ul>
</td>
</tr>
<tr id="transform-abspos-006-6" class="primary">
<td><strong>
<a href="transform-abspos-006.htm">transform-abspos-006</a></strong></td>
<td><a href="reference/transform-abspos-ref.htm">=</a> </td>
<td></td>
<td>Containing Block for Absolute Positioning (table)
<ul class="assert">
<li>"In the HTML namespace, any value other than 'none' for the transform results in the creation of . . . a containing block." This means absolutely positioned elements need to be rooted at a transformed ancestor, just as though it had non-static position. This test differs from transform-abspos-001.html in that the outer div is a table, which might cause buggy rendering engines to treat it differently.</li>
</ul>
</td>
</tr>
<tr id="transform-abspos-007-6" class="primary">
<td><strong>
<a href="transform-abspos-007.htm">transform-abspos-007</a></strong></td>
<td><a href="reference/transform-abspos-ref.htm">=</a> </td>
<td></td>
<td>Containing Block for Fixed Positioning (inline-table)
<ul class="assert">
<li>"In the HTML namespace, any value other than 'none' for the transform results in the creation of . . . a containing block. The object acts as a containing block for fixed positioned descendants." This means fixed-position elements need to be rooted at a transformed ancestor, rather than the viewport. This test differs from transform-abspos-002.html in that the outer div has display: inline-table, which might cause it to render differently in buggy UAs.</li>
</ul>
</td>
</tr>
<tr id="transform-background-007-6" class="primary svg">
<td><strong>
<a href="transform-background-007.htm">transform-background-007</a></strong></td>
<td><a href="reference/transform-background-ref-2.htm">=</a> </td>
<td><abbr class="svg" title="Requires SVG support">SVG</abbr></td>
<td>Transform of Background Image (propagated body with root element transform)
<ul class="assert">
<li>"If the root element is transformed, the transformation applies to the entire canvas, including any background specified for the root element. Since the background painting area for the root element is the entire canvas, which is infinite, the transformation might cause parts of the background that were originally off-screen to appear. For example, if the root element's background were repeating dots, and a transformation of 'scale(0.5)' were specified on the root element, the dots would shrink to half their size, but there will be twice as many, so they still cover the whole viewport." In this case, the background is specified on the body but propagates to the root element. The transform is on the root element, so it needs to affect the background. The rotation 90 degrees clockwise means that most of the screen will be filled with triangles that were originally above the top of the viewport; the original top row of triangles will now be on the left.</li>
</ul>
</td>
</tr>
<tr id="transform-background-008-6" class="primary svg">
<td><strong>
<a href="transform-background-008.htm">transform-background-008</a></strong></td>
<td><a href="reference/transform-background-ref-2.htm">=</a> </td>
<td><abbr class="svg" title="Requires SVG support">SVG</abbr></td>
<td>Transform of Background Image (root element background and transform)
<ul class="assert">
<li>This is exactly the same as transform-background-007.html, except that the background is specified directly on the root element instead of being specified on the body and propagating to the root.</li>
</ul>
</td>
</tr>
<tr id="transform-compound-001-6" class="primary">
<td><strong>
<a href="transform-compound-001.htm">transform-compound-001</a></strong></td>
<td><a href="reference/transform-compound-ref.htm">=</a> <a href="reference/transform-compound-notref-1.htm">≠</a> <a href="reference/transform-compound-notref-2.htm">≠</a> </td>
<td></td>
<td>Compound Transforms
<ul class="assert">
<li>Tests that applying multiple transforms to an element is the same as applying the transforms in the same order to nested elements.</li>
</ul>
</td>
</tr>
<tr id="transform-containing-block-dynamic-1a-6" class="primary">
<td><strong>
<a href="transform-containing-block-dynamic-1a.htm">transform-containing-block-dynamic-1a</a></strong></td>
<td><a href="reference/containing-block-dynamic-1-ref.htm">=</a> </td>
<td></td>
<td>CSS transforms: Creating containing block for fixed positioned elements
<ul class="assert">
<li>For elements whose layout is governed by the CSS box model, any value other than none for the transform results in the creation of both a stacking context and a containing block. The object acts as a containing block for fixed positioned descendants.</li>
<li>The object acts as a containing block for fixed positioned descendants.</li>
</ul>
</td>
</tr>
<tr id="transform-containing-block-dynamic-1b-6" class="primary">
<td><strong>
<a href="transform-containing-block-dynamic-1b.htm">transform-containing-block-dynamic-1b</a></strong></td>
<td><a href="reference/containing-block-dynamic-1-ref.htm">=</a> </td>
<td></td>
<td>CSS transforms: Creating containing block for fixed positioned elements
<ul class="assert">
<li>For elements whose layout is governed by the CSS box model, any value other than none for the transform results in the creation of both a stacking context and a containing block. The object acts as a containing block for fixed positioned descendants.</li>
<li>The object acts as a containing block for fixed positioned descendants.</li>
</ul>
</td>
</tr>
<tr id="transform-descendant-001-6" class="primary">
<td><strong>
<a href="transform-descendant-001.htm">transform-descendant-001</a></strong></td>
<td><a href="reference/transform-descendant-ref.htm">=</a> </td>
<td></td>
<td>Transform Affects Descendant
<ul class="assert">
<li>This just tests that a transform on a container div moves its contents, not just the div itself.</li>
</ul>
</td>
</tr>
<tr id="transform-fixed-bg-001-6" class="primary svg">
<td><strong>
<a href="transform-fixed-bg-001.htm">transform-fixed-bg-001</a></strong></td>
<td><a href="reference/transform-fixed-bg-ref.htm">=</a> </td>
<td><abbr class="svg" title="Requires SVG support">SVG</abbr></td>
<td>Fixed Background
<ul class="assert">
<li>"Fixed backgrounds are affected by any transform specified for the root element, and not by any other transforms." Thus if we have a div that's 100px square aligned at the top left of the page, giving it a fixed background and translating it 50px down and right should be the same as giving it a non-fixed background that's translated 50px down and right.</li>
</ul>
</td>
</tr>
<tr id="transform-fixed-bg-002-6" class="primary dom svg">
<td><strong>
<a href="transform-fixed-bg-002.htm">transform-fixed-bg-002</a></strong></td>
<td><a href="reference/transform-fixed-bg-ref.htm">=</a> </td>
<td><abbr class="dom" title="Requires Document Object Model support">DOM/JS</abbr><abbr class="svg" title="Requires SVG support">SVG</abbr></td>
<td>Fixed Background (with scrolling)
<ul class="assert">
<li>"Fixed backgrounds are affected by any transform specified for the root element, and not by any other transforms." Here we translate the div 150px down instead of 50px, and also scroll down 100px. This should be the same as the previous test because the background image is 100px square.</li>
</ul>
</td>
</tr>
<tr id="transform-fixed-bg-003-6" class="primary svg">
<td><strong>
<a href="transform-fixed-bg-003.htm">transform-fixed-bg-003</a></strong></td>
<td><a href="reference/transform-fixed-bg-ref.htm">=</a> </td>
<td><abbr class="svg" title="Requires SVG support">SVG</abbr></td>
<td>Fixed Background (with rotation)
<ul class="assert">
<li>This is the same as transform-fixed-bg-001, except that we also test that a rotation on a non-root element doesn't affect fixed backgrounds.</li>
</ul>
</td>
</tr>
<tr id="transform-fixed-bg-004-6" class="primary dom svg">
<td><strong>
<a href="transform-fixed-bg-004.htm">transform-fixed-bg-004</a></strong></td>
<td><a href="reference/transform-fixed-bg-ref.htm">=</a> </td>
<td><abbr class="dom" title="Requires Document Object Model support">DOM/JS</abbr><abbr class="svg" title="Requires SVG support">SVG</abbr></td>
<td>Fixed Background (with rotation and scrolling)
<ul class="assert">
<li>This is the same as transform-fixed-bg-002, except that we also test that a rotation on a non-root element doesn't affect fixed backgrounds.</li>
</ul>
</td>
</tr>
<tr id="transform-fixed-bg-005-6" class="primary svg">
<td><strong>
<a href="transform-fixed-bg-005.htm">transform-fixed-bg-005</a></strong></td>
<td><a href="reference/transform-fixed-bg-ref.htm">=</a> </td>
<td><abbr class="svg" title="Requires SVG support">SVG</abbr></td>
<td>Fixed Background (no-op transform)
<ul class="assert">
<li>This affects that adding a no-op transform to an element with a fixed background doesn't affect rendering.</li>
</ul>
</td>
</tr>
<tr id="transform-fixed-bg-006-6" class="primary svg">
<td><strong>
<a href="transform-fixed-bg-006.htm">transform-fixed-bg-006</a></strong></td>
<td><a href="reference/transform-fixed-bg-ref.htm">=</a> </td>
<td><abbr class="svg" title="Requires SVG support">SVG</abbr></td>
<td>Fixed Background (transform of intermediate)
<ul class="assert">
<li>This tests that adding a rotation to a non-root element doesn't affect rendering of fixed backgrounds on its descendants.</li>
</ul>
</td>
</tr>
<tr id="transform-fixed-bg-007-6" class="primary svg">
<td><strong>
<a href="transform-fixed-bg-007.htm">transform-fixed-bg-007</a></strong></td>
<td><a href="reference/transform-fixed-bg-ref.htm">=</a> </td>
<td><abbr class="svg" title="Requires SVG support">SVG</abbr></td>
<td>Fixed Background (transform on root)
<ul class="assert">
<li>This tests that a transform on the root element *does* affect the rendering of fixed backgrounds on its descendants.</li>
</ul>
</td>
</tr>
<tr id="transform-generated-001-6" class="primary">
<td><strong>
<a href="transform-generated-001.htm">transform-generated-001</a></strong></td>
<td><a href="reference/transform-generated-001-ref.htm">=</a> <a href="reference/transform-generated-001-notref.htm">≠</a> </td>
<td></td>
<td>Generated Content (block)
<ul class="assert">
<li>Transforms need to work on boxes of generated content just as on any other boxes. This file tests a generated block box.</li>
</ul>
</td>
</tr>
<tr id="transform-generated-002-6" class="primary">
<td><strong>
<a href="transform-generated-002.htm">transform-generated-002</a></strong></td>
<td><a href="reference/transform-generated-002-ref.htm">=</a> <a href="reference/transform-generated-002-notref.htm">≠</a> </td>
<td></td>
<td>Generated Content (inline)
<ul class="assert">
<li>Transforms need to work on boxes of generated content just as on any other boxes. This file tests a generated inline box.</li>
</ul>
</td>
</tr>
<tr id="transform-iframe-001-6" class="primary">
<td><strong>
<a href="transform-iframe-001.htm">transform-iframe-001</a></strong></td>
<td><a href="reference/transform-iframe-ref.htm">=</a> </td>
<td></td>
<td>Iframe
<ul class="assert">
<li>This test ensures that transforms cannot move the contents of an iframe onto the parent page. The iframe here contains a red box shifted 500px down and to the right, outside the iframe's visible area. overflow: hidden ensures that scrollbars are not tested.</li>
</ul>
</td>
</tr>
<tr id="transform-overflow-001-6" class="primary">
<td><strong>
<a href="transform-overflow-001.htm">transform-overflow-001</a></strong></td>
<td><a href="reference/transform-overflow-001-ref.htm">=</a> </td>
<td></td>
<td>overflow: auto
<ul class="assert">
<li>". . . if the value of the 'overflow' property is 'scroll' or 'auto', scrollbars will appear as needed to see content that is transformed outside the visible area." This tests that the effect of overflow: auto for a translation is the same as for an equivalent relative positioning.</li>
</ul>
</td>
</tr>
<tr id="transform-overflow-002-6" class="primary">
<td><strong>
<a href="transform-overflow-002.htm">transform-overflow-002</a></strong></td>
<td><a href="reference/transform-overflow-002-ref.htm">=</a> </td>
<td></td>
<td>overflow: scroll
<ul class="assert">
<li>". . . if the value of the 'overflow' property is 'scroll' or 'auto', scrollbars will appear as needed to see content that is transformed outside the visible area." This tests that the effect of overflow: scroll for a translation is the same as for an equivalent relative positioning.</li>
</ul>
</td>
</tr>
<tr id="transform-root-bg-001-6" class="primary">
<td><strong>
<a href="transform-root-bg-001.htm">transform-root-bg-001</a></strong></td>
<td><a href="reference/transform-root-bg-001-ref.htm">=</a> </td>
<td></td>
<td>scale(-1) on Root Element With Background
<ul class="assert">
<li>The background here extends to the whole canvas, and a transform on the root element must transform the whole canvas, background included. Thus the entire tiled background of left-pointing triangles needs to be rotated 180 degrees (same as scale(-1)) around the top center of the viewport, which is the default transform-origin of 50% 50% in this case. An implementation that doesn't draw the background on parts of the canvas outside the viewport might incorrectly display nothing, because the part of the background that's supposed to be rotated into view was initially above the visible part of the canvas.</li>
</ul>
</td>
</tr>
<tr id="transform-root-bg-002-6" class="primary">
<td><strong>
<a href="transform-root-bg-002.htm">transform-root-bg-002</a></strong></td>
<td><a href="reference/transform-root-bg-001-ref.htm">=</a> </td>
<td></td>
<td>scale(-1) on Root Element With Background On Body
<ul class="assert">
<li>Identical to transform-root-bg-001.html, except that the background property is put on the body rather than the root element. This should make no difference, because the body's background propagates up to the canvas if there's no root element background.</li>
</ul>
</td>
</tr>
<tr id="transform-root-bg-003-6" class="primary">
<td><strong>
<a href="transform-root-bg-003.htm">transform-root-bg-003</a></strong></td>
<td><a href="reference/transform-root-bg-003-ref.htm">=</a> </td>
<td></td>
<td>scale(0.5) on Root Element With Background
<ul class="assert">
<li>This is the same as transform-root-bg-001.html, except that it uses scale(0.5) instead of scale(-1). It also specifies a transform-origin, because the default of 50% 50% wouldn't work well with the way the reference image is constructed.</li>
</ul>
</td>
</tr>
<tr id="transform-root-bg-004-6" class="primary">
<td><strong>
<a href="transform-root-bg-004.htm">transform-root-bg-004</a></strong></td>
<td><a href="reference/transform-root-bg-004-ref.htm">=</a> </td>
<td></td>
<td>scale(-1) On Body With Background
<ul class="assert">
<li>This is like transform-root-bg-002.html, except that the transform is specified on the body element, not just the background. The background gets lifted to the root element, but the transform does not, so the transform has no effect.</li>
</ul>
</td>
</tr>
<tr id="transform-stacking-001-6" class="primary">
<td><strong>
<a href="transform-stacking-001.htm">transform-stacking-001</a></strong></td>
<td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
<td></td>
<td>Stacking, transform: scale(1)
<ul class="assert">
<li>This tests that specifying the identity transform on an element still causes it to create a new stacking context (unlike transform: none).</li>
</ul>
</td>
</tr>
<tr id="transform-stacking-002-6" class="primary">
<td><strong>
<a href="transform-stacking-002.htm">transform-stacking-002</a></strong></td>
<td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
<td></td>
<td>Stacking, transform: none
<ul class="assert">
<li>This tests that "transform: none" does not create a new stacking context -- it should have no effect at all.</li>
</ul>
</td>
</tr>
<tr id="transform-stacking-003-6" class="primary">
<td><strong>
<a href="transform-stacking-003.htm">transform-stacking-003</a></strong></td>
<td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
<td></td>
<td>Stacking, invalid transform value
<ul class="assert">
<li>This tests that specifying the transform property with an invalid value does not create a new stacking context -- it should have no effect at all, same as "transform: none".</li>
</ul>
</td>
</tr>
<tr id="transform-stacking-004-6" class="primary">
<td><strong>
<a href="transform-stacking-004.htm">transform-stacking-004</a></strong></td>
<td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
<td></td>
<td>Stacking, inherited transform: none
<ul class="assert">
<li>This tests that specifying "transform: inherit" (when the parent has no transform) does not create a new stacking context -- it should have no effect at all, same as "transform: none".</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s6.#issue-ca2c412c">
<!-- 0 tests -->
</tbody>
<tbody id="s6.#transformation-matrix-computation">
<!-- 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-transforms-1/#3d-transform-rendering">6.1 3D Transform Rendering</a></th></tr>
<!-- 17 tests -->
<tr id="css-transforms-3d-on-anonymous-block-001-6.1" class="">
<td>
<a href="css-transforms-3d-on-anonymous-block-001.htm">css-transforms-3d-on-anonymous-block-001</a></td>
<td><a href="reference/css-transforms-3d-anonymous-block-ref.htm">=</a> </td>
<td></td>
<td>No 3D transforms on anonymous block boxes
<ul class="assert">
<li>3D transforms can not be applied to anonymous block boxes.</li>
</ul>
</td>
</tr>
<tr id="rotate_45deg-6.1" class="primary">
<td><strong>
<a href="rotate_45deg.htm">rotate_45deg</a></strong></td>
<td><a href="reference/rotate_45deg-ref.htm">=</a> </td>
<td></td>
<td>rotateY with perspective produces a trapezoid
<ul class="assert">
<li>Rotate 45 degree in y axis</li>
</ul>
</td>
</tr>
<tr id="rotate_x_45deg-6.1" class="primary">
<td><strong>
<a href="rotate_x_45deg.htm">rotate_x_45deg</a></strong></td>
<td><a href="reference/rotate_x_45deg-ref.htm">=</a> </td>
<td></td>
<td>rotateX with perspective produces a trapezoid
<ul class="assert">
<li>Rotate 45 degree in y axis</li>
</ul>
</td>
</tr>
<tr id="rotate_y_45deg-6.1" class="primary">
<td><strong>
<a href="rotate_y_45deg.htm">rotate_y_45deg</a></strong></td>
<td><a href="reference/rotate_y_45deg-ref.htm">=</a> </td>
<td></td>
<td>rotateY with perspective produces a trapezoid
<ul class="assert">
<li>Rotate 45 degree in y axis</li>
</ul>
</td>
</tr>
<tr id="scalex-6.1" class="primary">
<td><strong>
<a href="scalex.htm">scalex</a></strong></td>
<td><a href="reference/scalex-ref.htm">=</a> </td>
<td></td>
<td>test scale x
<ul class="assert">
<li>scale x 2</li>
</ul>
</td>
</tr>
<tr id="scaley-6.1" class="primary">
<td><strong>
<a href="scaley.htm">scaley</a></strong></td>
<td><a href="reference/scaley-ref.htm">=</a> </td>
<td></td>
<td>test scale y
<ul class="assert">
<li>scale y 2</li>
</ul>
</td>
</tr>
<tr id="transform-3d-rotatey-stair-above-001-6.1" class="primary">
<td><strong>
<a href="transform-3d-rotateY-stair-above-001.htm">transform-3d-rotatey-stair-above-001</a></strong></td>
<td><a href="reference/transform-3d-rotateY-stair-above-ref-001.htm">=</a> </td>
<td></td>
<td>rotateY with perspective produces a trapezoid
<ul class="assert">
<li>A rotateY transform with perspective should result in a trapezoid.</li>
</ul>
</td>
</tr>
<tr id="transform-3d-rotatey-stair-below-001-6.1" class="primary">
<td><strong>
<a href="transform-3d-rotateY-stair-below-001.htm">transform-3d-rotatey-stair-below-001</a></strong></td>
<td><a href="reference/transform-3d-rotateY-stair-above-ref-001.htm">=</a> </td>
<td></td>
<td>rotateY with perspective produces a trapezoid
<ul class="assert">
<li>A rotateY transform with perspective should result in a trapezoid.</li>
</ul>
</td>
</tr>
<tr id="transform3d-sorting-001-6.1" class="">
<td>
<a href="transform3d-sorting-001.htm">transform3d-sorting-001</a></td>
<td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
<td></td>
<td>Simple Sorting
<ul class="assert">
<li>The red box here is translated in the negative Z-direction, so it should render beneath the lime box even though it comes later in DOM order.</li>
</ul>
</td>
</tr>
<tr id="transform3d-sorting-002-6.1" class="">
<td>
<a href="transform3d-sorting-002.htm">transform3d-sorting-002</a></td>
<td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
<td></td>
<td>Simple Sorting With Rotation
<ul class="assert">
<li>The red box here is translated to the same extent as the lime box, so they should render in stacking context order: the lime box is on top, because it's later in the DOM. But then we apply rotatex(180deg) to the whole thing, so the lime box should wind up on top in the end.</li>
</ul>
</td>
</tr>
<tr id="transform3d-sorting-003-6.1" class="">
<td>
<a href="transform3d-sorting-003.htm">transform3d-sorting-003</a></td>
<td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
<td></td>
<td>Simple Sorting With No Preserve-3D
<ul class="assert">
<li>The red box here is translated to above the lime box, but they aren't in the same 3D rendering context, so they should be drawn in DOM order regardless: lime box on top.</li>
</ul>
</td>
</tr>
<tr id="transform3d-sorting-004-6.1" class="">
<td>
<a href="transform3d-sorting-004.htm">transform3d-sorting-004</a></td>
<td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
<td></td>
<td>Simple Sorting With Preserve-3D on Grandparent
<ul class="assert">
<li>This is the same as transform3d-sorting-003.html, except with two wrapper divs. 'transform-style: preserve-3d' only affects children, not grandchildren, so the two divs with backgrounds are still in different rendering contexts and the Z-position should still not affect stacking.</li>
</ul>
</td>
</tr>
<tr id="transform3d-sorting-005-6.1" class="">
<td>
<a href="transform3d-sorting-005.htm">transform3d-sorting-005</a></td>
<td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
<td></td>
<td>Sorting With Background on Parent
<ul class="assert">
<li>This tests that if a parent has 'transform-style: preserve-3d', it's in the same rendering context as its children. Thus the translateZ(10px) puts the child above it, and the rotateX(180deg) puts it below, so the lime parent is rendered on top.</li>
</ul>
</td>
</tr>
<tr id="transform3d-sorting-006-6.1" class="">
<td>
<a href="transform3d-sorting-006.htm">transform3d-sorting-006</a></td>
<td><a href="reference/transform3d-sorting-006-ref.htm">=</a> </td>
<td></td>
<td>Sorting With Intersection
<ul class="assert">
<li>This tests that when two boxes intersect in a simple fashion, they're rendered according to Newell's algorithm.</li>
</ul>
</td>
</tr>
<tr id="translate-6.1" class="primary">
<td><strong>
<a href="translate.htm">translate</a></strong></td>
<td><a href="reference/translate-ref.htm">=</a> </td>
<td></td>
<td>test translate
<ul class="assert">
<li>translate x, y</li>
</ul>
</td>
</tr>
<tr id="ttwf-css-3d-polygon-cycle-6.1" class="primary svg">
<td><strong>
<a href="ttwf-css-3d-polygon-cycle.htm">ttwf-css-3d-polygon-cycle</a></strong></td>
<td><a href="reference/ttwf-css-3d-polygon-cycle-ref.htm">=</a> </td>
<td><abbr class="svg" title="Requires SVG support">SVG</abbr></td>
<td>3d transform polygon cycle
<ul class="assert">
<li>The red, green and blue rectangles are forming a cycle, which should be detected and rendered using Newell Algorithm's.</li>
</ul>
</td>
</tr>
<tr id="ttwf-css-3d-polygon-cycle-mismatch-6.1" class="primary svg">
<td><strong>
<a href="ttwf-css-3d-polygon-cycle-mismatch.htm">ttwf-css-3d-polygon-cycle-mismatch</a></strong></td>
<td><a href="reference/ttwf-css-3d-polygon-cycle-ref.htm">=</a> </td>
<td><abbr class="svg" title="Requires SVG support">SVG</abbr></td>
<td>3d transform polygon cycle
<ul class="assert">
<li>The red, green and blue rectangles are forming a cycle, which should be detected and rendered using Newell Algorithm's.</li>
</ul>
</td>
</tr>
</tbody>
<tbody id="s6.1.#accumulated-3d-transformation-matrix-computation">
<!-- 0 tests -->
</tbody>
<tbody id="s6.1.#issue-34d952cb">
<!-- 0 tests -->
</tbody>
<tbody id="s6.1.#issue-878a3175">
<!-- 0 tests -->
</tbody>
<tbody id="s6.1.#perspective-matrix-computation">
<!-- 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-transforms-1/#processing-of-perspective-transformed-boxes">6.2 Processing of Perspective-Transformed Boxes</a></th></tr>
<!-- 0 tests -->
</tbody>
<tbody id="s6.2.#issue-44e00fb5">
<!-- 0 tests -->
</tbody>
<tbody id="s6.2.#issue-6b4d59fb">
<!-- 0 tests -->
</tbody>
</table>
</body>
</html>
|