aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-transforms-1_dev/html/transform-singular-001.htm
blob: 5d6b095279d0624afe12779d36dbe10dc7b7ef63 (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
<!DOCTYPE html>
<html><head>
    <title>CSS Test (Transforms): matrix(1, 1, 1, 1, 0, 0)</title>
    <link href="mailto:keith@keithschwarz.com" rel="author" title="Keith Schwarz">
    <link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor">
    <link href="http://www.w3.org/TR/css-transforms-1/#transform-function-lists" rel="help">
    <meta 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.' name="assert">
    <link href="reference/transform-singular-ref.htm" rel="match">
    <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>