summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-singular-001.html
blob: 9cc1e319834b1fb29f63113059cbec3a1c6b43fc (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
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): matrix(1, 1, 1, 1, 0, 0)</title>
    <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-function-lists">
    <meta name="assert" content='"If a transform function causes the current
    transformation matrix (CTM) of an object to be non-invertible, the object
    and its content do not get displayed."  The matrix (1, 1, 1, 1) has
    determinant 1*1 - 1*1 = 0 and therefore is not invertible, so nothing
    should display.'>
    <link rel="match" href="transform-singular-ref.html">
    <style>
      div {
        width: 100px;
        height: 100px;
        background: red;
        transform: matrix(1, 1, 1, 1, 0, 0);
      }
    </style>
  </head>
  <body>
    <div>
      This shouldn't be visible.
    </div>
  </body>
</html>