blob: ac397d0b6240321c6407e159ff5372da4dd98750 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!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): scale(0.5, 0.5)</title>
<link href="mailto:ctalbert@mozilla.com" rel="author" title="Clint Talbert" />
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
<link href="http://www.w3.org/TR/css-transforms-1/#two-d-transform-functions" rel="help" />
<link href="http://www.w3.org/TR/css-transforms-1/#funcdef-scale" rel="help" />
<meta content="This tests that scale(0.5, 0.5) scales down a
box by a factor of one-half." name="assert" />
<link href="reference/transform-scale-ref.xht" rel="match" />
<style>
div {
background: green;
width: 100px;
height: 100px;
transform: scale(0.5, 0.5);
}
</style>
</head>
<body>
<div></div>
</body></html>
|