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

Properly render animated SVG in HTML output #2496

Open
raducoravu opened this issue Oct 4, 2016 · 1 comment
Open

Properly render animated SVG in HTML output #2496

raducoravu opened this issue Oct 4, 2016 · 1 comment

Comments

@raducoravu
Copy link
Member

@raducoravu raducoravu commented Oct 4, 2016

If the SVG is animated (it has javascript code adding mouse hover capabilities for example) and it is referenced using "img" in the HTML output, the interaction with the SVG does not work.
So probably all SVGs originally referenced in the DITA topic using the "image" element should be referenced in the HTML output using the "object" element, something like:

<object type="image/svg+xml" data="animated.svg"></object>
@jelovirt jelovirt added this to the 2.4 milestone Oct 4, 2016
@jelovirt jelovirt modified the milestones: 2.4, 3.0 Nov 5, 2016
@jelovirt jelovirt modified the milestones: 3.0, 3.1 Oct 10, 2017
@raducoravu

This comment has been minimized.

Copy link
Member Author

@raducoravu raducoravu commented May 17, 2018

+1 Comment on DITA Users List:

               The <image> tag works fine, however the figure is not "searchable" within the HTML output. 
@infotexture infotexture added this to To do in 3.2 via automation Jun 10, 2018
@infotexture infotexture removed this from the 3.1 milestone Jun 10, 2018
@jelovirt jelovirt removed this from To do in 3.2 Oct 28, 2018
@jelovirt jelovirt added this to To do in 3.3 via automation Oct 28, 2018
@jelovirt jelovirt removed this from To do in 3.3 Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.