blob: 93c9c6c4100aff555eced75870f6106c30e58d27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>CSS Test (Transforms): rotatex(90deg) scale3d(2, 1, 2)
rotatex(-90deg)</title>
<link href="mailto:mwoodrow@mozilla.com" rel="author" title="Matt Woodrow" />
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
<link href="http://www.w3.org/TR/css-transforms-1/#three-d-transform-functions" rel="help" />
<link href="http://www.w3.org/TR/css-transforms-1/#funcdef-scale3d" rel="help" />
<meta content="This tests that rotatex(90deg)
scale3d(2, 1, 2) rotatex(-90deg) is the same as scalex(2) scaley(2).
Conjugating by the rotation swaps the Y and Z coordinates for the scale." name="assert" />
<link href="reference/transform3d-scale-001-ref.xht" rel="match" />
<link href="reference/transform3d-scale-001-notref.xht" rel="mismatch" />
</head>
<body>
<div style="transform: rotatex(90deg) scale3D(2,1,2) rotatex(-90deg); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
</div>
</body></html>
|