With this code:
<!-- gets: height: 504px, why? -->
<div style="background-color:black"><canvas width="500" height="500"></canvas></div>
The DIV container is layout to have 504px in Chrome 49.0.2623.112 and 504.14px in IE 11.0.9600.18314
Why the container even with padding, margin and border set to zero grow beyond its content size?