Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-transforms/transform-image-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Transformed <img></title>
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<meta name="assert" 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.'>
<link rel="match" href="transform-image-ref.html">
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-200">
<style>
img {
transform: rotate(90deg);
}
</style>
</head>
<body>
<img src="support/transform-triangle-up.svg">
</body>
</html>