From 7a21ddf601e29a25e492ba97309d593e6eeff6b4 Mon Sep 17 00:00:00 2001
From: milde unless inline or in figure.
In HTML, An image directive (also clickable -- a hyperlink reference): Image with multiple IDs: A centered image: A left-aligned image: This paragraph might flow around the image.
The specific behavior depends upon the style sheet and
the browser or rendering software used. A right-aligned image: This paragraph might flow around the image.
The specific behavior depends upon the style sheet and
the browser or rendering software used. For inline images see Substitution Definitions. Image size: An image 2 em wide: An image 2 em wide and 15 pixel high: An image occupying 50% of the line width: An image 2 cm high: A figure is an image with a caption and/or a legend. With page-based output
media, figures might float to a different position if this helps the page
layout. is by default an inline element.
The rST "image" directive generates block-level elements
(unless used in a "substitution" directive).
Wrapping in a container enables more advanced CSS styling.
A paragraph as wrapper fits well with Docutils wrapping
inline content in paragraphs by default.
No change for the "html4css1" writer (ensure backwards compatibility).
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8510 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
---
.../functional/expected/standalone_rst_html5.html | 40 +++++++++++-----------
1 file changed, 20 insertions(+), 20 deletions(-)
(limited to 'docutils/test/functional/expected')
diff --git a/docutils/test/functional/expected/standalone_rst_html5.html b/docutils/test/functional/expected/standalone_rst_html5.html
index 86382bac3..3906cd610 100644
--- a/docutils/test/functional/expected/standalone_rst_html5.html
+++ b/docutils/test/functional/expected/standalone_rst_html5.html
@@ -567,31 +567,31 @@ document (a document-wide
2.14.2 Images and Figures
+
+
+
+
+
+
+
+
+
Scalable vector graphics (SVG) images are the only standards-compliable way to include vector graphics in HTML documents. However, they are not supported by all backends/output formats. (E.g., LaTeX supports the @@ -1273,30 +1273,30 @@ deficiencies or require plug-ins (i.e. don't support the <img> are always scaled.
A scaling image (scales with the browser window), occupying 50% of the line width. The viewBox setting in the image file enables auto-scaling also in <object> tags and embedded SVG (if width and hight are set to 100% in the SVG <image> tag).
A fixed-size image in a box 50% wide and 15 pixles high. This image is scaled, if wrapped in an <img> tag but clipped in an <object> tag or within SVG.
A right aligned, scaling image 50% wide and 1.5 em high. (This SVG image keeps the aspect ratio.)
An inline image scaled to a height of 0.8 em.
A scaling image 1 em high, right aligned:
A scaling image 5 mm x 5 mm, centered, with hyperlink reference:
-A fixed-size image in a 4 cm x 2 em box.
A small, fixed-size SVG image with embedded bitmap, The :width: is set to 3 em in the rST source. Does not scale if wrapped in <object> tags.
A scaling SVG image with embedded bitmap, 3 em wide.
Images with extension .swf are placed inside <object> elements. For complete control over display options use raw HTML.
- + +[biohazard.swf]An SWF image in a 4 cm x 2 em box, left aligned.
An inline SWF image scaled to 0.8 em x 0.8 em.