[docutils:feature-requests] #57 add vh and vw as allowable length units

Günter Milde via Docutils-develop <[email protected]> Wed, 30 Jul 2025 09:23:04 -0000
Newsgroups gmane.text.docutils.devel
Message-ID </p/docutils/feature-requests/57/c4483d112182a9b3a26102d9a47b8d7c20b021f6.feature-requests@docutils.p.sourceforge.net>
This is a multi-part message in MIME format.
--===============8751716699733692627==
Content-Type: multipart/related; boundary="===============5237348995275916242=="

This is a multi-part message in MIME format.
--===============5237348995275916242==
Content-Type: multipart/alternative; boundary="===============3824575554822849046=="
MIME-Version: 1.0

--===============3824575554822849046==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit

- **status**: open-fixed --> closed-fixed
- **Comment**:

The issue is fixed in Docutils 0.22 released 2025-07-29.
Thank you for reporting.



---

**[feature-requests:#57] add vh and vw as allowable length units**

**Status:** closed-fixed
**Group:** Default
**Created:** Fri Oct 13, 2017 09:31 AM UTC by Robin Shannon
**Last Updated:** Tue Oct 01, 2024 07:22 AM UTC
**Owner:** nobody


In css, vh and vw are percentages of the view-window. It would be nice if these were added to the allowable length units (line 225 in parsers/rst/directives/__init__.py). For non html outputs it might make sense to convert them into percentages.


---

Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
--===============3824575554822849046==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit

<div class="markdown_content"><ul>
<li><strong>status</strong>: open-fixed --&gt; closed-fixed</li>
<li><strong>Comment</strong>:</li>
</ul>
<p>The issue is fixed in Docutils 0.22 released 2025-07-29.<br/>
Thank you for reporting.</p>
<hr/>
<p><strong><span><span>[feature-requests:#57]</span></span> add vh and vw as allowable length units</strong></p>
<p><strong>Status:</strong> closed-fixed<br/>
<strong>Group:</strong> Default<br/>
<strong>Created:</strong> Fri Oct 13, 2017 09:31 AM UTC by Robin Shannon<br/>
<strong>Last Updated:</strong> Tue Oct 01, 2024 07:22 AM UTC<br/>
<strong>Owner:</strong> nobody</p>
<p>In css, vh and vw are percentages of the view-window. It would be nice if these were added to the allowable length units (line 225 in parsers/rst/directives/<strong>init</strong>.py). For non html outputs it might make sense to convert them into percentages.</p>
<hr/>
<p>Sent from sourceforge.net because [email protected] is subscribed to <a href="https://sourceforge.net/p/docutils/feature-requests/">https://sourceforge.net/p/docutils/feature-requests/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/docutils/admin/feature-requests/options.">https://sourceforge.net/p/docutils/admin/feature-requests/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>
--===============3824575554822849046==--

--===============5237348995275916242==--


--===============8751716699733692627==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============8751716699733692627==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline