Hi everyone,
I made a test using the Graphviz filter to generate a SVG image, and it
seems there's something wrong with the currently generated markup, which
makes recent Firefox (5.0 and 6.0a) and Chrome (13.0.x) browsers unable to
render anything below the image. The source file is attached, and the
corresponding markup I get is:
<div class="imageblock">
<div class="content">
<object data="diag1.svg" type="image/svg+xml" />
</div>
</div>
<div class="paragraph"><p>This text should correctly appear after the SVG
image.</p></div>
Is there any browser expert here to diagnose the problem?
*Note 1:* the page is correctly rendered under an old Chrome version (Google
Chrome 6.0.472.51 beta)
*Note 2:* under IE8, the SVG is not rendered (small square instead) and the
text below does not appear either. But I don't care about IE stupidities (as
always), I just want standards-compliant browsers to display what's expected
first.
*Note 3:* Firebug and Chrome inspector showed me that while the markup for
the text below the image is present in the source html file, its DOM
representation is absent, and the last node present in the DOM is the
<object> tag.
Thanks in advance,
Lionel
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/asciidoc/-/FX6Cdf84n7YJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.
Graphviz SVG test case
======================
There should be text appearing below the SVG image...
Can you see it?
["graphviz","diag1.svg",format="svg"]
---------------
digraph "diag1" {
rankdir=LR;
node[shape="note"];
a -> b -> c;
};
---------------
This text should correctly appear after the SVG image.