summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/background-attachment-local/attachment-local-positioning-4-ref.html
blob: 8e5b383d7cf7a3764d1e010a374aea2b06ecc053 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!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>Lorem ipsum dolor sit amet</p>
  </div>
</div>