Subject: Bug#4224: Mosaic produces poor rendering of nested markup

From: Ian Jackson <[email-masked]>
Date: Wed, 21 Aug 96 18:22 BST

Package: mosaic
Version: 2.7b5-2

See the page
<URL:http://chiark.chu.cam.ac.uk/~ijackson/nested-markup.html> (a copy
of the page and an xwd of the output produced by 2.7b5 on my mono
display is included below).

As you can see:

* <strong> doesn't work correctly inside <var> - it overrides the
italics produced by <var>.

* <var> inside a <code> fails to go back to the ordinary proportional
font from the fixed one produced by <code>.

* <strong> and headings like <h1> fails to work properly with <code>
and <var> elements inside them - the <code> and <var> go back to
ordinary sized not-bold text.

* The typographic markups <i> and <tt> work correctly, as does <em>
inside <code>.

Ian.

<html><head>
<link rev=made href="mailto:[email-masked]%3e">
<title>test page</title>
</head><body>
<h1>testing 1 2 3</h1>
<A href="mailto:[email-masked]%3e">spong</A>
<h1>testing spong</h1>
The <var>var <strong>strong-var</strong> var</var>.<br>
Should be: times italic, times italic bold
<p>
The <code>code <var>var-code</var> code</code>.<br>
Should be: courier, times italic
<p>
The <code>code <em>em-code</em> code</code>.<br>
Should be: courier, courier italic
<p>
The <strong>strong <code>code-strong</code> strong</strong>.<br>
Should be: times bold, courier bold
<p>
The <strong>strong <var>var-strong</var> strong</strong>.<br>
Should be: times bold, times italic bold
<p>
The <tt>tt <i>i-tt</i> tt</tt>.<br>
Should be: courier, courier italic
<p>
The <i>i <tt>tt-i</tt> i</i>.<br>
Should be: times italic, courier italic

<h1>The <code>code</code> and <var>var</var> in the heading</h1>

Should be: large times bold, large courier bold, large times italic bold.

</body></html>