Files
servo/tests/wpt/css-tests/css-transforms-1_dev/html/transform-image-001.htm

22 lines
833 B
HTML

<!DOCTYPE html>
<html><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 <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.htm" rel="match">
<style>
img {
transform: rotate(90deg);
}
</style>
</head>
<body>
<img src="support/transform-triangle-up.svg">
</body></html>