summaryrefslogtreecommitdiff
path: root/docutils/test/functional/input/data
diff options
context:
space:
mode:
Diffstat (limited to 'docutils/test/functional/input/data')
-rw-r--r--docutils/test/functional/input/data/standard.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt
index cfcc6e7f7..140be35c7 100644
--- a/docutils/test/functional/input/data/standard.txt
+++ b/docutils/test/functional/input/data/standard.txt
@@ -485,6 +485,30 @@ A left-aligned figure:
This paragraph might flow around the figure...
+Now widths:
+
+An image 2 em wide:
+
+.. image:: ../../../docs/user/rst/images/biohazard.png
+ :width: 2 em
+
+An image 2 em wide and 30 pixel high:
+
+.. image:: ../../../docs/user/rst/images/biohazard.png
+ :width: 2em
+ :height: 30 px
+
+An image occupying 70% of the line width:
+
+.. image:: ../../../docs/user/rst/images/biohazard.png
+ :width: 70%
+
+An image 3 cm high:
+
+.. image:: ../../../docs/user/rst/images/biohazard.png
+ :height: 3 cm
+
+
Admonitions
```````````