Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 span { color: green }
6 :checked + span { color: red }
7 input { display: none }
8 </style>
9 </head>
10 <body>
11 <input type="checkbox" checked="checked" id="foo"><span>There should be no red</span>
12 <script>
13 var foo = document.body.offsetWidth;
14 document.getElementById("foo").removeAttribute("type");
15 </script>
16 </body>
17 </html>