In my webpage I have a span-tag that I hide and show using Javascript. In all other browsers this worked fine but not with Chrome. The problem appeared to be a p-tag within the span...
Just try this:
<html>
<body>
<span id='divX'><p>TEST</span>
END
<script>
document.getElementById('divX').style.display = 'none';
alert('you should see only END now');
document.getElementById('divX').style.display = 'block';
</script>
</body>
</html>
With the <p> within the span, the word END doesn't show in Chrome when the span has display=none. Remove the <p> and it all works as expected.