FFox 112.0.2 (64-bit) running in Linux Mint 20.3 Una.
1, Strange formatting of <B> inside <PRE>.
When using the default monospace font inside a <PRE> e… (read more)
FFox 112.0.2 (64-bit) running in Linux Mint 20.3 Una.
1, Strange formatting of <B> inside <PRE>.
When using the default monospace font inside a <PRE> element, adding <B> elements disrupts character spacing.
A screen shot is attached.
"wheat" & "purple" are the colors. They are set in a CSS file.
Here is the source HTML:
<PRE class="white">
// (1/240) sec-per-char +-all-strides-------------------------->
<B class="wheat">24pps</B> // <B class="purple">(Aa______)(Bb______)(Cc______)(Dd______)</B> source pps
<B class="wheat">_hpps(Aa..Dd)</B> // <B class="purple">(A_______)(B_______)(C_______)(D_______)</B> source top hpps
// <B class="purple">(a_______)(b_______)(c_______)(d_______)</B> bottom hpps
<B class="wheat">(AaBbBcCdDd)=60hpps</B> // <B class="purple">(A_-20%)(B_________+60%)(C_-20%)(D_-20%)</B> target top hpps
// <B class="purple">(a_-20%)(b_-20%)(c_-20%)(d_________+60%)</B> bottom hpps
<B class="wheat">]30'1.001htfps</B> // <B class="purple">[A+a___][B+b___][B+c___][C+d___][D+d___]</B> target htfps
// ================ combed</PRE>
<This character spacing disruption is surely a bug.>
<2, Unexpected formatting of bogus <D> element.>
elements to (bogus) <D> elements in the source HTML. The result? The colors were retained and the characters became aligned.>
<What do you think of 1 & 2? Can you test in other browsers -- I can't.>
<Thanks for Your Thoughts,>
Mark.