diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-06-30 07:48:12 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-06-30 07:48:12 +0000 |
| commit | 44722a1b837397ac3ec7d70b79fab72ad5c03638 (patch) | |
| tree | 1e0e1f86707cccbd092dafd9f337c957ee1094db /docutils/test/functional/expected/misc_rst_html4css1.html | |
| parent | 02e2a511ed0e7ad6dd4a6956c8a96af5904f4304 (diff) | |
| download | docutils-44722a1b837397ac3ec7d70b79fab72ad5c03638.tar.gz | |
Reorganise functional tests.
Move additional tests for special features or problems
specific to the output format from the "standalone_..."
generic test case to additional tests.
Use unit test instead of functional test for the fix in
r6155 (hyperlink references in substitutions).
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8784 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/expected/misc_rst_html4css1.html')
| -rw-r--r-- | docutils/test/functional/expected/misc_rst_html4css1.html | 62 |
1 files changed, 50 insertions, 12 deletions
diff --git a/docutils/test/functional/expected/misc_rst_html4css1.html b/docutils/test/functional/expected/misc_rst_html4css1.html index dd92ac0d6..b6e94b6e9 100644 --- a/docutils/test/functional/expected/misc_rst_html4css1.html +++ b/docutils/test/functional/expected/misc_rst_html4css1.html @@ -4,22 +4,60 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Docutils 0.18b.dev: http://docutils.sourceforge.net/" /> -<title>link_in_substitution.txt</title> +<title>Additional tests with html4css1</title> <link rel="stylesheet" href="foo&bar.css" type="text/css" /> +<link rel="stylesheet" href="/usr/local/src/docutils-git-svn/docutils/docutils/writers/html4css1/html4css1.css" type="text/css" /> +<link rel="stylesheet" href="/usr/local/src/docutils-git-svn/docutils/docutils/writers/html5_polyglot/math.css" type="text/css" /> </head> <body> -<div class="document"> +<div class="document" id="additional-tests-with-html4css1"> +<h1 class="title">Additional tests with html4css1</h1> - -<p>Test the interaction of transforms.references.Substitutions and -transforms.references.ExternalLinks.</p> -<p><a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> is cool!</p> -<p>There is a preferred alternative:</p> -<p><a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> is cool!</p> -<p>This only works for the case where the entire substitution is a -reference, not when the reference is embedded as part of the -substitution:</p> -<p>unstructured <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> is uncool!</p> +<div class="section" id="section-heading-levels"> +<h1>Section heading levels</h1> +</div> +<div class="section" id="level-1"> +<h1>Level 1</h1> +<p>Nested sections</p> +<div class="section" id="level-2"> +<h2>Level 2</h2> +<p>reach at some level</p> +<div class="section" id="level-3"> +<h3>Level 3</h3> +<p>(depending on the document class and output format)</p> +<div class="section" id="level-4"> +<h4>level 4</h4> +<p>a level</p> +<div class="section" id="level-5"> +<h5>level 5</h5> +<p>that is not supported by the output format.</p> +<div class="section" id="level-6"> +<h6>level 6</h6> +<p>Unsupported in LaTeX and HTML5 +(HTML5 reserves the 1st level for the document title).</p> +<div class="section" id="level-7"> +<h6 class="h7">level 7</h6> +<p>Unsupported in HTML4.</p> +<div class="section" id="level-8"> +<h6 class="h8">level 8</h6> +<p>Unsupported in ODT.</p> +</div> +</div> +</div> +</div> +</div> +</div> +</div> +</div> +<div class="section" id="section-titles-with-inline-markup"> +<span id="references"></span><h1>Section titles with inline markup</h1> +<div class="section" id="emphasized-h2o-x-2-and-references"> +<h2><em>emphasized</em>, H<sub>2</sub>O, <span class="formula"><i>x</i><sup>2</sup></span>, and <a class="reference internal" href="#references">references</a></h2> +</div> +<div class="section" id="substitutions-fail"> +<h2>Substitutions work</h2> +</div> +</div> </div> </body> </html> |
