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 <html>
3 <head>
4 <script>
5 function tweak() {
6 // div with style "width:300px; height:100px; background-color:green"
7 var shadowDiv = document.createElement("div");
8 shadowDiv.style.width = "300px";
9 shadowDiv.style.height = "100px";
10 shadowDiv.style.backgroundColor = "green";
12 var shadowRoot = document.getElementById('outer').createShadowRoot();
13 shadowRoot.appendChild(shadowDiv);
14 }
15 </script>
16 </head>
17 <body onload="tweak()">
18 <div id="outer">
19 <div style="width:300px; height:100px; background-color:red;"></div>
20 </div>
21 </body>
22 </html>