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 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 div#x::first-letter { color: blue; }
6 </style>
7 </head>
8 <body>
9 <div id="x">x</div>
10 <script>
11 document.body.offsetWidth;
12 var div = document.getElementById("x");
13 div.id = "y";
14 div.removeChild(div.firstChild);
15 </script>
16 </body>
17 </html>