gecko-dev/layout/reftests/transform/descendant-1.html

24 lines
383 B
HTML

<html>
<head>
<style>
#div1 {
background: green;
height: 100px;
width: 100px;
}
span {
background: yellow;
}
#div1 div {-moz-transform: translate(20px, 150px);
-moz-transform-origin: 0% 0%;
}
</style>
</head>
<body>
<div id="div1">
<div><span>span 1</span></div>
</div>
<span>span 2</span>
</body>
</html>