Go to file
Pablo de Oliveira f152996f11 outputarea.js: Wrap inline SVGs inside an iframe
When multiple inline SVGs are included in a single document,
they share the same parse tree. Therefore, style collisions and
use id collisions can occur and upset the rendering.

This patch wraps each SVG inside an individual iframe, ensuring
that SVG's declarations do not collide.

(The SVG representation is kept as XML and not converted to a binary
format, so I do not think this approach precludes the use of d3.js)

Tested on:
* Chrome Version 29.0.1547.57 Debian 7.1 (217859)
* Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130806 Firefox/17.0 Iceweasel/17.0.8

Closes #1866
2013-10-29 22:19:43 +01:00
docs/source update reveal docs with recent changes 2013-09-13 11:16:04 -07:00
examples test clear_output callback 2013-10-22 19:43:56 -07:00
git-hooks add git hooks for submodules 2013-05-03 13:08:54 -07:00
IPython outputarea.js: Wrap inline SVGs inside an iframe 2013-10-29 22:19:43 +01:00
.gitignore update frontend in MANIFEST and .gitignore 2013-06-27 11:14:09 -07:00
.mailmap updated .mailmap 2013-07-11 10:36:26 -07:00
setup.py Fix renaming scripts with 3 suffix on Python 3 2013-10-29 09:15:55 -07:00
setupbase.py Fix renaming scripts 2013-10-29 09:15:55 -07:00