E.g.
<section id="section" style="display: none;">
<iframe src="graph.html" width="600" height="400"> </iframe>
</section>
gives in Firefox Webconsole: Main div contains padding; graph will misbehave, but not in Chrome.
Page which demonstrates the problem: http://bosj.github.io/ (using dygraphs 2.2.1)
Maybe something to do with https://bugzilla.mozilla.org/show_bug.cgi?id=548397