diff options
| author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-04-02 22:11:57 +0000 |
|---|---|---|
| committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-04-02 22:11:57 +0000 |
| commit | 7b48c50aeca520b8f0c0498bec3e8413381c5d42 (patch) | |
| tree | 8c07e5b260d6378dd4c998dc0c6805e0e320f8cd /docutils | |
| parent | 9d49a5e03d0df9b340e1f408e71eb2bc0875d4fd (diff) | |
| download | docutils-7b48c50aeca520b8f0c0498bec3e8413381c5d42.tar.gz | |
added test for image and figure :class: and :figclass: options
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@3156 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils')
| -rw-r--r-- | docutils/test/functional/expected/standalone_rst_html4css1.html | 6 | ||||
| -rw-r--r-- | docutils/test/functional/input/data/standard.txt | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/docutils/test/functional/expected/standalone_rst_html4css1.html b/docutils/test/functional/expected/standalone_rst_html4css1.html index f7db7b852..f9cf0a59b 100644 --- a/docutils/test/functional/expected/standalone_rst_html4css1.html +++ b/docutils/test/functional/expected/standalone_rst_html4css1.html @@ -539,10 +539,10 @@ document (a document-wide <a class="reference" href="#table-of-contents">table o <div class="section" id="images"> <h3><a class="toc-backref" href="#id62" name="images">2.14.2 Images</a></h3> <p>An image directive (also clickable -- a hyperlink reference):</p> -<div class="image image-reference"><a class="reference" href="#directives"><img alt="../../../docs/user/rst/images/title.png" src="../../../docs/user/rst/images/title.png" /></a></div> +<div class="image class1 class2 image-reference"><a class="reference" href="#directives"><img alt="../../../docs/user/rst/images/title.png" class="class1 class2" src="../../../docs/user/rst/images/title.png" /></a></div> <p>A figure directive:</p> -<div class="figure"> -<div class="image"><img alt="reStructuredText, the markup syntax" src="../../../docs/user/rst/images/title.png" /></div> +<div class="figclass1 figclass2 figure"> +<div class="image class1 class2"><img alt="reStructuredText, the markup syntax" class="class1 class2" src="../../../docs/user/rst/images/title.png" /></div> <p class="caption">A figure is an image with a caption and/or a legend:</p> <div class="legend"> <table border="1" class="docutils"> diff --git a/docutils/test/functional/input/data/standard.txt b/docutils/test/functional/input/data/standard.txt index 95f74820c..092a0ae44 100644 --- a/docutils/test/functional/input/data/standard.txt +++ b/docutils/test/functional/input/data/standard.txt @@ -420,11 +420,14 @@ Images An image directive (also clickable -- a hyperlink reference): .. image:: ../../../docs/user/rst/images/title.png + :class: class1 class2 :target: directives_ A figure directive: .. figure:: ../../../docs/user/rst/images/title.png + :figclass: figclass1 figclass2 + :class: class1 class2 :alt: reStructuredText, the markup syntax A figure is an image with a caption and/or a legend: |
