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
michael@0 | 1 | <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> |
michael@0 | 2 | |
michael@0 | 3 | <input id="i"/> |
michael@0 | 4 | |
michael@0 | 5 | <script> |
michael@0 | 6 | <![CDATA[ |
michael@0 | 7 | |
michael@0 | 8 | function boom() |
michael@0 | 9 | { |
michael@0 | 10 | var i = document.getElementById("i"); |
michael@0 | 11 | i.select(); |
michael@0 | 12 | i.setAttribute("type", "radio"); |
michael@0 | 13 | i.blur(); |
michael@0 | 14 | document.documentElement.removeAttribute("class"); |
michael@0 | 15 | } |
michael@0 | 16 | |
michael@0 | 17 | window.addEventListener("load", function() { setTimeout(boom, 100); }, false); |
michael@0 | 18 | |
michael@0 | 19 | ]]> |
michael@0 | 20 | </script> |
michael@0 | 21 | |
michael@0 | 22 | </html> |