Files
servo/tests/wpt/css-tests/css-transforms-1_dev/html/transform-background-004.htm

32 lines
1.0 KiB
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Test (Transforms): Transform of Background Image (nested flip)</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. This file tests
that a transform on the parent works correctly, not just on the element
itself." name="assert">
<meta content="svg" name="flags">
<link href="reference/transform-background-ref-1.htm" rel="match">
<style>
div {
width: 200px;
height: 100px;
}
body > div {
transform: scale(-1);
}
body > div > div {
background: url(support/transform-triangle-down.svg);
}
</style>
</head>
<body>
<div>
<div></div>
</div>
</body></html>