aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/chapter-12.htm
blob: acfb86fdd103f1b80cc71d155ea584d7a71a282a (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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
 <head>
  <title>The backface-visibility Property - 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 backface-visibility Property (9 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="s12">
      <tr><th colspan="4" scope="rowgroup">
        <a href="#s12">+</a>
        <a href="http://www.w3.org/TR/css-transforms-1/#backface-visibility-property">12 The backface-visibility Property</a></th></tr>
      <!-- 1 tests -->
      <tr id="transform3d-backface-visibility-008-12" class="primary">
        <td><strong>
            <a href="transform3d-backface-visibility-008.htm">transform3d-backface-visibility-008</a></strong></td>
        <td><a href="reference/ref-filled-green-100px-square.htm">=</a> </td>
        <td></td>
        <td>backface-visibility - visible
          <ul class="assert">
            <li>When 'backface-visiblity' is set to visible, the back side of a transformed element is visible.</li>
          </ul>
        </td>
      </tr>
    </tbody>
    <tbody id="s12.#issue-5f192247">
      <!-- 0 tests -->
    </tbody>
    <tbody id="s12.#propdef-backface-visibility">
      <!-- 8 tests -->
      <tr id="backface-visibility-hidden-001-12.#propdef-backface-visibility" class="">
        <td>
            <a href="backface-visibility-hidden-001.htm">backface-visibility-hidden-001</a></td>
        <td><a href="reference/backface-visibility-hidden-ref.htm">=</a> </td>
        <td></td>
        <td>transform property with backface visibility = hidden
          <ul class="assert">
            <li>When the value of backface visibility property is 'hidden', the back side of a transformed element is invisible when facing the viewer.</li>
          </ul>
        </td>
      </tr>
      <tr id="transform3d-backface-visibility-001-12.#propdef-backface-visibility" class="primary">
        <td><strong>
            <a href="transform3d-backface-visibility-001.htm">transform3d-backface-visibility-001</a></strong></td>
        <td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
        <td></td>
        <td>Simple Backface-Visibility, rotatex(180deg)
          <ul class="assert">
            <li>This tests that a very simple case of backface-visibility causes the element to disappear: rotateX(180deg) is specified on the same element that has backface-visibility: hidden.</li>
          </ul>
        </td>
      </tr>
      <tr id="transform3d-backface-visibility-002-12.#propdef-backface-visibility" class="primary">
        <td><strong>
            <a href="transform3d-backface-visibility-002.htm">transform3d-backface-visibility-002</a></strong></td>
        <td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
        <td></td>
        <td>Backface-Visibility With Transformed Parent and Child in Different Rendering Contexts
          <ul class="assert">
            <li>This tests that if an element has 'backface-visibility: hidden' and is rotated 180deg, so it would normally disappear, it doesn't reappear just because its parent also has a 180deg rotation. The rotations don't cancel, since the parent doesn't have 'transform-style: preserve-3d' and is in a different rendering context.</li>
          </ul>
        </td>
      </tr>
      <tr id="transform3d-backface-visibility-003-12.#propdef-backface-visibility" class="primary">
        <td><strong>
            <a href="transform3d-backface-visibility-003.htm">transform3d-backface-visibility-003</a></strong></td>
        <td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
        <td></td>
        <td>Simple Backface-Visibility, rotatex(180deg) on Table
          <ul class="assert">
            <li>This is identical to transform3d-backface-visibility-001.html, except that display: table is specified too. This is motivated by a real-world UA bug: &lt;https://bugzilla.mozilla.org/show_bug.cgi?id=724750&gt;.</li>
          </ul>
        </td>
      </tr>
      <tr id="transform3d-backface-visibility-004-12.#propdef-backface-visibility" class="primary">
        <td><strong>
            <a href="transform3d-backface-visibility-004.htm">transform3d-backface-visibility-004</a></strong></td>
        <td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
        <td></td>
        <td>Backface-Visibility With Transformed Parent in Same Rendering Context, Split Transform
          <ul class="assert">
            <li>This tests that if a parent and child are in the same 3D rendering context, and a 60deg rotation on the parent combines with a 60deg rotation on the child to make a 120deg rotation, the child will disappear if 'backface-visibility: hidden' is specified, just like if the 120deg rotation were specified on the child to start with.</li>
          </ul>
        </td>
      </tr>
      <tr id="transform3d-backface-visibility-005-12.#propdef-backface-visibility" class="primary">
        <td><strong>
            <a href="transform3d-backface-visibility-005.htm">transform3d-backface-visibility-005</a></strong></td>
        <td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
        <td></td>
        <td>Backface-Visibility With Transformed Parent in Different Rendering Context
          <ul class="assert">
            <li>This tests that if an element is not transformed, but its parent is rotated 180deg in a different rendering context, the child's 'backface-visibility: hidden' does not make it disappear. Only transforms that affect the child itself are relevant to 'backface-visibility'.</li>
          </ul>
        </td>
      </tr>
      <tr id="transform3d-backface-visibility-006-12.#propdef-backface-visibility" class="primary">
        <td><strong>
            <a href="transform3d-backface-visibility-006.htm">transform3d-backface-visibility-006</a></strong></td>
        <td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
        <td></td>
        <td>Backface-Visibility With Transformed Parent in Same Rendering Context
          <ul class="assert">
            <li>This is the same as transform3d-backface-visibility-005.html, except that the parent has 'transform-style: preserve-3d'. Thus the child is affected by the parent's transform and should not be visible.</li>
          </ul>
        </td>
      </tr>
      <tr id="transform3d-backface-visibility-007-12.#propdef-backface-visibility" class="primary">
        <td><strong>
            <a href="transform3d-backface-visibility-007.htm">transform3d-backface-visibility-007</a></strong></td>
        <td><a href="reference/transform-lime-square-ref.htm">=</a> </td>
        <td></td>
        <td>Simple Backface-Visibility, scalez(-1)
          <ul class="assert">
            <li>This is the same as transform3d-backface-visibility-001.html, except it uses scalez(-1) instead of rotatex(180deg). scalez(-1) has no visible effect when applied by itself to a box, since the box's Z-coordinates are all 0, but it still causes it to be affected by 'backface-visibility'.</li>
          </ul>
        </td>
      </tr>
    </tbody>
  </table>

 </body>
</html>