blob: 7472378bb19b5a05f3bc7a34b49c2296c14ca32c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!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): Transformed <img></title>
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
<link href="http://www.apple.com" rel="reviewer" title="Apple Inc." />
<link href="http://www.w3.org/TR/css-transforms-1/#transformable-element" rel="help" />
<meta content="An <img> is a transformable element, so
transforms should work on it the same as any image. This test compares an
img element with a 90deg rotation transform applied to a different image
that was pre-rotated by 90 degrees." name="assert" />
<link href="reference/transform-image-ref.xht" rel="match" />
<style>
img {
transform: rotate(90deg);
}
</style>
</head>
<body>
<img src="support/transform-triangle-up.svg" />
</body></html>
|