Sorry, this video is for subscribers only.

Click here to subscribe!

Element Dimensions

Our SVG canvas overlaps its borders. Why? Our hypothesis is that Raphaël, our SVG library, is creating its SVG element with the wrong dimensions. We confirm that hypothesis, then test-drive code to allow elements to correctly report their size regardless of padding, borders, or margins.

comments powered by Disqus