Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-transforms/transform-singular-001.html - WPT Dashboard Interop Dashboard
<!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">
<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>