Files
servo/tests/wpt/css-tests/css-transforms-1_dev/xhtml1/transform-image-001.xht

22 lines
979 B
HTML

<!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 &lt;img&gt;</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 &lt;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>