<script type="text/javascript">
function onClick(el)
{
document.getElementById("console").innerHTML += (new Date()).getTime() + " " + el.id + " clicked<br/>";
}
</script>
<div id="div1" onclick="onClick(this);">
<div id="div2">
<p>
Content</p>
</div>
</div>
<p>
If the cursor is towards the top of "C" then click event is lost. Same thing happens if the area just below the dotted border is clicked.</p>
<div id="console">
</div>