blob: 6d72edb7ef2d17c01e71fda18279a6c030da57ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!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): scale3d(2, 2, 2)</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 scale3d(2, 2, 2) on some text
has the same effect as scaleX(2) scaleY(2). The Z part should be
irrelevant, because the text is flat." 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: scale3D(2,2,2); transform-origin: 0 0; width: 100px; height: 100px;">
Test Text
</div>
</body></html>
|