gecko-dev/layout/reftests/backgrounds/attachment-local-positionin...

30 строки
577 B
HTML

<!doctype html>
<title>CSS Reftest Reference: background-attachment: local</title>
<link rel="author" title="Simon Sapin" href="http://exyr.org/about/" />
<style>
#outer {
border: solid;
background: url(aqua-yellow-32x32.png) local no-repeat -10px -10px;
overflow: hidden;
width: 200px;
height: 300px;
}
div div {
width: 250px;
height: 370px;
}
p {
margin: 0;
padding-top: 100px;
text-align: right;
position: relative;
top: -10px;
left: -10px;
}
</style>
<div id=outer>
<div>
<p><img src=blue-32x32.png style="width: 160px"></p>
</div>
</div>