mirror of
https://github.com/servo/servo
synced 2026-05-10 00:52:08 +02:00
25 lines
831 B
HTML
25 lines
831 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>CSS Test (Transforms): matrix()/translateX()</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/#two-d-transform-functions">
|
|
<link rel="help" href="http://www.w3.org/TR/css-transforms-1/#funcdef-transform-matrix">
|
|
<meta name="assert" content='This tests that translateX() has the same
|
|
effect as an equivalent matrix().'>
|
|
<link rel="match" href="transform-matrix-001-ref.html">
|
|
<style>
|
|
div {
|
|
transform: matrix(1, 0, 0, 1, 100, 0);
|
|
width: 100px;
|
|
height: 100px;
|
|
background: gold;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div></div>
|
|
</body>
|
|
</html>
|