1403712.html (535B)
1 <!doctype html> 2 <style> 3 :indeterminate { color: red; } 4 </style> 5 <div id="container"> 6 <fieldset> 7 <label> 8 <input name="layout" type="radio">Foo 9 </label> 10 <label> 11 <input name="layout" type="radio">Bar 12 </label> 13 <label> 14 <input name="layout" type="radio">Baz 15 </label> 16 <label> 17 <input name="layout" type="radio">Buz 18 </label> 19 </fieldset> 20 </div> 21 <script> 22 container.querySelector('input').checked = true; 23 document.body.offsetTop; 24 container.remove(); 25 document.body.offsetTop; 26 </script>