Closed Bug 372578 Opened 18 years ago Closed 18 years ago

Font size not rendered correctly if html encoding is windows-1250

Categories

(Core :: Layout, defect)

1.8 Branch
x86
Windows XP
defect
Not set
trivial

Tracking

()

RESOLVED DUPLICATE of bug 240870

People

(Reporter: bozo.ivkovic, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2

Click on change the language links on top of the page to see a problem:

The same html code segment doesn't produce 7pt font size page if encoding is "windows-1250":
<meta http-equiv="Content-Type" content="text/html; charset=windows-1250">,
but if charset is "windows-1252", then it produce 7pt font size correctly:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">,


Part of the HTML code that shows the different font sizes if charset differs:

            <h1>O NAMA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:#666666; font-size: 7pt; text-transform: capitalize">
            <a href="index_en.html">
            <span style="font-weight: 200; text-decoration: none">English
            <img border="0" src="eng.gif" width="25" height="17" align="absmiddle"></span></a>
            <a href="index_de.html">
            <span style="font-weight: 200; text-decoration: none">Deutsch
            <img border="0" src="ger.gif" width="25" height="17" align="absmiddle"></span></a>
            <a href="index_it.html">

            <span style="font-weight: 200; text-decoration: none">Italiano
            <img border="0" src="ita.gif" width="25" height="17" align="absmiddle"></span></a>
            <a href="index_fr.html">
            <span style="font-weight: 200; text-decoration: none">Francais
            <img border="0" src="fra.gif" width="25" height="17" align="absmiddle"></span></a>
            </span></h1>


Reproducible: Always

Steps to Reproduce:
1.Click on "Hrvatski" or "O Nama" link on top of the page

Actual Results:  
The size of font for language links (Deutsch, English, Francais) is not 7pt as it should be (as written in HTML code).

Expected Results:  
The size of font should be 7pt instead of 8pt that actualy is.

My OS is Widows XP Pro.
My OS default regional info is "HR" - Croatian.
My default character encoding property in Firefox properties is set up to "Central European - Windows-1250".
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.8 Branch
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.