mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
28 lines
987 B
HTML
28 lines
987 B
HTML
<!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> |