Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
4 <style>
5 body, #tq { display: inline; }
6 #tq { position: relative; }
7 </style>
9 <style id="newstyle">
10 </style>
12 <script>
13 function foo()
14 {
15 document.getElementById("tq").style.position = "static";
16 document.getElementById("newstyle").textContent = "*:first-letter { }";
17 }
18 </script>
20 </head>
22 <body onload="foo()">
23 <table><tr><td>Table</td></tr></table>
24 <div id="tq">Div</div>
25 </body>
27 </html>