Skip to content

If iframe with graph has display:none, FF gives "Main div contains padding; graph will misbehave" #1041

@BosJ

Description

@BosJ

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions