diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-10-10 13:19:55 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2019-10-10 13:19:55 +0000 |
| commit | 20bb678f2719ce3a5cd3029862a0d3a56a1e6a44 (patch) | |
| tree | 224f6f59662268b1899669f0316e9dc91aaef27b /docutils/test/functional/input | |
| parent | 41fd0a8dd92a98c5ceaface17e698598a1339e03 (diff) | |
| download | docutils-20bb678f2719ce3a5cd3029862a0d3a56a1e6a44.tar.gz | |
html5 writer: prepare support of <ins> and <del> tags.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8402 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input')
| -rw-r--r-- | docutils/test/functional/input/html5-text-level-tags.txt | 37 | ||||
| -rw-r--r-- | docutils/test/functional/input/standalone_rst_html5.txt | 4 |
2 files changed, 38 insertions, 3 deletions
diff --git a/docutils/test/functional/input/html5-text-level-tags.txt b/docutils/test/functional/input/html5-text-level-tags.txt index 31ab66baa..3196ecb39 100644 --- a/docutils/test/functional/input/html5-text-level-tags.txt +++ b/docutils/test/functional/input/html5-text-level-tags.txt @@ -1,5 +1,5 @@ Text-level semantics -==================== +-------------------- `HTML 5 tags for representation of text-level semantics`__ and their reStructuredText equivalents. @@ -216,9 +216,40 @@ __ https://html.spec.whatwg.org/#text-level-semantics www.simply\ |wbr|\orange\ |wbr|\juice.com +Indicating Edits +---------------- -.. [#attribute-optional] Would gain from support for attributes to inline - roles (title argument). See TODO_ +`HTML tags for representation of edits to the document`__ and their +reStructuredText equivalents. + +__ https://html.spec.whatwg.org/multipage/edits.html + +:ins: + Additions [#attribute-optional]_ + + .. role:: ins + + This text has "always" been here. :ins:`This text has been inserted.` + + .. container:: ins + + This paragraph has been inserted. + + +:del: + Removed content [#attribute-optional]_ + + .. role:: del + + :del:`This text has been deleted`, here is the rest of the paragraph. + + .. container:: del + + This paragraph has been deleted. + + +.. [#attribute-optional] Would gain from support for attributes/arguments + to inline roles. See TODO_ .. [#attribute-required] Requires support for attributes to inline roles to make sense. diff --git a/docutils/test/functional/input/standalone_rst_html5.txt b/docutils/test/functional/input/standalone_rst_html5.txt index 0d5667929..bf97a2dd9 100644 --- a/docutils/test/functional/input/standalone_rst_html5.txt +++ b/docutils/test/functional/input/standalone_rst_html5.txt @@ -5,6 +5,10 @@ .. include:: data/table_complex.txt .. include:: data/list_table.txt .. include:: data/custom_roles.txt + +HTML specific +============= + .. include:: data/svg_images.txt .. include:: data/swf_images.txt .. include:: html5-text-level-tags.txt |
