Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
1 <!doctype html>
2 <title>CSS Test: background-attachment: local; positioning area</title>
3 <link rel="match" href="attachment-local-positioning-2-ref.html" />
4 <meta name="flags" content="dom" />
5 <link rel="author" title="Simon Sapin" href="http://exyr.org/about/" />
6 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-attachment" />
7 <style>
8 #outer {
9 border: solid;
10 /* 100% 100% == (250px - 32px) (370px - 32px) == 218px 338px */
11 /* With scrolling, effective position is 178px 278px */
12 background: url(aqua-yellow-32x32.png) local no-repeat 100% 100%;
13 overflow: hidden;
14 width: 200px;
15 height: 300px;
16 }
17 div div {
18 width: 250px;
19 height: 370px;
20 }
21 p {
22 margin: 0;
23 padding-top: 100px;
24 }
25 </style>
26 <div id=outer>
27 <div>
28 <p><img src=blue-32x32.png style="width: 160px"></p>
29 </div>
30 </div>
31 <script>
32 var outer = document.getElementById('outer');
33 outer.scrollLeft = 40;
34 outer.scrollTop = 60;
35 </script>