<html xmlns="http://www.w3.org/1999/xhtml">

<table style="border-collapse: collapse;">
<colgroup span="2" id="b">
<col id="a"/>
</colgroup>
</table>

<script xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[
function doe() {
  document.getElementById('a').parentNode.removeChild(document.getElementById('a')); 
  document.getElementById('b').style.borderLeft = "6px inset green"; 
  }
  document.documentElement.offsetHeight;
  setTimeout(doe, 0);
]]>

</script>
</html>