Open Bug 390441 Opened 13 years ago Updated 13 years ago
Incorrect font size in textarea due to space in lang attribute
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:188.8.131.52) Gecko/20070725 Firefox/184.108.40.206 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:220.127.116.11) Gecko/20070725 Firefox/18.104.22.168 A space in a lang attribute makes Firefox use a wrong font size in lines that do not contain accented characters, e.g. <textarea name="details" rows="5" cols="10" lang="fr "></textarea> Reproducible: Always Steps to Reproduce: 1. Open the HTML file that will be attached. 2. Enter line 1 e line 2 é line 3 in both textareas. Actual Results: The first textarea is incorrect: wrong size of the box, lines without accented characters also have a wrong size. Expected Results: The first textarea should be like the second one.
WFM, Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:22.214.171.124) Gecko/20070725 Firefox/126.96.36.199 Maybe related to bug 390064 somehow?
(In reply to comment #3) > Maybe related to bug 390064 somehow? I don't think so: I can't reproduce this bug.
In fact, the problem is related to the fact that for the Monospace font, I have Monaco in "Western" and Courier in "Other Languages". If I get it to Monaco too, the problem disappears. So, it seems that there are two bugs: 1. "fr " is seen as "other language". 2. The font size depends on the language declared in the source (instead of what the user writes in the textarea).
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:188.8.131.52) Gecko/20070725 Firefox/184.108.40.206 I can't reproduce this bug either.
Setting OS to All since I can reproduce the bug under Linux/ppc after changing the monospace font of "Other Languages".
OS: Mac OS X → All
You need to log in before you can comment on or make changes to this bug.