diff options
| author | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-03-09 12:53:57 +0000 |
|---|---|---|
| committer | milde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2021-03-09 12:53:57 +0000 |
| commit | d8b162c12527422e33fdc3e21b34c2d6c69fc2b7 (patch) | |
| tree | 46d71e7efe633b53ad09676c60a2b26ccd7f6c14 /docutils/test/functional/input | |
| parent | 0e0d1fa82e4c03cbdbc07d7bb2071ebab67f82db (diff) | |
| download | docutils-d8b162c12527422e33fdc3e21b34c2d6c69fc2b7.tar.gz | |
HTML5 writer: Add a `viewport` meta tag to fix rendering in mobile browsers.
The default behaviour of many mobile browsers is to render for a
virtual viewport size and scale.
This breaks CSS styling with the default stylesheets.
git-svn-id: https://svn.code.sf.net/p/docutils/code/trunk@8632 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/test/functional/input')
| -rw-r--r-- | docutils/test/functional/input/data/html5-features.txt | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/docutils/test/functional/input/data/html5-features.txt b/docutils/test/functional/input/data/html5-features.txt index 8f6475b08..b51f7f5d0 100644 --- a/docutils/test/functional/input/data/html5-features.txt +++ b/docutils/test/functional/input/data/html5-features.txt @@ -1,26 +1,19 @@ Changes to the `html4css1` Writer ================================= -* Use only meta keywords recognized by HTML 5. +* Use only meta_ keywords recognized by HTML 5. Add HTML5-compatible meta tags for docinfo items "authors", "date", and "copyright". - .. hint:: - - Use a `viewport meta tag`__ to tell mobile browsers - to use the device-width as viewport. + Add a `viewport meta tag`__ to tell mobile browsers + to use the device-width as viewport. - .. meta:: - :viewport: width=device-width, initial-scale=1 - - __ https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag + __ https://developer.mozilla.org/en-US/docs/Web/HTML/Viewport_meta_tag * Set table column widths with <style="width: ...">, not "width" argument. * Horizontal alignment of table heads with CSS. -* Field lists as styled definition lists. - * Do not drop paragraph objects, use CSS rules to prevent unwanted vertical space. @@ -35,11 +28,12 @@ Changes to the `html4css1` Writer __ https://stackoverflow.com/questions/39547412/same-font-size-for-h1-and-h2-in-article -* Use HTML text-level tags <small>, <s>, <q>, <dfn>, <var>, <samp>, <kbd>, +* Use HTML5 tags <small>, <s>, <q>, <dfn>, <var>, <samp>, <kbd>, <i>, <b>, <u>, <mark>, and <bdi> if a matching class value is found in `inline` and `literal` elements. Use <ins> and <del> if a matching class value is found in `inline`, `literal`, or `container` elements. + (See `text-level semantics`_ and `indicating edits`_.) Field List Rendering -------------------- |
