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]:checked + span { color: red }
7 input { display: none }
8 </style>
10 <body onload='document.getElementById("foo").removeAttribute("checked");
11 document.getElementById("bar").removeAttribute("checked");'>
12 <input type="checkbox" checked="checked" id="foo"><span>There should be no red</span>
13 <input type="radio" checked="checked" id="bar"><span>There should be no red</span>
14 </body>
15 </html>