summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/backgrounds/background-bg-pos-205.xht
blob: e61805927848c2d4ef321dae6613c71ae7e19aba (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!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: Background Position: bottom right and the scrolling viewport</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/bg-pos-3.html" type="text/html"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins"/>
  <meta content="image scroll" name="flags" />
<style type="text/css">
   html { background: bottom right url(support/swatch-orange.png) scroll white no-repeat; color: black; }
   html, body { margin: 0; border: 0; padding: 0; }
   p { margin-top: 0; margin-bottom: 2em; }
   .inner { line-height: 3em; letter-spacing: 3em; color: silver; white-space: normal; margin: -5em; }
   .platform { background: yellow; height: 3em; margin-right: 5em; }
   .inner { background: bottom right url(support/swatch-blue.png) no-repeat; }
</style>

</head>
<body>
<p>Scroll to the bottom right of the page, where there should be
a single blue square tucked precisely into the corner. There must
also be a single orange square sitting on top of the large yellow box,
aligned exactly at its rightmost edge.</p>

<div class="inner">this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text this is filler text this is filler text this is filler text this
is filler text this is filler text this is filler text this is filler
text<div class="platform"></div><p></p>
</div></body>
</html>