Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some examples not displayed on Firefox 36.0.1 #138

Closed
pembeci opened this issue Mar 13, 2015 · 4 comments
Closed

Some examples not displayed on Firefox 36.0.1 #138

pembeci opened this issue Mar 13, 2015 · 4 comments

Comments

@pembeci
Copy link

pembeci commented Mar 13, 2015

On Firefox 36.0, only the first or first few examples are rendered. Others return just the text definition. Chrome works fine, so it shouldn't be a network or setup problem on my part. Firefox console shows the following security error, may be it is related:

"Registering new lang" flowchart.html:197:20
SecurityError: The operation is insecure. mermaid.full.js:30994:0

Here is an screenshot:
mermaid_flowchart_html

@knsv
Copy link
Collaborator

knsv commented Mar 13, 2015

Thanks for pointing this out. I believe it is the same root cause as issue #128. Firefox can not copy a style and then stops the executions. This is resolved but not yet released but will be a part next release.

@knsv
Copy link
Collaborator

knsv commented Mar 13, 2015

I think in this case it has to do with css files fetched from another origin that are accessible to mermaid.

@pembeci
Copy link
Author

pembeci commented Mar 13, 2015

That may be it. Thanks for the fast response and this very useful library. Another question, if you don't mind. dagre-d3 says it will not be maintained any more. How will this effect mermaid?

@pembeci pembeci closed this as completed Mar 13, 2015
@knsv
Copy link
Collaborator

knsv commented Mar 13, 2015

Good question... we could move the d3 usage and svg rendering out of dagre-d3 into mermaid but keep using dagre. Less risk of browser impact in dagre. Pull requests are still beeing accepted though so the community can fix critical issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants