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-background-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Test (Transforms): Transform of Background Image (rotate right)</title>
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<link rel="reviewer" title="Dirk Schulze" href="mailto:dschulze@adobe.com"> <!-- 2012-04-17 -->
<meta name="assert" content="Background images fall within the element's
border box, so they need to be transformed along with it.">
<meta name="flags" content="svg">
<link rel="match" href="transform-background-ref-1.html">
<meta name="fuzzy" content="maxDifference=0-4;totalPixels=0-400">
<style>
div {
width: 100px;
height: 200px;
background: url(support/transform-triangle-left.svg);
transform: translate(50px, -50px) rotate(90deg);
}
</style>
</head>
<body>
<div></div>
</body>
</html>