Files
servo/tests/wpt/css-tests/css-transforms-1_dev/xhtml1print/transform-background-002.xht

24 lines
1.0 KiB
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): Transform of Background Image (rotate left)</title>
<link href="mailto:ayg@aryeh.name" rel="author" title="Aryeh Gregor" />
<link href="http://www.w3.org/TR/css-transforms-1/#transform-property" rel="help" />
<link href="mailto:dschulze@adobe.com" rel="reviewer" title="Dirk Schulze" /> <!-- 2012-04-17 -->
<meta content="Background images fall within the element's
border box, so they need to be transformed along with it." name="assert" />
<meta content="svg" name="flags" />
<link href="reference/transform-background-ref-1.xht" rel="match" />
<style>
div {
width: 100px;
height: 200px;
background: url(support/transform-triangle-right.svg);
transform: translate(50px, -50px) rotate(270deg);
}
</style>
</head>
<body>
<div></div>
</body></html>